I have a VPS setup that is running two websites. I am using Virtualmin
to manage these two sites.

On deluxetech.com, I have WHMCS installed and am using Google Apps for
email. I have Google Apps setup so that any email not recognized is
automatically forwarded to the smtp of this vps server. I have about
10 email addresses setup in WHMCS's ticketing system. All of these
emails are coming through fine. WHMCS is also sending out the response
to the user.

However, the problem I am having is that u...@deluxetech.com is not
being redirected to Google Apps. I have setup my email address in
Transport Mapping under Postfix in Webmin. But, I get the following
error:

Admin Email Notification Sending Failed - SMTP Error: The following
recipients failed: u...@deluxetech.com
SMTP server error: 5.1.1 : Recipient address rejected: User unknown in
virtual alias table

I have my Transport Mapping as:
u...@deluxetech.com     smtp:deluxetech.com.s9a1.psmtp.com.


I am pretty sure the issue has to do with the fact that Postfix is not
reading the transport mapping before the virtual aliases, but I cannot
figure out how to do that. If possible, I would prefer the smtp server
to redirect any unk...@deluxetech.com user to Google Apps.

Thanks for any help that you can provide,
Eddie


------------------------------------------postconf
-n----------------------------------------------------------------------------------------------------------------------
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
fallback_transport = hash:/etc/postfix/fallback_transport
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $transport_maps
mail_owner = postfix
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost,
node1.deluxetech.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual

Reply via email to