Re: content_filter with external script and virtual_alias_maps

2020-07-08 Thread Stats Student
On Wed, Jul 8, 2020 at 4:18 PM Viktor Dukhovni wrote: > > On Wed, Jul 08, 2020 at 04:12:24PM -0700, Stats Student wrote: > > > Let me know if what I am asking isn't clear and I'll be happy to > > provide further details. I did post all of my configuration last wee

Re: content_filter with external script and virtual_alias_maps

2020-07-08 Thread Stats Student
> > > > I don't use transport_maps currently so it's unclear to me how this > > would work with the existing setup which I assume already uses the > > virtual delivery agent with virtual_transport. Can you please show an > > example of the transport_maps with two routes? > > In that case you

Re: content_filter with external script and virtual_alias_maps

2020-07-08 Thread Stats Student
On Wed, Jul 8, 2020 at 1:10 PM Wietse Venema wrote: > > Stats Student: > > > Again, an email address IS NOT an account. > > > > > > > Ok, understood. > > > > > If it helps to rephrase the example: > > > > > > Prerequisites: &

Re: content_filter with external script and virtual_alias_maps

2020-07-08 Thread Stats Student
> Again, an email address IS NOT an account. > Ok, understood. > If it helps to rephrase the example: > > Prerequisites: > foo@example delivers to script > foo.maildir@example delivers to maildir I don't know how to satisfy the last prerequisite. Can you help? Currently have the

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 > > > > ad

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

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, 2

Re: content_filter with external script and virtual_alias_maps

2020-07-01 Thread Stats Student
Thank you. Re: bouncing emails - makes sense, won't do. As for your other suggestion, I am sorry I didn't follow what you recommended specifically. I posted my configuration, if you could take a look. https://dpaste.org/WdPx On Wed, Jul 1, 2020 at 8:31 AM Wietse Venema wrote: > > Stats S

Re: content_filter with external script and virtual_alias_maps

2020-07-01 Thread Stats Student
code virtual_transport = mailstore mailstore unix - n n - - pipe flags=DRXhu user=vmail argv=/path/to/script ${recipient} On Sat, Jan 4, 2020 at 3:26 PM Stats Student wrote: > > Thanks very much, appreciate the detailed explanation. Everything &

Re: content_filter with external script and virtual_alias_maps

2020-01-04 Thread Stats Student
Thanks very much, appreciate the detailed explanation. Everything seems to working as advertised. On Mon, Dec 30, 2019 at 7:32 AM Wietse Venema wrote: > > Wietse Venema: > > Stats Student: > > > Hi, I would like to configure Postfix to do the following: > > > >

Re: Virtual alias address class and no_address_mappings

2019-12-30 Thread Stats Student
Thanks for looking into this and thank you Peter for reporting my issue to the list. To confirm, the alias is in the last database ( hash:/etc/postfix/virtual_alias_maps ) but the forwarding only works if "receive_override_options = no_address_mappings" is NOT set (commented out). And for the

content_filter with external script and virtual_alias_maps

2019-12-30 Thread Stats Student
Hi, I would like to configure Postfix to do the following: 1) receive messages for users in a Postgres database and hand those messages to an external script for processing (no traditional mailstore). The server handles mail for only one domain. 2) for a handful of accounts (postmaster, help,