Configure sendmail to reject all incomming mail?

how would i configure sendmail on solaris8 to reject or trash all incomming email and still maintain capability to send email?

I found this thread useful and wonder why it some of this information isn't more readily available. Webservers shouldn't be running at mailservers and so the sendmail daemon doesn't boot up. Mail at cron and through .cgi/perl scripts utilize the sendmail on the servers I manage.
BUT -- in the last six months I find I'm having to reconfigure the sendmail.cf to find a way around an email configuration problem in our networks somewhere.
I've normally used the smart relay without problem. Now, even though I have the "connect" for mail going out to several different mail relays on the domain, the mail does not get delivered. I've tried to trace it down to one relay and have been unsuccessful.
The solution, and I don't understand it, is that we've setup a mail relay on a windows box in our domain and I've edited the sendmail.cf to use that mail relay instead of the smart relay.
In addition, and this is really strange to me, but I'm not a sendmail guru -- we're masquerading as a hotmail.com
If we don't masquerade as hotmail.com and use our own relay, the mail receipients don't receive mail occasionally. Both of these have to be in place for it to work successfully.
I think someone, somewhere, has a rule setup incorrectly, but it's beyond the relays we normally default to. With the mail relay setup in our domain, it accepts the mail because it's a relay, but what kind of rule would they possibly setup that accepts us masquerading as someone else???
Can anyone help explain this?
I personally would love to see some documentation on how an SA could setup sendmail.cf for their webservers as outgoing and have it RIGHT.
Thanks for listening.... feel free to say something. :-)

Similar Messages

  • Can Mail block all incoming mail from a particular domain?

    Can Mail be configured to block all incoming mail from a particular domain? I'd rather it be sent to the bit bucket than sent to a spam folder.

    Yes, go in to your rules and set it up for a folder of your choosing.  Click on the mail menu item then select preferences and then click on rules.

  • How to unblock all incoming mail in Safari

    Hello fellow Mac friends;
    I'm looking for a way to UNBLOCK ALL incoming mail  in Safari...
    I did blocked a few by mistake and I wish to Unblock all...
    Any way to disable or/edit the complete list…?
    I have no parentally blocked sites in the “Parents Controls”, since I have no kids and I'm the only user in this computer...
    I've been looking for a week,  how to I edit the list of Blocked incoming mail addresses without success...

    Hi Neville;
    Yes is:
    http://www.brainlink.com/services/
    Thank you I will call them and ask...
    (I should have seen this sequence, but I'm falling behind in my "cyber-know-how" this days...
    too much time playing my guitar and not reading all the Mac Computer Mags, I've used to subscribe,during the 80's...)
    be well and thanks much for the help...
    alex

  • HT1277 What is my MAC incoming mail server? MAC Book erased all incoming mail servers

    What is my MAC incoming mail server? MAC Book erased all incoming mail servers

    You need to ask whoever your email service provider is.
    Regards.

  • All incoming mails are disapeared

    at mail in icloud all incoming mails are not exist anymore. under  icloud i can see, that the icloud server does not answered. activad and deactivate my Mac does not help. Under account details is a wrong username (this name exist in my adressbook) shown. I have corrected, but no success.

    I see no replies - did anyone ever help you figure this out?  Mine is doing the same since upgrading and I am still dealing with it 2 months later. I'm desperate to stop the flagging!  Thanks for any info -

  • BB reject all incoming phone calls

    Hey
    I have a problem my Blackberry started to rejecting all incoming phone calls from numbers which i dont have in my phone book. Any solution ?

    Open Settings then tap FaceTime and turn iPhone Cellular Calls to off.

  • My galaxy s5 is rejecting all incoming calls

    when people call me it says the user has blocked all incoming calls, or something like that. i have turned blocking mode off and i turned off call rejection for the call settings. i dont know what else to try

        Hello scrpnsub, let's get to the bottom of this together! Can you dial *73 on the device and you will hear a few beeps. Hang up the call after the beeps and then test receiving a call. Are you able to make outbound calls? Keep us posted!
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • Duplicates of all incoming mail!

    I have a two week old G4 iBook running Tiger. Incoming mail just started to duplicate itself. New mail shows up in the "In Box" and less than a minute later a duplicate of the message also shows up in the "In Box". This is not happening with my G5 which is picking up mail from the same ISP. Help!

    You appear to have indeed set up the same mail account twice in Mail (I wonder why), so it should be no surprise that you’re receiving every message twice...
    I believe the User Name in the case of .Mac should be the part of the email address that precedes the @ sign, but what you’ve described would indicate that .Mac accepts the full email address there as well.
    You should delete one of the two mail accounts and leave the other alone. What does Mail show in Preferences > Accounts > Account Information > Account Type for each of them? I ask because deleting a POP account would cause the messages stored in that account’s mailboxes to be deleted from the computer as well...

  • Exchange server 2013 content filter rejecting all incoming messages as spam.

    Hello All,
    Today out of the blue our Exchange server 2013 install started rejecting any inbound message as spam. It first started with only one user not being able to receive any mail because of this anomaly and
    then after 12 or so hours all users were getting their mail rejected.
    I currently had the threshold set to 5 on external messages only. Internal is disabled.
    I have tried setting the threshold to 8 and 9, and rebooted the server after restarting
    all services just to make sure everything reset. Even dished out a IISRESET just in case. Whatever I tried still does not work.
    The install is a stand alone server facing the outside world (no edge server) living
    in a 2 domain controller environment with a share point farm thrown in (ESXI5.5 environment)
    Everything works just fine and dandy if I disable the content filter all together. Not seeing anything in the application logs out of the ordinary. Everything was working great and the same settings I used on this server worked well for a totally different
    server that runs just fine.
    Any ideas?
    fr0stsp1re

    RunspaceId                            : 87157b62-a061-436b-8fb9-dab446be3473
    Name                                  : ContentFilterConfig
    RejectionResponse                     : Message rejected as spam by Content Filtering.
    OutlookEmailPostmarkValidationEnabled : True
    BypassedRecipients                    : {}
    QuarantineMailbox                     :
    SCLRejectThreshold                    : 6
    SCLRejectEnabled                      : False
    SCLDeleteThreshold                    : 9
    SCLDeleteEnabled                      : False
    SCLQuarantineThreshold                : 9
    SCLQuarantineEnabled                  : False
    BypassedSenders                       : {}
    BypassedSenderDomains                 : {}
    Enabled                               : False
    ExternalMailEnabled                   : True
    InternalMailEnabled                   : False
    AdminDisplayName                      :
    ExchangeVersion                       : 0.1 (8.0.535.0)
    DistinguishedName                     : CN=ContentFilterConfig,CN=Message Hygiene,CN=Transport Settings,CN=Smith And
                                            Smith,CN=Microsoft
                                            Exchange,CN=Services,CN=Configuration,DC=XXXXXXXXXXX,DC=com
    Identity                              : ContentFilterConfig
    Guid                                  : 8f86e0b6-da37-42d3-b7cd-b9635b7db271
    ObjectCategory                        : XXXXXXXXXXXXXXXXXXX/Configuration/Schema/ms-Exch-Message-Hygiene-Conten
                                            t-Filter-Config
    ObjectClass                           : {top, msExchAgent, msExchMessageHygieneContentFilterConfig}
    WhenChanged                           : 5/28/2014 12:15:21 PM
    WhenCreated                           : 5/1/2014 4:17:55 PM
    WhenChangedUTC                        : 5/28/2014 7:15:21 PM
    WhenCreatedUTC                        : 5/1/2014 11:17:55 PM
    OrganizationId                        :
    OriginatingServer                     : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    IsValid                               : True
    ObjectState                           : Unchanged
     This is what it is set at now. Completely disabled. It worked fine for quite some time filtering out spam pretty nicely then one day everyone's mail was being rejected as spam by the content filtering agent. I know of someone else who also had this
    issue except their box was running 2008R2 with EX2007. They too disabled the content filter as it was giving them too many problems with mail being rejected.
    fr0stsp1re

  • How to configure sendmail to act as a mail gateway and relay mails???

    I installed the Solaris (Intel) v.8 (10/01) in my external network. Now, I want to configure it as a mail server and as a mail gateway between my internal mail host and itself.
    I think I have read all documentation which comes in Answerbook2 about mail gateway.
    I added some aliases to the aliases file in /etc/mail and executed the newaliases command.
    The aliases pointed to my mail host which is in my internal network.
    I included the IP address and the name of the mail host in the /etc/hosts
    I can telnet the internal mail host and I can connect to it and verify the internal account thru:
    mconnect "mail host"
    vrfy "account"
    But when I do
    /usr/lib/sendmail -v "alias" < /dev/null
    it translates the alias to the account in the internal mail host but it returns to me
    "account" ... User Unknow.
    When I try to use the mail server from one client in my internal network (I configure my mail client to use as Outgoing server the server in the external network) to send mails I receive the error:
    550 5.7.1 Relaying denied. IP name lookup failed
    I create a file called "access" and create the binary called "access.db" (makemap hash access < access), but it doesn�t work.
    I think that maybe the sendmail.cf doesn�t recognize the access file but I�m not sure. I have worked with other "sendmail" version under others OS (RedHat Linux) but the files are quite differents.
    Would you please help me?

    I found the way to do it and this is the procedure
    How to implement the mail gateway on Solaris 5.8
    You have to make changes in 3 different places
    1.- Files in /etc/mail (sendmail files)
    2.- /etc/hosts file
    3.- DNS files and /etc/nsswitch.conf file
    1.- Files in /etc/mail
    1.1.- Backup your existent sendmail.cf file and copy the main.cf file as
    sendmail.cf (cp /etc/mail/main.cf /etc/mail/sendmail.cf)
    1.2.- If you want to accept mail for entire domain in your mail gateway (your mail
    server is an MX record in the DNS files), you�ll have to modify the sendmail.cf
    file editing the line Dj as Dj$m or if you want to accept just mail for your specific
    server you must put Dj$w.$m (be carefull to avoid spaces).
    1.3.- Change in the sendmail.cf file the DM parameter adding ddn. It should
    looks like DMddn (no spaces anywhere).
    1.4.- Insert a line for the Dm parameter, which should include your domain
    (ex.:Dmyourdomain.com, be care with spaces). If you have defined multiple
    domains, add a line with Cm and put the domains one after other separated by
    spaces. You have to put a space between Cm and the first domain
    1.5.- Add the following rule in the ruleset, don�t use spaces, use tabs as
    separator:
    R$*<@$*.$+>$* $#ddn $@ $2.$3 $:$1<@$2.$3>$4 [email protected]
    1.6.- If you find the following rule in the ruleset you should comment out it.
    R$*<@$*.$+>$* $#$M $@$R $:$1<@$2.$3>$4 [email protected]
    1.7.- If your host is receiving mail under different names for "local" delivery,
    often you need to define those hosts in a "Cw" line and put the names one after
    other separated by spaces. You have to put a space between Cw and the first
    name.
    1.8.- If you want to relay mails to different domains or subnets you can include
    them into the file relay-domains. Each record in this file is a domain name (like
    sun.com) or a subnet (like 192.0.0., be carefull with last dot).
    1.9.- To test your sendmail service you have to stop and start it
    (/etc/init.d/sendmail stop; /etc/init.d/sendmail start) and you can do the following:
    1.9.1- To get basic debug information type:
    /usr/lib/sendmail -bt -d0.1 < /dev/null
    1.9.2- To test the conection:
    mconnect "mail server"
    vrfy "any alias"
    1.9.3- To test the alias you inserted into aliases file (remember run newaliases
    command after insert them).
    /usr/lib/sendmail -v "any alias" </dev/null
    2.- The /etc/hosts file:
    2.1.- You must include in this file the IP address server, its nickname
    (servername), its extended nickname (servername.domain), the word
    "mailhost", the word "mailhost" and your domain (mailhost.domain) and the
    word loghost.
    2.2.- If you wish you can include all the servers that you want in the file. You
    should do this is to avoid the use of DNS service translation.
    2.3.- Check the DNS service thru nslookup servername (ex. Nslookup
    sun.com), then test nslookup to your mail gateway
    3.- DNS files and /etc/nsswitch.conf file
    3.1.- Include a MX record for your mail gateway as the mail host for the entire
    domain and verify that each record into the zone files include the MX record.
    These files are in your DNS server (nameserver).
    3.2.- Check your /etc/nsswitch.conf file. The record host must include files and
    dns. It must look like
    hosts: files dns

  • Mail service rejecting all external mail

    I am running Snow Leopard Server 10.6.2 and when I began setting up the mail services I was able to get internal mail working just fine, however, any messages sent from external sources are rejected. The sender receives a permanent delivery failure message: The error that the other server returned was: 550 550 5.1.1 <emailaddress>: Recipient address rejected: undeliverable address: User unknown (state 14). I should note that I am using DynDNS's Mailhop Relay service, but that appears to be working normally as I can see the connections from the mailhop servers in my SMTP log.
    I have tried disabling greylisting as posted in other threads to no effect. I have disabled filtering of any kind, still to no effect. At this point, I'm not sure what else to try, as at this point I'm in a little over my head.
    Any assistance would be most appreciated, thanks.

    I finally figured it out. My SMTP security settings were being mis-reported by Server Admin. The server was requiring authentication from approved mail servers when it wasn't supposed to.

  • How do I change the font size for all incoming mail in my e-mail?

    For whatever reason the size of the font in my e-mail inbox keeps decreasing - I can barely read it! edit

    See this:
    https://support.mozilla.com/en-US/kb/Page+Zoom

  • Smtp relay for incoming mails

    Hi,
    I want to relay mails from smtp A  to smtp B.
    Smtp A is register in the dns as smtpAdressA MX record so when users mail to adress1@smtpAdressA the mail is being recieve at smtp A but how do i relay it to smtp B ?
    I added adomain in smtp A with the ip adress of smtp B and configure it to relay all incoming mails but still it wont relay to smtp B.
    thanks 

    got it working it was the fire wall on smtp B server.

  • How to block incoming mail with internal domain as sender

    Hi all,
    Ironport accept incoming mail to internal domains defined in the RAT without verify the sender domain is the same internal domain.
    To avoid this I have used a message filter to drop those mails. I can't use the bounce command to avoid to be considered a spammer.
    Is there a way to reject those mails with a 5xx error message?
    Thanks in advance.
    Regards,
    Andrea

    Securegroup,
    jloehler is absolutely correct, when I configure appliances (personally I use a 1 listener config) I set the Default Mailflow Policy to Use the Exception Table ("On") and insure that all incoming mail policies (anything with the ACCEPT action) is set to "Use Default" for this parameter. Then I double check to insure that the RELAY policy is set to "Off" because you don't want to reject outbound messages due to the Exception Table.
    Once I've verified that the RELAY is off and Inbound policies are "On" I then populate my exception table with all the internal domains and specify the reject action. Now a quick take away is that the Exception Table only performs the rejection based on the SMTP MAIL FROM not the "From:" header internal to the message itself.
    Now with all that said it never fails that there is some internal group that uses 3rd party marketing which spoofs the internal domains so I usually create a new incoming mail flow policy with the Exception Table turned "Off" and create a Sender Group call DOMAINSPOOFLIST which are IPs and Domain names that I allow to spoof internal e-mail addresses with the new mail policy assigned to it.
    And that's it.
    Sincerely,
    Jay Bivens
    IronPort Systems

  • Block incoming mail (spam) overnight?

    G5   Mac OS X (10.4.6)  
    I've noticed that 95% of my spam is delivered to me between 12 am and 8 am. Since friends and collegues rarely send me email during those hours, I was wondering if there is a way to disable Mail during those hours and thereby block the emails from ever making it to my inbox.
    I've looked through rules and tried unchecking the "enable this account" box in Preferences but have not found anything that works. Any ideas?
    Best,
    Lea

    Securegroup,
    jloehler is absolutely correct, when I configure appliances (personally I use a 1 listener config) I set the Default Mailflow Policy to Use the Exception Table ("On") and insure that all incoming mail policies (anything with the ACCEPT action) is set to "Use Default" for this parameter. Then I double check to insure that the RELAY policy is set to "Off" because you don't want to reject outbound messages due to the Exception Table.
    Once I've verified that the RELAY is off and Inbound policies are "On" I then populate my exception table with all the internal domains and specify the reject action. Now a quick take away is that the Exception Table only performs the rejection based on the SMTP MAIL FROM not the "From:" header internal to the message itself.
    Now with all that said it never fails that there is some internal group that uses 3rd party marketing which spoofs the internal domains so I usually create a new incoming mail flow policy with the Exception Table turned "Off" and create a Sender Group call DOMAINSPOOFLIST which are IPs and Domain names that I allow to spoof internal e-mail addresses with the new mail policy assigned to it.
    And that's it.
    Sincerely,
    Jay Bivens
    IronPort Systems

Maybe you are looking for