At 14:42 +0000 2/19/2002, Dirk Koopman wrote:
># this checks for nasty characters in the localpart by only
># checking that only [A-Za-z_.-] are there.
>reject_percenthack_relay:
> driver = smartuser
> condition = ${if match{$local_part}{[^\\w\\.\\-]}{yes}}
> new_address = :fail: rejected illegal character in local_part attempt
>
># this director sends locally delivered stuff thru spam assassin
>send_to_spamc:
> driver = smartuser
> transport = spam_scanner
> condition = ${if eq {$received_protocol}{spam-ok}{no}{yes}}
>
># This director matches local user mailboxes.
>localuser:
> driver = localuser
> transport = local_delivery
>
>There must be some means of not having to do the above. I repeat, I have
>receiver_verify on.
The send_to_spamc director as written presumably verifies the local part. A
verify = false
(in any of the ways of saying that) in that director will skip the director
at receiver_verify time, and let "localuser" reject the message.
I think.
--John (rushing off to recheck his own similar director)
--
John Baxter jwblist@??? Port Ludlow, WA, USA