I have read a lot of tutorials on how to do this but still nothing trying just to redirect from A to B.
Right now i am using at main.cf:
#virtual_alias_domains = $virtual_alias_maps
virtual_alias_domains = X.pt
#virtual_alias_maps = $virtual_maps
virtual_alias_maps = hash:/Library/Server/Mail/Config/postfix/virtual_maps/virtual
And in virtual i have:
teste@X.pt teste2@X.pt
After doing changes at this file i do,
postmap virtual
postfix reload
and nothing, all mails continues to go to A and not being forward to B.
I already was able to redirect one mail, but i just notice after changing both files several times.
Anyone know what i am doing wrong?