[Comm] postfix

Oleg Pan =?iso-8859-1?q?wacom_=CE=C1_narod=2Eru?=
Ср Окт 26 13:52:20 MSD 2005


Hello community,

  ситуация такая:
  master-2.4
  стоит postfix-2.2.4 в связке с myslq
  все прекрасно работает

  есть задача прикрутить sasl аутентификацию
  я так понял что достаточно поставить postfix-tls

  Вопрос
   1. куда положить конфиг smtpd.conf в нашем дистрибутиве?
      во всех местах, куда я его пробовал положить результат
      одинаковый:
      /var/log/mail/all:
Oct 26 13:48:58 intermail postfix/smtpd[12800]: connect from
unknown[192.168.0.1]
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasl
2/sasldb2: No such file or directory
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasl
2/sasldb2: No such file or directory
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication failure: no secret in database
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning:
unknown[192.168.0.1]: SASL CRAM-MD5 authentication failed
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasl
2/sasldb2: No such file or directory
Oct 26 13:48:58 intermail last message repeated 4 times
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication failure: Password verification failed
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning:
unknown[192.168.0.1]: SASL PLAIN authentication failed
Oct 26 13:48:58 intermail postfix/smtpd[12800]: AB50ECF98C:
client=unknown[192.168.0.1]


smtpd.conf:

pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login

sql_engine: mysql
sql_hostnames: localhost
sql_user: user
sql_passwd: password
sql_database: mail
sql_select: select password from users where email='%u@%r' and enabled='1'
      




-- 
Best regards,
 Oleg                          mailto:wacom на narod.ru




Подробная информация о списке рассылки community