Configuring SMTP Authentication Client in Sendmail

2 Comments

If you want to relay your Sendmail at your ISP mail relay server which need SMTP authentication, you may follow the steps below: -

1. Find the DS in /etc/mail/sendmail.cf and change it as below: -

DSmail.example.com

2. Put the following line in /etc/mail/access file in one line: -

AuthInfo:mail.example.com "U:user@example.com" "I:user@example.com" "P:password" "R:example.com" "M:LOGIN PLAIN"

3. Then, restart your Sendmail service as below: -

service sendmail restart

4. Finally, you can monitor your maillog using the command below: -

tail -f /var/log/maillog

Note: The above was tested on Sendmail 8.13.5-3 in Fedora Core 5

If you found these helpful, please contribute to help:

2 Comments (+add yours?)

  1. Simon
    Jun 27, 2007 @ 23:13:29

    cool, i have tried this and it’s working. good job bro..keep it up.

  2. wingloon
    Jun 27, 2007 @ 23:24:02

    hehehe…i am planning to put all my previous works here, :D

Leave a Reply