Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks

Tags
bounced, dbmail, email, postfix

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 17:51
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 12:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.