Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Oct 2004 15:56:33 +0200
From:      Andreas =?iso-8859-1?Q?Wider=F8e?= Andersen <andreas@wideroe.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Mail auth and FreeBSD/Sendmail
Message-ID:  <6.1.2.0.2.20041006154926.04480868@malibu.wideroe.net>
In-Reply-To: <416291F4.5040005@grokking.org>
References:  <6.1.2.0.2.20041005133806.02180e20@malibu.wideroe.net> <416291F4.5040005@grokking.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 14:22 05.10.2004, Ed Budd wrote:
>Andreas Wider=F8e Andersen wrote:
>>Hi all,
>>I'm running FreeBSD 4.7 Stable on one of my servers and Sendmail 8.12.10.=
=20
>>I'm trying to get mail auth to work so that my users can send mail (smtp=
=20
>>port 25) through this server no matter which net they are connected to. I=
=20
>>have installed cyrus-sasl-1.5.28_3 and followed the description given on=
=20
>>this page=20
>>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html.=
=20
>>Everything seems to work and all tests give the expected results.
>>I have also looked at this page=20
>>http://www.sendmail.org/~ca/email/auth.html and done the initial test:
>>#telnet localhost 25
>>Trying ::1...
>>Trying 127.0.0.1...
>>Connected to localhost.
>>Escape character is '^]'.
>>220 my.server.com ESMTP Sendmail 8.12.10/8.12.10; Tue, 5 Oct 2004=20
>>13:31:13 +0200 (CEST)
>>ehlo localhost
>>250-my.server.com Hello localhost [127.0.0.1], pleased to meet you
>>250-ENHANCEDSTATUSCODES
>>250-PIPELINING
>>250-8BITMIME
>>250-SIZE
>>250-DSN
>>250-ETRN
>>250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN
>>250-DELIVERBY
>>250 HELP
>>When I'm testing sending mail through this server (as smtp server) I use=
=20
>>Eudora 6.1 from my WinXP PC. I always get relaying denied and it doesn't=
=20
>>seem to check username/password.
>>Here's what my logfile and Eudora log says:
>>Oct  5 13:35:18 myserver sendmail[59394]: i95BZIow059394:=20
>>ruleset=3Dcheck_rcpt, arg1=3D<andreas@xxxxx.no>,=20
>>relay=3Dmy.ip.address.domain.com [x.x.x.x], reject=3D550 5.7.1=20
>><andreas@xxxxx.no>... Relaying denied. Proper authentication required.
>>I would be very grateful for any help here. I'm stuck and I don't know=20
>>what to check next.
>
>Try adding 'PLAIN' to the list of allowed authentications in your sendmail=
=20
>*.mc file, rebuild, and restart sendmail. Then test to see that it's=20
>advertised like you did above...
>
>Hope that helps,
>
>
>EB


I have now followed the instructions on this page=20
(http://www.puresimplicity.net/~hemi/freebsd/sendmail.html) exactly and the=
=20
ssl connection to my pop/imap server works fine, but still I get the same=20
error below when sending mail:

Oct  6 15:06:07 server sendmail[97165]: i96D66fM097165:=20
from=3D<andreas@wideroe.net>, size=3D0, class=3D0, nrcpts=3D0, proto=3DESMTP=
,=20
daemon=3DMTA, relay=3Dmy.ip.hostname.com [80.202.145.187]
Oct  6 15:06:16 server sendmail[97173]: STARTTLS=3Dserver,=20
relay=3Dmy.ip.host.com [my.ip], version=3DTLSv1/SSLv3, verify=3DNO,=20
cipher=3DEDH-DSS-DES-CBC3-SHA, bits=3D168/168
Oct  6 15:06:17 server sendmail[97173]: i96D6GfM097173: ruleset=3Dcheck_rcpt=
,=20
arg1=3D<andreas@eunet.no>, relay=3Dmy.ip.hostname.com [my.ip], reject=3D550=
 5.7.1=20
<andreas@eunet.no>... Relaying denied. Proper authentication

When I issue an ehlo localhost on port 25 of the smtp server I get this:

250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH PLAIN LOGIN
250-STARTTLS
250-DELIVERBY
250 HELP

Now I'm really lost...

Any help?

Thanks!
Andreas


---

Andreas Wideroe Andersen <andreas@wideroe.net>
Mobile: (+47) 90 92 61 21
http://www.filmshooting.com=20



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