Re: Milter_Readme - Documentation Edit Request - "order", "reject" and "override" - multiple message modifications?

2022-05-23 Thread James Feeney
On 5/23/22 13:51, post...@ptld.com wrote: Rejects a command is if something in that milter returns a reject response code like 4xx or 5xx. If dkim runs first before dmarc, and dkim issues a 5xx reject causing the email to be rejected by postfix, then that's it, ... Yes, of course. That's not

Re: Milter_Readme - Documentation Edit Request - "order", "reject" and "override" - multiple message modifications?

2022-05-23 Thread Wietse Venema
James Feeney: > Reading at http://www.postfix.org/MILTER_README.html, and wondering what > results from Postfix interacting with multiple milters, we see, paraphrasing, > in part: > > 1) There can be more than one Milter application. > 2) Milters "are applied in the order [as] specified". > 3) "

Re: Milter_Readme - Documentation Edit Request - "order", "reject" and "override" - multiple message modifications?

2022-05-23 Thread postfix
> On 05-23-2022 3:36 pm, James Feeney wrote: > Reading at http://www.postfix.org/MILTER_README.html, and wondering what > results from Postfix interacting with multiple milters, we see, paraphrasing, > in > part: > > 1) There can be more than one Milter application. > 2) Milters "are applied in

Re: Milter_Readme - Documentation Edit Request - "order", "reject" and "override" - multiple message modifications?

2022-05-23 Thread Claus Assmann
You might want to take a look at the original milter documentation which comes with sendmail - it should hopefully answer (most of) your questions. "order": as specfified in the configuration file. "reject": equivalent to an SMTP reply code 4xy or 5xy. "override": if "reject" is used by a milter,

Milter_Readme - Documentation Edit Request - "order", "reject" and "override" - multiple message modifications?

2022-05-23 Thread James Feeney
Reading at http://www.postfix.org/MILTER_README.html, and wondering what results from Postfix interacting with multiple milters, we see, paraphrasing, in part: 1) There can be more than one Milter application. 2) Milters "are applied in the order [as] specified". 3) "The first Milter applicatio

Re: matching envelope sender and a certain header

2022-05-23 Thread juan smitt
Thanks everyone for the great ideas. I'll try the 'envfrom' tomorrow. Wietse Venema ezt írta (időpont: 2022. máj. 23., H, 15:46): > > juan smitt: > > Hi, > > > > > > We got a request to match the envelope sender with a certain mail > > header (i.e. X-Something) on our relay servers for every outb

Re: matching envelope sender and a certain header

2022-05-23 Thread Wietse Venema
juan smitt: > Hi, > > > We got a request to match the envelope sender with a certain mail > header (i.e. X-Something) on our relay servers for every outbound > mails and reject the email if the sender and the value of this header > don't match. > > It's also possible for a sender to have more th

Re: matching envelope sender and a certain header

2022-05-23 Thread Viktor Dukhovni
On Mon, May 23, 2022 at 09:41:39AM +0200, Ansgar Wiechers wrote: > > We got a request to match the envelope sender with a certain mail > > header (i.e. X-Something) on our relay servers for every outbound > > mails and reject the email if the sender and the value of this header > > don't match. >

Re: matching envelope sender and a certain header

2022-05-23 Thread Ansgar Wiechers
On 2022-05-23 juan smitt wrote: > We got a request to match the envelope sender with a certain mail > header (i.e. X-Something) on our relay servers for every outbound > mails and reject the email if the sender and the value of this header > don't match. > > It's also possible for a sender to have