ivanildogalvao
(usa Red Hat)
Enviado em 03/12/2013 - 06:02h
Acabei de fazer o seguinte, acredito que dará certo.
srvmail:/etc/postfix# nano virtual
GNU nano 2.0.7 Arquivo: virtual
# as localname@virtual-alias.domain.
#
# Support for a virtual alias domain looks like:
#
/etc/postfix/main.cf:
virtual_alias_domains = y.com
virtual_alias_maps = hash:/etc/postfix/virtual
#
# Note: some systems use dbm databases instead of hash. See
# the output from "postconf -m" for available database
# types.
#
/etc/postfix/virtual:
# virtual-alias.domain anything (right-hand content does not matter)
# postmaster@virtual-alias.domain postmaster
ecoelho@x.br ecoelho@y.com
atongo@x.br aatongo@y.com
csfonseca@x.br csfonseca@y.com
ecosta@x.br eicosta@y.com
agoncalves@x.br awgoncalves@y.com
abondo@x.br adbondo@y.com
alonsumbu@x.br amlosumbu@y.com
falfredo@x.br fcalfredo@y.com
haraujo@x.br hdaraujo@y.com
ibonfim@x.br igbonfim@y.com
jfranco@x.br jafranco@y.com
lsilva@x.br lecsilva@y.com
# The virtual-alias.domain anything entry is required for a
# virtual alias domain. Without this entry, mail is rejected
# with "relay access denied", or bounces with "mail loops
# back to myself".
#
# Do not specify virtual alias domain names in the main.cf
# mydestination or relay_domains configuration parameters.
no final executei: postmap /etc/postfix/virtual e postfix reload
Fonte da informação:
http://www.postfix.org/VIRTUAL_README.html#forwarding