I have two issues that I believe are connected so I'm putting them into one submission to the list:
ISSUE 1 ==================================== I want to forward root's mail to a local user called mike. The user's email address is m...@ascendency.net and is a legitimate user on the system, but has a virtual mailbox. I've added that email address in /etc/aliases and run the /usr/bin/newaliases command. The problem I'm having is that root's email gets directed to m...@patton.ascendecny.net instead of m...@ascendency.net resulting in the following error: Reason: Remote SMTP server has rejected address Diagnostic code: smtp;554 5.7.1 <m...@patton.ascendency.net>: Relay access denied ISSUE 2 ==================================== Messages sent to aliases that should point to legitimate email address on the server return the following error: Remote host said: 550 5.1.1 <$aliasaddr...@ascendency.net>: Recipient address rejected: User unknown in relay recipient table I believe both of these issues are related to my configuration of relay_domains and/or relay_recipient_maps. Please see links below to links all relevant configuration files. DOCUMENTATION REVIEWED ==================================== 1. http://www.postfix.org/ADDRESS_CLASS_README.html 2. http://www.postfix.org/postconf.5.html#relay_recipient_maps VERSIONS ==================================== 1. FreeBSD - 8.1-RELEASE 2. PostFix - 2.7.2,1 3. MySQL - 5.5.9 4. Dovecot - 1.2.16 CONFIGURATION FILES ==================================== 1. postconf -n: http://pastebin.com/E0gMpmqf 2. postconf -m: http://pastebin.com/hC7waDmY 3. master.cf: http://pastebin.com/KcPTccCA 4. mysql_virtual_alias_maps.cf: http://pastebin.com/guqFiMQA 5. mysql_virtual_domains_maps.cf: http://pastebin.com/jV1iVEF8 6. mysql_virtual_mailbox_maps.c: http://pastebin.com/UckJ2FQ9 7. mysql_virtual_mailbox_limit_maps.cf: http://pastebin.com/6fkzV9eH 8. mysql_relay_domains_maps.c: http://pastebin.com/TL3y5KwG OTHER CONFIGURATION DETAILS (I have most of my configuration in mysql tables) ==================================== 1. Domain - ascendency.net 2. Server name - patton ------------------------------ Mike Loiterman Email: m...@ascendency.net