On Wed, Jun 01, 2022 at 10:07:34AM -0400, Viktor Dukhovni wrote:
> On Wed, Jun 01, 2022 at 10:24:57AM +0100, Massimo Federico Bonfigli wrote:
> 
> > I was wondering if it is possible to have milters be triggered after a
> > local delivery agent list expansion. For example in the alias file I might
> > have an entry like:
> > 
> > frank-list    :include:/lists/frank-list
> 
> Local aliases(5) that use ":include:" files are delivered by submitting
> a new message into the queue, addressed to the listed recipients.  This
> "forwarded" message, could be subjected to milter processing.  This
> may be on by default:
> 
>     https://www.postfix.org/postconf.5.html#internal_mail_filter_classes
> 
> [ I don't see forwarding via local aliases mentioned as not actioned
>   by default. ]
> 
> So these should/may be subject to:
> 
>     https://www.postfix.org/postconf.5.html#non_smtpd_milters

On the other hand, code inspection shows that local(8) forwarding
of ":include:" and "owner-alias", ... is designated as "internally
generated", so not subject to milter processing.  The documentation
does not describe this case, but the behaviour is the same as with
bounces and postmaster notices.

-- 
    Viktor.

Reply via email to