Merhabalar,

http://enc.com.au/myscripts/postfixmysql.html

The problem here is if you run smtpd in a chroot environment then it will
not find the sasldb file. If you try to authenticate postfix will give an
error "warning: SASL authentication problem: unable to open Berkeley db
/etc/sasldb2: No such file or directory". The problem here is that you have
a /etc/sasldb2 file, but postfix is looking for a
/var/spool/postfix/etc/sasldb2 file.

The two solutions for this problem are to either not run postfix in a chroot
environment (see a previous section on how to stop it) or get that sasldb2
file into the correct directory. You can put it right by copying it. You
will also need to make sure the user that smtpd runs as can read the file.
Basitce, postfix chrooted calistigi icin sasldb2 dosyasini /etc altinda
degil de, /var/spool/postfix/etc altinda ariyor olabilir demisler.



2009/1/19 c...@gri <[email protected]>

> mail göndermeye çalıştığımda (TSL çalışmıyor açık yolluyorum)
> #-----------------
> Jan 19 19:49:52 app postfix/smtpd[10780]: connect from
> unknown[85.101.255.153]
> Jan 19 19:49:52 app postfix/smtpd[10780]: warning: SASL authentication
> problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
> Jan 19 19:49:52 app postfix/smtpd[10780]: warning: SASL authentication
> problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
> Jan 19 19:49:52 app postfix/smtpd[10780]: warning: unknown[85.101.255.153]:
> SASL LOGIN authentication failed: authentication failure
> Jan 19 19:49:52 app postfix/smtpd[10780]: lost connection after AUTH from
> unknown[85.101.255.153]
> Jan 19 19:49:52 app postfix/smtpd[10780]: disconnect from
> unknown[85.101.255.153]
> #----------------------------------------

-- 
>
> cat
>
> _______________________________________________
> Linux-sunucu E-Posta Listesi
> [email protected]
>
> Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen
> e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1
> dakika içinde üyeliğinizi sonlandırabilirsiniz.
> http://liste.linux.org.tr/mailman/listinfo/linux-sunucu
>
>
_______________________________________________
Linux-sunucu E-Posta Listesi
[email protected]

Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen 
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 
dakika içinde üyeliğinizi sonlandırabilirsiniz.
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu

Cevap