Sendmail as client via smarthost and ssl
Christopher.Illies at ki.se
Fri Oct 29 10:19:58 UTC 2010
From: owner-freebsd-questions at freebsd.org [owner-freebsd-questions at freebsd.org] On Behalf Of Vincent Hoffman [vince at unsane.co.uk]
Sent: Thursday, October 28, 2010 11:22 PM
To: freebsd-questions at freebsd.org
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', `[smpt.ki.se]')
>>> Brackets are only needed for ipaddresses.
>All I had to do for was add
>AuthInfo:relay.isp.net "U:smmsp" "I:username" "P:PassWord" "M:PLAIN"
>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: o9TA5Mtt042250: to=<christopher.illies at web.de>, ctladdr=<chris at muck.ks.se> (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30466, relay=send.ki.se. [188.8.131.52], dsn=4.0.0, stat=Deferred: Name server: send.ki.se.: 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