How to Configure Linux Sendmail

Sendmail is the main Mail Transport Agent, or MTA, that Red Hat Linux uses to deliver messages within the same system or to remote locations. It's known for its scalability, power and compliance to Internet standards such as SMPT. It's easy to configure Sendmail and you'll have total control over most aspects of how the email is handled.

Instructions

    • 1

      Determine if you'll be using SMPT-only sites or UNIX to UNIX copy sites. The default Sendmail file will work for the former. For the latter you'll need to configure Sendmail to make it work.

    • 2

      Use an m4 macro processor to convert the default file. Save the original file before you do any conversions. The default file is /etc/sendmail.cf .

    • 3

      Configure a single computer to act as a mail gateway for all the others in the network if you want the mail to have the name of a single machine. For example, if your company name is Big Joe and you want all email correspondence to come from one computer called bigjoe, configure in Sendmail # sendmail.cw all the aliases for bigjoe like info.bigjoe.com
      # here.

    • 4

      Stop email spam with a configuration in Sendmail and let other mail get through. You'll need to activate Sendmail's default spam-blocking systems. Use makeup to activate your changes to the /etc/mail/access is a database that controls spam mail. Do this by running the makemap hash /etc/mail/access < /etc/mail/access.

    • 5

      Allow certain domains to send mail through your filters by configuring Sendmail to allow the domain to relay mail through to you. Edit the /etc/mail/relay-domains file with the accepted domain name. Then restart Sendmail by typing the service sendmail restart command to put the changes into action.

Related Searches:

Comments

You May Also Like

Related Ads

Featured