On 18 Apr 2019, at 13:15, ecsd <e...@transbay.net> 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 reached because postfix will bounce for a bad 
> recipient before the milter sees anything,
> and /all/ bad-recipient email is bounced. That is undesirable.

No, postfix does not bounce bad recipients, it rejects them. Yes, these are 
different, yes the difference is important.

I cannot imagine a scenario in which rejecting bad emails is a bad idea, so I'm 
failing to see the problem.

> Is there a way to put the milter first in examining email?

I'm going to guess the answer is essentially no?

I mean, you could disable all of postfix's checking and rely just on your 
milter, but that seems like a plan destined to  blow up big time.


-- 
"You never really understand a person until you see things from his
point of view, until you climb inside of his skin and walk around in
it."




Reply via email to