Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2010 12:19:28 +0200
From:      Christopher Illies <Christopher.Illies@ki.se>
To:        Vincent Hoffman <vince@unsane.co.uk>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: Sendmail as client via smarthost and ssl
Message-ID:  <F3AFB0E3A0FF1F44833C16C79ED54F724BE42A5C73@KIMSXCLU01.user.ki.se>
In-Reply-To: <4CC9E9A9.2090105@unsane.co.uk>
References:  <F3AFB0E3A0FF1F44833C16C79ED54F724BE42A5C70@KIMSXCLU01.user.ki.se> <4CC98291.8000609@bah.homeip.net> <F3AFB0E3A0FF1F44833C16C79ED54F724BE42A5C71@KIMSXCLU01.user.ki.se>, <4CC9E9A9.2090105@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

________________________________________
From: owner-freebsd-questions@freebsd.org [owner-freebsd-questions@freebsd.=
org] On Behalf Of Vincent Hoffman [vince@unsane.co.uk]
Sent: Thursday, October 28, 2010 11:22 PM
To: freebsd-questions@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"
>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 th=
e
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=3D<christopher.illie=
s@web.de>, ctladdr=3D<chris@muck.ks.se> (1001/1001), delay=3D00:00:00, xdel=
ay=3D00:00:00, mailer=3Drelay, pri=3D30466, relay=3Dsend.ki.se. [130.229.20=
.28], dsn=3D4.0.0, stat=3DDeferred: Name server: send.ki.se.: host name loo=
kup 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 wo=
rks.
Setting up SSL is done by compiling sendmail with sasl, isn't it? Or is the=
re=20
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.

Christopher



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F3AFB0E3A0FF1F44833C16C79ED54F724BE42A5C73>