Re: Newbie question about transport_maps failing

2021-05-29 Thread David Favor
Wietse Venema wrote: David Favor: [ Charset ISO-8859-1 converted... ] Viktor Dukhovni wrote: On Sat, May 29, 2021 at 11:30:51AM -0500, David Favor wrote: # cat /etc/postfix/sender_dependant_default_transport /.*@davidfavor.com/ : /.*@fixdeliver.com/ : /.*/ discard: 7) Sending message still a

Re: Newbie question about transport_maps failing

2021-05-29 Thread Wietse Venema
David Favor: [ Charset ISO-8859-1 converted... ] > Viktor Dukhovni wrote: > > On Sat, May 29, 2021 at 11:30:51AM -0500, David Favor wrote: > > > >> # cat /etc/postfix/sender_dependant_default_transport > >> /.*@davidfavor.com/ : > >> /.*@fixdeliver.com/ : > >> /.*/ discard: > >> > >> 7) Sending me

Re: Newbie question about transport_maps failing

2021-05-29 Thread David Favor
Viktor Dukhovni wrote: On Sat, May 29, 2021 at 11:30:51AM -0500, David Favor wrote: # cat /etc/postfix/sender_dependant_default_transport /.*@davidfavor.com/ : /.*@fixdeliver.com/ : /.*/ discard: 7) Sending message still allows random sending domains... The transport table only selects a del

Re: Newbie question about transport_maps failing

2021-05-29 Thread Viktor Dukhovni
On Sat, May 29, 2021 at 11:30:51AM -0500, David Favor wrote: > # cat /etc/postfix/sender_dependant_default_transport > /.*@davidfavor.com/ : > /.*@fixdeliver.com/ : > /.*/ discard: > > 7) Sending message still allows random sending domains... The transport table only selects a delivery channel,

Re: Newbie question about transport_maps failing

2021-05-29 Thread David Favor
Wietse Venema wrote: David Favor: [ Charset ISO-8859-1 converted... ] Wietse Venema wrote: IL Ka: If you want to choose transport based on sender, you probably want "sender_dependent_default_transport_maps" http://www.postfix.org/postconf.5.html#sender_dependent_default_transport_maps It

Re: Newbie question about transport_maps failing

2021-05-29 Thread Wietse Venema
David Favor: [ Charset ISO-8859-1 converted... ] > Wietse Venema wrote: > > IL Ka: > >>> > If you want to choose transport based on sender, you probably want > "sender_dependent_default_transport_maps" > > > >>> http://www.postfix.org/postconf.5.html#sender_dependent_default_tra

Re: Newbie question about transport_maps failing

2021-05-29 Thread David Favor
Wietse Venema wrote: IL Ka: If you want to choose transport based on sender, you probably want "sender_dependent_default_transport_maps" http://www.postfix.org/postconf.5.html#sender_dependent_default_transport_maps It seems that this option doesn't support wildcards. Yes it does. Use a

Re: Newbie question about transport_maps failing

2021-05-28 Thread Viktor Dukhovni
On Fri, May 28, 2021 at 10:27:29AM -0500, David Favor wrote: > My goal is to limit allowed sender domains, to ensure no > mail config problem sends from a domain with no no SPF > authorization for sending IP. The transport table is surely the wrong place to do that. Instead, use access(5) to ref

Re: Newbie question about transport_maps failing

2021-05-28 Thread Wietse Venema
IL Ka: > > > > > > > If you want to choose transport based on sender, you probably want > > > "sender_dependent_default_transport_maps" > > > > > > > > http://www.postfix.org/postconf.5.html#sender_dependent_default_transport_maps > > > > > > > > It seems that this option doesn't support wildcards.

Re: Newbie question about transport_maps failing

2021-05-28 Thread IL Ka
> > > > If you want to choose transport based on sender, you probably want > > "sender_dependent_default_transport_maps" > > > > > http://www.postfix.org/postconf.5.html#sender_dependent_default_transport_maps > > > > It seems that this option doesn't support wildcards. It says >The tables are sear

Re: Newbie question about transport_maps failing

2021-05-28 Thread IL Ka
On Fri, May 28, 2021 at 6:28 PM David Favor wrote: > My goal is to limit allowed sender domains, to ensure no > mail config problem sends from a domain with no no SPF > authorization for sending IP. > If you want to choose transport based on sender, you probably want "sender_dependent_default_tr

Newbie question about transport_maps failing

2021-05-28 Thread David Favor
My goal is to limit allowed sender domains, to ensure no mail config problem sends from a domain with no no SPF authorization for sending IP. What I've done... 1) Setup /etc/postfix/transport # cat /etc/postfix/transport davidfavor.com : fixdeliver.com : * discard: # postmap /etc/postfix/trans