On 10 December 2016 at 14:18, Miles Fidelman <[email protected]> wrote: > On 12/10/16 8:31 AM, vod vos wrote: > > > how to foward emails from my server to my other mail address? > for example, some one write mails to [email protected],postfix would forward > the mail to [email protected]? > > my setting is postfix and dovecot. > > > a .forward file in your home directory
I have this scenario. I use: main.cf: # map incoming mails to destination mailboxes virtual_alias_maps = pcre:/etc/postfix/virtual virtual: if /@mydomain\.co\.uk$/ /^dominic@/ [email protected] /^(fred|frederick|sales)@/ [email protected] endif
