View Single Post
  #1  
Old 5th February 2009, 17:19
touchtecservers touchtecservers is offline
Junior Member
 
Join Date: Feb 2009
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default 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 user1@domain1.com and user2@domain2.com.

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.

Please help.
Reply With Quote
Sponsored Links