Greetings all, I figured I'd just post this to the listserv, so it's archived for others to search on.
If you ever want to change sendmail to use an external SMTP so that RT can just be configured to use sendmail, and the rest will flow easily after... ***** Change directory to where your sendmail configuration files (sendmail.mc and sendmail.cf) are located, usually /etc/mail/. Create a safe subdirectory (suggested name auth/): # mkdir auth # chmod 700 auth Create a file<http://www.linuxforums.org/forum/debian-linux-help/32459-how-set-up-sendmail-use-external-smtp.html#>with your authentication information (suggested name auth/client-info): #cd auth #touch client-info INSIDE THAT FILE PLACE THE FOLLOWING: AuthInfo:your.isp.net "U:root" "I:user" "Password" filling in your ISP's mail server, your user name, and your password. (Note: Earthlink, and perhaps other ISP's, requires your full e-mail address as a user name.) Generate the authentication database<http://www.linuxforums.org/forum/debian-linux-help/32459-how-set-up-sendmail-use-external-smtp.html#>and make both files readable only by root: # makemap hash client-info < client-info # chmod 600 client-info* # cd .. Add the following lines to your sendmail.mc file, filling in your ISP's mail server: define(`SMART_HOST',`your.isp.net')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl Generate sendmail.cf: # m4 sendmail.mc > sendmail.cf Restart the sendmail daemon, e.g., (this depends on your OS, this works for redhat and CentOS): # service sendmail restart **** This was from http://www.linuxforums.org/forum/debian-linux-help/32459-how-set-up-sendmail-use-external-smtp.html but I thought I'd copy/paste should the resource not exist in the future. -- Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: (807) 766-7331 Email: [email protected]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
