The script is working, but DBMail does not generate bounce messages,
rather it rejects the messages via 5xx codes in LMTP and return codes on
dbmail-smtp.

Incidentally, headers are pulled in case-insensitively, so ["To", "TO"]
is redundant.

Aaron


On Tue, 2007-12-11 at 05:47 +0100, Simon Lange wrote:
> 
> require ["fileinto","reject"];
> 
>  
> 
> if anyof (address :contains ["To","TO","Cc","CC"]
> "[EMAIL PROTECTED]") {
> 
>         reject text:
> 
> Sorry, but this address is not active anymore!
> 
> .
> 
> ;
> 
> }

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to