Results 1 to 3 of 3
hi
i want to forward emails from a postfix ( me_at_mydomaindotcom) to another email account that is independant of the forwarding account (eg. myself_at_ispdomaindotcom). how do i go about this?what ...
- 08-03-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 9
postfix email forwarding
hi
i want to forward emails from a postfix ( me_at_mydomaindotcom) to another email account that is independant of the forwarding account (eg. myself_at_ispdomaindotcom). how do i go about this?what are the configs and in which postfix file do i do them
- 08-09-2009 #2Just Joined!
- Join Date
- Jul 2009
- Posts
- 5
hi clarencek
depends if you want to forward instead or as well as receiving locally.
if it's instead then edit /etc/aliases and add a line like:
then run postalias /etc/aliasesCode:me: myself_at_ispdomaindotcom
if you want the email to be redirected and not received locally at all then:
edit /etc/postfix/main.cf and add a line:
(check that you don't already have virtual_alias_maps set to something else)Code:virtual_alias_maps = regexp:/etc/postfix/virtual
then in /etc/postfix/virtual or wherever your existing setting is pointing put:
and sudo postfix reloadCode:me_at_mydomaindotcom myself_at_ispdomaindotcom
- 06-02-2010 #3Just Joined!
- Join Date
- Nov 2009
- Posts
- 27
Do you also have to add this line to main.cf?
Code:virtual_alias_domains = myfristdomain.com,myseconddomain.com


Reply With Quote