Re: How To Rewrite "Mail From:"?

2020-07-07 Thread Matus UHLAR - fantomas
On Mon, Jul 06, 2020 at 07:40:27PM +, Drew Tomlinson wrote: I use postfix for my own domain and have been forwarding my email to outlook.com for years. Recently, email has just been disappearing between my server and my inbox so I set it to forward my email to gmail.com. Shortly after, I sa

Re: rewrite all but one address

2020-07-07 Thread Wietse Venema
Paul Littlefield: > Hello, > > How would I rewrite all emails from one domain to another domain, > apart from a single address, so that the messages are sent on to > an external mail relay by default? > > e.g. > > @test.com > @example.com > smtp:relay > joe.blo...@test.com > delivered locally R

rewrite all but one address

2020-07-07 Thread Paul Littlefield
Hello, How would I rewrite all emails from one domain to another domain, apart from a single address, so that the messages are sent on to an external mail relay by default? e.g. @test.com > @example.com > smtp:relay joe.blo...@test.com > delivered locally Is this canonical (http://www.postfi

Re: content_filter with external script and virtual_alias_maps

2020-07-07 Thread Stats Student
On Fri, Jul 3, 2020 at 3:44 AM Matus UHLAR - fantomas wrote: > > >> Stats Student: > >> > 1) in addition to sending the messages to a script, is there a way to > >> > store the messages in a real mailstore ( Maildir ) ? > > >On Wed, Jul 1, 2020 at 8:31 AM Wietse Venema wrote: > >> Add a recipient

Re: content_filter with external script and virtual_alias_maps

2020-07-07 Thread Wietse Venema
Stats Student: > Thank you, but I still do not understand why I need to provide > additional user aliases. If my system receives a message for To deliver a message to two destinations 1) a script 2) a maildir file That message needs to have (surprise!) two destinations. 1) a destination that d

Re: content_filter with external script and virtual_alias_maps

2020-07-07 Thread Stats Student
On Tue, Jul 7, 2020 at 2:15 PM Wietse Venema wrote: > > Stats Student: > > Thank you, but I still do not understand why I need to provide > > additional user aliases. If my system receives a message for > > To deliver a message to two destinations > > 1) a script > 2) a maildir file > > That messa

Re: content_filter with external script and virtual_alias_maps

2020-07-07 Thread Wietse Venema
Stats Student: > On Tue, Jul 7, 2020 at 2:15 PM Wietse Venema wrote: > > > > Stats Student: > > > Thank you, but I still do not understand why I need to provide > > > additional user aliases. If my system receives a message for > > > > To deliver a message to two destinations > > > > 1) a script >

Re: content_filter with external script and virtual_alias_maps

2020-07-07 Thread Stats Student
On Tue, Jul 7, 2020 at 4:19 PM Wietse Venema wrote: > > Stats Student: > > On Tue, Jul 7, 2020 at 2:15 PM Wietse Venema wrote: > > > > > > Stats Student: > > > > Thank you, but I still do not understand why I need to provide > > > > additional user aliases. If my system receives a message for > >