Доброго времени суток всем!
Почти допилил сервер, но как обычно/назло вылезла еще одна проблема
Никак не получается прикрутить по человечески smtp-авторизацию
(по pop3 dovecot забирает почту как часы при этом)
в main.cf имеем:
<code>
inet_protocols = ipv4smtpd_sasl_auth_enable = yes
smtpd_sasl_auth_type = dovecot
smtpd_sasl_path = private/auth
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
#smtpd_sasl_password_maps = mysql:/etc/postfix/mysql-passwd.cfdebug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
smtpd_client_restrictions =
permit_sasl_authenticated,
check_client_access mysql:/etc/postfix/mysql-passwd.cfsmtpd_sender_restrictions =
permit_sasl_authenticated,
check_sender_access mysql:/etc/postfix/mysql-passwd.cf</code>
Запрос логина/пароля к клиентской программе идет,
но smtp авторизация не проходит :)
- даже обращения к dovecot в логах не вижуДумаю, корень зла именно здесь
<code>
postconf -n
----//----
postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_sasl_auth_type=dovecot
----//----
</code>Подскажите плиз, как бороть :)
а довекот знает что он аутентифицировать должен?
также на права сокетов смотриу меня так в dovecot.conf:
--------------------------------
service auth {
unix_listener /var/spool/postfix/private/dovecot-auth {
user = postfix
group = postfix
mode = 0666
}
unix_listener auth-master {
user = vmail
group = vmail
mode = 0666
}
unix_listener auth-userdb {
user = vmail
group = vmail
mode = 0660
}
}
---------------------------------
в main.cf у меня так так:
---------------------------------
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/dovecot-auth
> postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_sasl_auth_type=dovecotman 5 postconf
smtp_sasl_type (default: cyrus)
The SASL plug-in type that the Postfix SMTP client should use for
authentication.
http://www.postfix.org/postconf.5.html#smtpd_sasl_type
> http://www.postfix.org/postconf.5.html#smtpd_sasl_type
> This feature is available in Postfix 2.3 and later.осталось выяснить какой версии у ОП postfix
>> http://www.postfix.org/postconf.5.html#smtpd_sasl_type
>> This feature is available in Postfix 2.3 and later.
> осталось выяснить какой версии у ОП postfixmail_version = 2.11.3
>> postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_sasl_auth_type=dovecot
> man 5 postconf
> smtp_sasl_type (default: cyrus)
> The SASL plug-in type that
> the Postfix SMTP client should use
> for
> authentication.PavelR спасибо огромное (что ткнули носом куда надо :)
всего-то надо было писать smtp_sasl_type а не smtp_sasl_auth_type
вот и верь после этого яндексу :)
>>> postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_sasl_auth_type=dovecot
>> man 5 postconf
>> smtp_sasl_type (default: cyrus)
>> The SASL plug-in type that
>> the Postfix SMTP client should use
>> for
>> authentication.
> PavelR спасибо огромное (что ткнули носом куда надо :)
> всего-то надо было писать smtp_sasl_type а не smtp_sasl_auth_type
> вот и верь после этого яндексу :)Верить надо оф. документации. ) Затем - исходникам )