| |||||||||||||||||||||||||||||||
|
I want to be able to log a message whenever control reaches a certain point within a restriction class. Currently I have this: smtpd_restriction_classes = first_restriction, second_restriction, ... first_restriction = check_client_access regexp:/etc/postfix/mesg-first-restriction permit /etc/postfix/mesg-short-greet-delay: // WARN blah blah blah This works, but it's pretty cumbersome. I've tried other approaches, but they don't work: first_restriction = check_client_access static:WARN blah blah blah, permit Or even: first_restriction_mesg = WARN blah blah blah first_restriction = check_client_access static:$first_restriction_mesg, permit Looks like the extra whitespace in first_restriction_mesg causes problems for the parser. Is there no easier way to log a message from within a restriction list?
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com