On Mon, 2009-06-29 at 09:19 -0500, Noel Jones wrote:
> 
> Only one action is allowed per lookup.  If you want to note in 
> the logs or use PREPEND to add a header indicating the mail 
> was whitelisted, you'll need two lookup tables - first to WARN 
> or PREPEND, then another table to OK.
> 
> I suppose you can use smtpd_restriction_classes to create a 
> LOG_OK class, something like
> smtpd_restriction_classes = LOG_OK
> LOG_OK =
>    check_client_access regexp:/etc/postfix/mylog
>    permit
> 
> # mylog
> /^/ WARN whitelisted
> 
> Then use "LOG_OK" rather than OK in your access tables.
> 
I've given that a go - fingers crossed :-)


Reply via email to