[sisyphus] [OT] postfix+cyrus+sasl+ALT

Alexei Takaseev =?iso-8859-1?q?taf_=CE=C1_altlinux=2Eru?=
Ср Дек 29 19:21:08 MSK 2004


On Wed, 29 Dec 2004 18:23:19 +0300
Salavat Yarmukhametov <salavat на regiongarant.ru> wrote:

> 	Извините за офтопик, нужно дать возможность юзерам слать почту с
> конторского сервера извне. т.е. smtp с авторизацией, т.е.
> postfix+cyrus+sasl. postfix+sasl взял из dedalusa. создал пользователя
> test командой saslpasswd2, в /etc/postfix/main.cf добавил
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options =
> smtpd_sasl_local_domain =
> smtpd_client_restrictions = permit_sasl_authenticated
> smtpd_sender_restrictions = permit_sasl_authenticated
> broken_sasl_auth_clients = yes
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks, reject_unauth_destination, reject_invalid_hostname,
> reject_non_fqdn_hostname, reject_non_fqdn_sender,
> reject_non_fqdn_recipient, reject_unknown_sender_domain,
> reject_unknown_recipient_domain, reject_unauth_pipelining


# SMTP Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_tls_auth_only = no
smtpd_sasl_local_domain = $mydomain
smtp_sasl_auth_enable = no
#smtp_sasl_password_maps = hash:/etc/postfix/saslpass
#smtp_sasl_security_options = noplaintext
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_sasl_tls_verified_security_options =
$smtp_sasl_tls_security_options smtpd_recipient_restrictions =
   permit_sasl_authenticated,                             
   permit_mynetworks,
   check_relay_domains

> mailbox_transport = cyrus

Вместо этого нужно пользовать

mailbox_transport = lmtp:unix:/public/lmtp

А далее смотреть /usr/share/doc/cyrus-imapd-doc-2.2.10/README.ALT

> P.S. если закомментарить строчку mailbox_transport = cyrus в main.cf -
> в логе ругань, что нет пользователя test.
> гдеб почитать с примерчиками.
> http://linuxportal.ru/print.php/803_0_3_0_M/
> и http://www.multik.ru/linux/ispmailv2/ не помогли - авторы советуют
> брать пакеты с сайтов разработчиков и собирать самому.

Вячеслав таки умный мужик, но то, что он описывал в 2003-м году в 2004-м
успело устареть.



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