Otto Retter wrote:

> Simon,
> 
> I have similar functionality working with a filter. Have you tried
> using a filter for this?

No, I have not yet tried that. I wanted to try the "simpler" solution first. :)

> 
> Here are some anonymized snippets from my smtpd.conf:
> 
> ```
> table bad_guys file:/etc/mail/bad_guys
> filter "bad_guys" phase mail-from match mail-from regex <bad_guys> reject
> "550 Bad Guys"
> listen on ... filter { ..., "bad_guys", ... } tag PORT_25
> ```

Thanks for the example! The filter might actually be nice to send the spammers a
message back :)

I have found the solution now, but I will keep your filter example in mind. 

Thanks!


Cheers, 

Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to