Re: sender_dependent_default_transport_maps overrides content_filter
- On Wed, Oct 24, 2012 at 02:39:04PM -0700, Robert Minsk wrote:
> In my main.cf I haveHow does mail get to port 10025?
> sender_dependent_default_transport_maps = tcp:localhost:6002
> and in my master.cf I have:
> 10025 inet n - n - - smtpd
> -o syslog_name=postfix/10025
> -o content_filter=scan:[127.0.0.1]:11125
> -o receive_override_options=no_address_mappings
> My content filter is on port 11125 and returns the email backAssuming the mail comes in via 10025.
> into postfix on port 11126.
> For the sender in question my sender_dependent_default_transport_mapsThe only things that override "content_filter" are either a "FILTER"
> returns microsoft365:[podxxxxx.outlook.com]:587
action in an access table or a REDIRECT in an access table.
> My understanding is that mail coming in on port 10025 shouldProvided the mail comes in via that port as claimed, and no header
> first go to the content_filter scan:[127.0.0.1]:11125, my filter
> should scan it, gets reinjected on port 11126, the the default_transport
> from the sender_dependent_default_transport_maps should use the
> microsoft365 transport.
checks or similar trigger "FILTER" or "REDIRECT" actions.
> When I have sender_dependent_default_transport_maps in main.cfYou've presented no evidence (logs) that your assumptions are
> my content_filter is never calls.? The mail comes in on port 10025
> and goes straight to the microsoft365 transport.? Without the
> sender_dependent_default_transport_maps mail does hit my content_filter.