From: (no name) (no email)
Date: Mon Mar 01 2004 - 08:44:07 EST
On Mon, 1 Mar 2004, Loic Le Loarer wrote:
> Hello
>
> It may be a silly question but I cannot find how to put in smtpd options
> in master.cf the following :
> smtpd_recipient_restrictions =
> check_recipient_access regexp:/etc/postfix/recipient_access.regex
> permit_mynetworks
> reject
>
> Normaly, I should add something like :
> -o smtpd_recipient_restrictions=check_recipient_access regexp:/etc/postfix/recipient_access.regex,permit_mynetworks,reject
> but I don't know howto deal with the space after check_recipient_access.
>
Any of the spaces can be a comma, but better yet use a variable, for
example:
127.0.0.1:10025 ... smtpd
-o smtpd_recipient_restrictions=$local_10025_rcpt_restrictions
main.cf:
local_10025_rcpt_restrictions =
...
-- Viktor.
|
|
|