On Mon, May 18, 2009 at 08:52:45PM -0400, Jon wrote:

> Hello list,
>
> When building out the various checks available to postfix, is there a 
> mechanism for doing a REJECT, WARN or OK plus the reason, en mass, without 
> pasting the same text a lot? For example...
>
> bad.guy01.com REJECT 550 Reason1
> bad.guy02.com REJECT 550 Reason1
> .
> .
> .
> bad.guy50.com REJECT 550 Reason1
>

The make(1) utility can construct the access(5) table from one or more
master master files using any syntax of your choice. You can list just
the lookup keys in a file, and auto-generate corresponding access table
entries, or even use m4(1) which has some prior art for email config files...

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to