ciphermethod.com

Forward Mail to SMTP Server

by on May.02, 2011, under Linux

1. Edit/create the following options in /etc/mail/sendmail.mc:
define(`SMART_HOST’, `your-smtp-server.com’)
FEATURE(authinfo)dnl

2. Edit/create /etc/mail/authinfo and add the following line:
AuthInfo:<your-smtp-server> "U:<your-smtp-user>" "P:<your-smtp-password>" "M:DIGEST-MD5"

3. Build new sendmail.cf and authinfo.db
make -C /etc/mail

4. Restart sendmail:
/etc/init.d/sendmail restart

5. Send test email message
mail user@host.com
Optional test: sendmail -bv user@host.com

No comments for this entry yet...

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

But Wait, There's More!

A few highly recommended friends...