[Comm] Re: Postfix again
Igor Solovyov
=?iso-8859-1?q?gosha_=CE=C1_zkb=2Eru?=
Ср Авг 20 19:22:51 MSD 2003
Hi!
On Wed, 20 Aug 2003 17:56:12 +0400
Igor Homyakov <homyakov на ramax.spb.ru> wrote:
> * Michael Shigorin <mike на osdn.org.ua> [030820 17:32]:
>
> > [root на fly postfix]# tail -1 main.cf
> > check_helo_access = /etc/postfix/helo_access
> > [root на fly postfix]# cat helo_access
> > /compuserve.com/ REJECT
> > /microsoft.com/ REJECT
> > [root на fly postfix]# postmap helo_access
> > [root на fly postfix]#
>
> тогда уж
>
> smtpd_helo_restrictions = permit_mynetworks,
> check_helo_access regex:/etc/postfix/helo_access,
> reject_invalid_hostname,
> reject_non_fqdn_hostname,
> permit
> # cat helo_access
> /compuserve.com/ REJECT
> /microsoft.com/ REJECT
>
> и без postmap
>
> ИЛИ
>
> smtpd_helo_restrictions = permit_mynetworks,
> check_helo_access hash:/etc/postfix/helo_access,
> reject_invalid_hostname,
> reject_non_fqdn_hostname,
> permit
> # cat helo_access
> compuserve.com REJECT
> microsoft.com REJECT
> # postmap helo_access
Спасибки.
Михаилу то же. :-)
--
Best regards!
Igor Solovyov
System/network administrator
JSC CB "Zlatkombank"
Подробная информация о списке рассылки community