|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: another smtpd in master.cf
From: mouss (mlist.only
free.fr)
Date: Sun Feb 04 2007 - 08:52:29 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Magnus Bäck wrote:
> On Sunday, February 04, 2007 at 10:44 CET,
> "sosogh
126.com" <sosogh
126.com> wrote:
>
>
>> I want to setup another smtpd in master.cf
>>
>
> [...]
>
>
>> but if i change it to : (just change the smtpd_sender_restrictions )
>>
>> 127.0.0.1:10025 inet n - y - - smtpd
>> -o local_recipient_maps=
>> -o relay_recipient_maps=
>> -o smtpd_restriction_classes=
>> -o smtpd_client_restrictions=
>> -o smtpd_helo_restrictions=
>> -o smtpd_sender_restrictions=check_sender_access regexp:/etc/postfix/access
>> -o smtpd_recipient_restrictions=permit_mynetworks,reject
>> -o mynetworks=127.0.0.0/8
>> -o strict_rfc821_envelopes=yes
>> -o smtpd_error_sleep_time=0
>> -o smtpd_soft_error_limit=1001
>> -o smtpd_hard_error_limit=1000
>>
>
> You can't have spaces in the arguments. Replace by comma or (better)
> define the value in main.cf and refer to it in master.cf.
>
> main.cf:
> reinjection_sender_restrictions =
> check_sender_access regexp:/etc/postfix/access
>
> master.cf:
> 127.0.0.1:10025 inet n - y - - smtpd
> -o smtpd_sender_restrictions=$reinjection_sender_restrictions
>
> [...]
>
>
In addition, do not postmap regex maps.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]