Sendmail as client via smarthost and ssl

Christopher Illies Christopher.Illies at
Fri Oct 29 10:19:58 UTC 2010

From: owner-freebsd-questions at [owner-freebsd-questions at] On Behalf Of Vincent Hoffman [vince at]
Sent: Thursday, October 28, 2010 11:22 PM
To: freebsd-questions at
Subject: Re: Sendmail as client via smarthost and ssl

>On 28/10/2010 15:25, Christopher Illies wrote:
>>> 2010-10-28 14:49, Christopher Illies:
>>>> To send email from my computer at work I need to send through a
>>>> smarthost. In the past I had added the line:
>>>> define(`SMART_HOST', `[]')
>>> Brackets are only needed for ipaddresses.


>All I had to do for was add
> "U:smmsp" "I:username" "P:PassWord" "M:PLAIN"
>to /etc/mail/access
>and the smarthost directive.

I added "U:smmsp" and "M:PLAIN" to my /etc/mail/auth/client-info file, but
that did not change anything. When I left out the square brackets around the
server name in that file, I got another error message in /val/log/maillog:

Oct 29 12:05:22 muck sm-mta[42252]: o9TA5Mtt042250: to=<christopher.illies at>, ctladdr=<chris at> (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30466, [], dsn=4.0.0, stat=Deferred: Name server: host name lookup failure


>(I also set up SSL separately as i'm using plain method but you seem to
>have that covered.)

Could you explain this a bit further, please? I am not clear on how this works.
Setting up SSL is done by compiling sendmail with sasl, isn't it? Or is there 
something else to do? Also, the term "plain method" confuses me: This does
not refer to whether or not you are using ssl?

Sorry to bother you with all these questions.


More information about the freebsd-questions mailing list