Hi again.
Thanks for your answer, 
I don't run postfix in a jail.

[EMAIL PROTECTED] postfix]# grep smtpd master.cf
smtp      inet  n       -       n       -       -       smtpd
587      inet  n       -       n       -       -       smtpd
#submission inet n       -       n       -       -       smtpd
#  -o smtpd_enforce_tls=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
smtps     inet  n       -       n       -       -       smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject

Also I don't want to use sasldb for my authentication; my user information
is in mysql database.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mouss
Sent: Saturday, November 15, 2008 14:02
To: postfix-users@postfix.org
Subject: Re: smtp authentication failure

Nasser Heidari wrote:
> Hello,
> 
> I'm running postfix on Centos 5.2 with virtual domain and users. 
> 
> I used http://high5.net/howto/ as a reference.
> 
> I can send and receive email with webmail , and receive email with mail
> client but I can't send email .
> 
> Here is maillog error :
> 
>  
> 
> Nov 15 13:05:48 prmail postfix/smtpd[13408]: connect from
> unknown[192.168.18.214]
> 
> Nov 15 13:05:48 prmail pop3d: LOGIN, [EMAIL PROTECTED],
> ip=[::ffff:192.168.18.214], port=[3318]
> 
> Nov 15 13:05:48 prmail postfix/smtpd[13408]: warning: SASL authentication
> problem: unable to open Berkeley db /etc/sasldb2: No such file or
directory
> 

cyrus sasl cannot find /etc/sasldb2. either the file does not exist, or 
you are running smtpd chrooted and the the file isn't found in the 
chroot cage.

The output of the following commands will show more infos:
# grep smtpd master.cf
# ls -l /etc/sasldb2
# ls -l /var/spool/postfix/etc/sasldb2


> [snip]
> (I test both pam authentication and authdaemond ).
> 

moving from one config to the other only creates problems (mixing 
options... etc).

If your authdaemon is working, it is easier to use it.


>  
> [snip]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to