Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-21-2006, 11:30 PM   #1
Registered: Jan 2006
Location: North Carolina
Distribution: Ubuntu
Posts: 45

Rep: Reputation: 15
Howto configure sendmail SMARTHOST with authentication??

I need to configure sendmail to use SMART_HOST so my ISP, Earthlink, will not block my SMTP outbound traffic. They told me the name of a SMTP server to use in my define SMART_HOST. However, that SMTP server requires a login. When I configure SMTP on a mail client using that server the authentication is username =, and 'password'. Where do I put that info in the define. The only format I've seen is the one below:

define(`SMART_HOST', '')

How do I configure the login and password?

Jim A

Last edited by jfaberna; 02-21-2006 at 11:40 PM.
Old 02-22-2006, 04:35 PM   #2
Pete M
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
This may help

Read the post carefully as there are 2 options depending on your version of Sendmail

Old 02-22-2006, 05:28 PM   #3
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 165Reputation: 165
Another very good thread (also here) is at
Old 02-22-2006, 10:00 PM   #4
Registered: Jan 2006
Location: North Carolina
Distribution: Ubuntu
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks, that worked great!

I have the latest version of sendmail, so the second part of:
worked for me. Just adding the line to /etc/mail/access and rebuilding the DB solved the problem.

Thanks so much for all the help from everyone. Some of the mail things are a bitch to setup.

Thanks again.

Jim A.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 08:55 AM
Howto configure Sendmail @ngelot Linux - Newbie 9 09-26-2006 07:56 AM
sendmail: deliver every mail directly to the given smarthost TobyD Linux - Networking 3 02-18-2005 06:52 AM
Yet another Sendmail thread... SMARTHOST not working mychl Linux - Networking 1 03-15-2004 09:32 AM
Sendmail - Bounced messages returned to SmartHost Postmaster not locally... Vince0000 Linux - General 0 12-02-2003 02:54 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration