OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
virtual forwards

From: David Hill (davidhwmis.net)
Date: Tue Dec 02 2003 - 09:32:04 CST


Hello -
My postfix server is the primary MX for multiple domains. All these domains
email aliases are forwarded to real remote email boxes.

However, when I send email to any of the aliased accounts, I receive Relay access denied errors. What am i missing?

virtual file:
*domain.com davidhomeaccount.com
user2nddomain.com userisp.com

I have ran postmap /usr/local/etc/postfix/virtual

$ postconf -n
alias_database = hash:/usr/local/etc/postfix/aliases
alias_maps = hash:/usr/local/etc/postfix/aliases
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
inet_interfaces = $myhostname, localhost
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /usr/local/queue
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_recipient_restrictions = reject_rbl_client dynablock.easynet.nl reject_rbl_client sbl.spamhaus.org reject_rbl_client blackholes.easynet.nl reject_rbl_client relays.ordb.org permit_mynetworks reject_unauth_destination
unknown_local_recipient_reject_code = 450
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual