Postfix / DBmail delivery issue.
Hi, I am currently setting up a server that uses Postfix and DBmail to store email accounts for a wide variety of domain names.
Basically, I just want postfix to deliver whatever email it receives to DBmail if dbmail has the email address in its alias or usernames table.
I followed the dbmail guide, and originally left local_receipient_maps empty and added the mailbox_transport to use the dbmail-lmtp i set up in the master.cf file.
I then set up two dbmail users with the username the same as the mail alias. For the purposes of this thread, I will call them email@example.com and firstname.lastname@example.org.
Now the DNS records for domain1 point to the server's IP, this includes of course the MX record. The DNS record for domain2 only has the MX record pointing at the server's IP. However, using the settings described by dbmail, upon receiving an email for the above aliases/usernames Postfix Rejects the email saying "relay access denied".
I managed to sort this out by creating a new database table for allowed domains for the mydestination field. Now however, though it receives the mail - it bounces it and forwards it to the root account.
I have been search google, and cannot find any information.
I fixed it
I fixed it
All I had to do was change mailbox_transport to virtual_transport and provide a mysql lookup to a domain table for the virtual domains.
|All times are GMT +2. The time now is 16:03.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.