SLAC ESD Software Engineering Group
Stanford Linear Accelerator Center

Mail Relay Server

SLAC Computing
Software Engineering
Detailed
Unix
 

 

Modified: 21-Feb-2013


 

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

 

    • Make sure sendmail is set to startup and is running on lcls-prod03
      • service sendmail status
      • chkconfig --list sendmail
    • Add the following line to /etc/mail/access
      • 172.27      RELAY
    • Add the following to /etc/mail/relay-domains
      • slac.stanford.edu
    • Restart sendmail services

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