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.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to