SLAC ESD Software Engineering Group
Stanford Linear Accelerator Center

Mail Relay Server

SLAC Computing
Software Engineering
Detailed
Unix
 

 

Modified: 11-Jul-2014


 

We have set up a mail relay server on lcls-prod03

 

    • Put mailbox_server in /etc/taylor.opts
      • This will add the following to the /etc/mail/sendmail.cf file
        • DSsmtpunix.slac.stanford.edu
    • Add the following line to /etc/mail/access
      • 172.27      RELAY
    • Add the following to /etc/mail/relay-domains
      • slac.stanford.edu

On our Private servers:

  • The "DS" line in /etc/mail/sendmail.cf need to be changed to "DSlcls-prod03.slac.stanford.edu"
    • This sets up the Smart Relay to lcls-prod03
    • sed -i s/^DS$/DSlcls-prod03.slac.stanford.edu/g /etc/mail/sendmail.cf
  • Restart sendmail services

 

How to send mail from our PROD servers:

  • Just send email the normal way as all mail will get relayed to lcls-prod03
    • brobeck@slac.stanford.edu
    • controls-system-admins@slac.stanford.edu

 

 

 

 


[SLAC ESD Software Engineering Group][ SLAC Home Page]


Author: Brobeck

Modified: 21-Feb-2013