How to setup sendmail to send mail out from Fedora Core ??

Tom Spec samag70-ignore at yahoo.ca
Sun Mar 19 21:17:53 UTC 2006


To use your ISP outgoing mail server:

Note: You must have sendmail and sendmail-mc packages
installed.

cd /etc/mail
cp -p sendmail.mc sendmail.mc.`date +%Y-%m-%d-%H%M%S`
vi /etc/mail/sendmail.mc
add the following line:

#########################################
define(`SMART_HOST',`smtp.your.provider')
#########################################

make
service sendmail restart

If your ISP also requires authentication, 

cd /etc/mail
vi access
add the following line:

###############################################################
AuthInfo:smtp.your.provider "U:username" "P:password"
"M:PLAIN"
###############################################################

makemap hash /etc/mail/access.db < /etc/mail/access
service sendmail restart

I don't know if it will work for you, but it did for
me.

Tom





More information about the fedora-list mailing list