Stats Student: > On Tue, Jul 7, 2020 at 2:15 PM Wietse Venema <wie...@porcupine.org> 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 message needs to have (surprise!) two destinations. > > > > 1) a destination that delivers to the script > > 2) a destination that delivers to the maildir file > > > > You can add that second destination with virtual_alias_maps, > > sender_bcc_maps, recipient_bcc_maps, .forward files, and so on. > > > > Wietse > > > Could you please show an example of what would go into one of those > maps to indicate a maildir destination?
Prerequisites: foo@example delivers to script bar@example delivers to maildir Use virtual_alias_maps with: foo@example foo@example, bar@example Now, mail for foo@example goes to script and maildir. How to deliver to script or maildir? Use transport_maps to select a delivery agent that delivers to script (local or pipe delivery agent) or maildir (virtual or local delivery agent). foo@example