OSEC

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

From: Wade Kemp (wkempwcnet.org)
Date: Mon Apr 14 2008 - 15:20:47 CDT


I am trying to migrate from Exim to postfix ( I got stuck with the
switch )

when ever I enable virtual domains, the system will quit delivering
to outside addresses.

All virtual domains will either deliver to system accounts or send to
outside addresses ( i.e. hotmail, gmail )

here is my postconf -n

alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = localhost, wcnet.org
mydomain = wcnet.org
myhostname = mail.wcnet.org
mynetworks = 127.0.0.0/8 10.1.1.0/8
myorigin = /etc/mailname
recipient_delimiter = +
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_restrictions =

smtpd_delay_reject = yes
smtpd_error_sleep_time = 1s
smtpd_hard_error_limit = 20
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
         reject_non_fqdn_hostname,
        reject_invalid_hostname,
         permitsmtpd_recipient_restrictions = reject_non_fqdn_recipient,
         reject_unauth_pipelining,
        permit_mynetworks,
        reject_unauth_destination,
         reject_unauth_destination,
        permit

smtpd_sender_restrictions = permit_mynetworks,
        reject_unknown_sender_domain,
        reject_non_fqdn_sender,
        permit

smtpd_soft_error_limit = 10
virtual_alias_domains = mysql:/etc/postfix/mysql-domains.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-valias.cf

Thanks
Wade