Re: How to allow the milter first access to recipients?

2019-04-18 Thread Matus UHLAR - fantomas
On 18.04.19 12:15, ecsd wrote: The logs show that postfix examines the recipients before the milter is given the chance to see them. I have a milter that detects certain RCPT patterns harassing a domain name and will discard (not bounce) the mail, does the milter see those invalid recipients a

Re: How to allow the milter first access to recipients?

2019-04-18 Thread Wietse Venema
ecsd: > The logs show that postfix examines the recipients before the milter is > given the chance to see them. Indeed. Milter sees only things that Postfix is willing accept, after Postfix has had a chance to modify it. I am pretty sure that is how they are supposed to be used (if Milters were p

Re: How to allow the milter first access to recipients?

2019-04-18 Thread @lbutlr
On 18 Apr 2019, at 13:15, ecsd wrote: > > The logs show that postfix examines the recipients before the milter is given > the chance to see them. > I have a milter that detects certain RCPT patterns harassing a domain name > and will discard (not bounce) the mail, > but that code cannot be reac

How to allow the milter first access to recipients?

2019-04-18 Thread ecsd
The logs show that postfix examines the recipients before the milter is given the chance to see them. I have a milter that detects certain RCPT patterns harassing a domain name and will discard (not bounce) the mail, but that code cannot be reached because postfix will bounce for a bad recipient