[Comm] авторизация smtp
tosh17
=?iso-8859-1?q?tosh17_=CE=C1_pugr=2Evng=2Ecom=2Eru?=
Вт Мар 25 18:17:20 MSK 2008
Alexey Morsov пишет:
> On Tue, Mar 25, 2008 at 04:10:11PM +0300, tosh17 wrote:
>
>> Все равно пропускает пропускает и
>> резрешает без авторизации
>>
>
> smtpd_helo_required = yes
> strict_rfc821_envelopes = yes
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks,
> reject_unverified_recipient,
> ...
>
> smtpd_helo_restrictions = permit_mynetworks,
> permit_sasl_authenticated,
> ...
>
> smtpd_sender_restrictions = permit_mynetworks,
> permit_sasl_authenticated,
> ...
>
> smtpd_client_restrictions = permit_mynetworks,
> permit_sasl_authenticated,
>
> ...
>
> Пробуйте. Специально сейчас проверил - если выкинуть permit_mynetworks -
> без авторизации посылает лесом.
>
чет не получается :(
вот конфиг
unknown_local_recipient_reject_code = 550
smtpd_recipient_restrictions =permit_sasl_authenticated ,
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = cyrus
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
#smtpd_sasl_path=/etc/postfix/sasl/smtpd.conf
myhostname = mail.*ru
mydomain = *.ru
myorigin = $mydomain
inet_interfaces = all
mydestination = localhost, $myhostname, localhost.$mydomain, $mydomain
mynetworks = 127.0.0.0/8
relay_domains=
default_transport = smtp
mailbox_transport = dbmail-lmtp:localhost:24
local_recipient_maps = pgsql:/etc/postfix/dbmail-mailboxes.cf $alias_maps
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
readme_directory = /etc/postfix/README_FILES
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/libexec/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix
message_size_limit = 204857600
mailbox_size_limit = 1073741824
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
smtpd_helo_restrictions = permit_sasl_authenticated
smtpd_sender_restrictions = permit_sasl_authenticated
smtpd_client_restrictions = permit_sasl_authenticated
Подробная информация о списке рассылки community