Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2005 10:18:28 +0530
From:      Subhro <subhro.kar@gmail.com>
To:        Per olof Ljungmark <peo@intersonic.se>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: SMTP problems
Message-ID:  <425CA49C.9040901@gmail.com>
In-Reply-To: <425C3E00.5000405@intersonic.se>
References:  <425C1E0F.5030504@gmail.com> <425C3888.7010603@intersonic.se> <425C3A6B.6030706@gmail.com> <425C3E00.5000405@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Per olof Ljungmark wrote:

> Subhro wrote:
>
>>>> authentication failure: cannot connect to Courier authdaemond: No 
>>>> such file or directory
>>>> Apr 13 13:04:52 munich postfix/smtpd[27064]: warning: 
>>>> unknown[59.93.160.227]: SASL LOGIN authentication failed
>>>> Apr 13 13:04:55 munich postfix/smtpd[27064]: lost connection after 
>>>> AUTH from unknown[59.93.160.227]
>>>> Apr 13 13:04:55 munich postfix/smtpd[27064]: disconnect from 
>>>> unknown[59.93.160.227]
>>>
<snip>

>>> Either Postfix is looking in the wrong place or something's fishy 
>>> about the Courier authdaemond. What does the Courier log say?
>>
>>
>>
>> I did not explicitly install courier. Which is the port which I need 
>> to install?
>
> What do you mean then? You said you are "trying to set up a mailserver 
> with virtual mailboxes and SASL authentication for SMTP". Courier IS a 
> mail server (in the ports) suitable for virtual mailboxes. I think you 
> need to provide all the details first, Postfix is an MTA but not a 
> complete mail server.
> The problem above may be better answered on the Postfix list so I 
> suggest you try there as well.
>
I have got cyrus-sasl2 installed from /usr/ports/security and saslauthd 
from /usr/ports/cyrus-sasl-saslauthd

With saslauthd running with sasldb as the authentication method I get

Apr 13 22:43:20 munich postfix/smtpd[83070]: warning: SASL 
authentication failure: no user in db
Apr 13 22:43:20 munich postfix/smtpd[83070]: warning: SASL 
authentication failure: no user in db
Apr 13 22:43:20 munich postfix/smtpd[83070]: warning: SASL 
authentication failure: no secret in database
Apr 13 22:43:20 munich postfix/smtpd[83070]: warning: 
unknown[59.93.160.205]: SASL CRAM-MD5 authentication failed
Apr 13 22:43:21 munich postfix/smtpd[83070]: warning: SASL 
authentication failure: no user in db
Apr 13 22:43:21 munich postfix/smtpd[83070]: warning: SASL 
authentication failure: no user in db
Apr 13 22:43:21 munich postfix/smtpd[83070]: warning: SASL 
authentication failure: Password verification failed
Apr 13 22:43:21 munich postfix/smtpd[83070]: warning: 
unknown[59.93.160.205]: SASL PLAIN authentication failed
Apr 13 22:43:22 munich postfix/smtpd[83070]: warning: SASL 
authentication failure: no user in db
Apr 13 22:43:22 munich postfix/smtpd[83070]: warning: SASL 
authentication failure: no user in db
Apr 13 22:43:22 munich postfix/smtpd[83070]: warning: 
unknown[59.93.160.205]: SASL LOGIN authentication failed
Apr 13 22:43:39 munich postfix/smtpd[83070]: lost connection after AUTH 
from unknown[59.93.160.205]

/usr/local/lib/smtpd.conf looks like

cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd

I would also like to service system accounts along with virtual 
accounts. I would like to know where I am going wrong

Regards
S.



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