[pfx] Re: [ext] non_smtpd_milters = $smtpd_milters

2023-12-01 Thread duluxoz via Postfix-users

Thanks Ralf,

OK, so what was leading to my Q is the Postfix Architect document seems 
to indicate (via the first diagram) that the `smtp_milters` is triggered 
from the `smtpd(8)` process which then feeds into the `cleanup(8)` 
process, which is what triggers the `non_smtp_milters` - hence me 
wondering if a piece of smtp mail went through both milter lists.


Cheers

On 01/12/2023 20:34, Ralf Hildebrandt via Postfix-users wrote:

* duluxoz via Postfix-users:

A quick question (just to clarify things in my own mind):

If `non_smtpd_milters = $smtpd_milters`, does this mean that an email
received on port 25 passes through the milters twice; once for the
`smtpd_milters` (from the `smtpd(8)` process) and again for the
`non_smtpd_milters` (from the `cleanup(8)` process)?

No.

non_smtpd_milters are for new mail that does not arrive via the
Postfix smtpd server. This includes local submission via the
sendmail command line, new mail that arrives via the Postfix
qmqpd server, and old mail that is re-injected into the queue with
"postsuper -r".

smtpd_milters are for new mail that arrives via the Postfix smtpd(8)
server.


--
Peregrine IT Signature

*Matthew J BLACK*
  M.Inf.Tech.(Data Comms)
  MBA
  B.Sc.
  MACS (Snr), CP, IP3P

When you want it done /right/ ‒ the first time!

Phone:  +61 4 0411 0089
Email:  matt...@peregrineit.net 
Web:www.peregrineit.net 

View Matthew J BLACK's profile on LinkedIn 



This Email is intended only for the addressee.  Its use is limited to 
that intended by the author at the time and it is not to be distributed 
without the author’s consent.  You must not use or disclose the contents 
of this Email, or add the sender’s Email address to any database, list 
or mailing list unless you are expressly authorised to do so.  Unless 
otherwise stated, Peregrine I.T. Pty Ltd accepts no liability for the 
contents of this Email except where subsequently confirmed in 
writing.  The opinions expressed in this Email are those of the author 
and do not necessarily represent the views of Peregrine I.T. Pty 
Ltd.  This Email is confidential and may be subject to a claim of legal 
privilege.


If you have received this Email in error, please notify the author and 
delete this message immediately.
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: [ext] non_smtpd_milters = $smtpd_milters

2023-12-01 Thread Ralf Hildebrandt via Postfix-users
* duluxoz via Postfix-users :
> A quick question (just to clarify things in my own mind):
> 
> If `non_smtpd_milters = $smtpd_milters`, does this mean that an email
> received on port 25 passes through the milters twice; once for the
> `smtpd_milters` (from the `smtpd(8)` process) and again for the
> `non_smtpd_milters` (from the `cleanup(8)` process)?

No.

non_smtpd_milters are for new mail that does not arrive via the
Postfix smtpd server. This includes local submission via the
sendmail command line, new mail that arrives via the Postfix
qmqpd server, and old mail that is re-injected into the queue with
"postsuper -r".

smtpd_milters are for new mail that arrives via the Postfix smtpd(8)
server.

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration
  Invalidenstraße 120/121 | D-10115 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | https://www.charite.de

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org