Tuesday, June 11, 2013

How To Configure Sendmail In Linux

How To Configure Sendmail In Linux


Following procedure also applies if you are getting stat=Deferred: connection timed out

1)- First of all try to ping email server you are going to used to send email.

$ ping email.mycompany.com

2)- If its working then fine go ahead to step 3, else ask your network administrator to
provide you DNS addresses (primary and secondary).
    2.1- Go to linux GUI System > Administration > Networking > Provide Primary and Secondary DNS > Save
                        OR
    2.1- from root user
        # vi /etc/resolv.conf
          nameserver 10.0.1.41 -- provide your own IPS
          nameserver 10.0.1.41 -- provide your own IPS
        # service network restart
3)- From root user
    3.1)- # vi /etc/mail/submit.mc
    here, change the last line from

    FEATURE(`msp', `[127.0.0.1]')dnl

    to

    FEATURE(`msp', `[email.mycompany.com]', `MSA')dnl

4)- vi /etc/mail/access
    add following line at end
    email.mycompany.com         RELAY
   
5)-       # make
    # make install
    # make restart

0 comments:

Post a Comment