Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 3rd November 2009, 00:35
Technoh Technoh is offline
Junior Member
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs

This is not a question - more a comment and explanation for future reference, in case someone with the same problem searches these forums for an answer.

I followed the Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV) HowTo (see http://www.howtoforge.com/virtual_po..._quota_courier). Everything worked fine except for mail delivery to virtual accounts. I had the following error in my log files:

Code:
Nov  2 17:21:10 server postfix/local[28147]: A7E502342AF: to=<inquiry@mydomain.com>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "inquiry")
My problem was that in my /etc/postfix/main.cf file, I had the following

Code:
mydestination = mail.mydomain.com, mydomain.com, localhost, localhost.localdomain
Where mydomain.com (not my real domain...) is my main domain name and mail.mydomain.com the FQDN of the server. To fix the issue, I had to remove mydomain.com from the main.cf mydestination directive and put it into the domains table of the MySQL database. After that everything was working flawlessly.

Thanks Falko for this great HowTo!
Reply With Quote
The Following User Says Thank You to Technoh For This Useful Post:
falko (3rd November 2009)
Sponsored Links
 

Bookmarks

Tags
main.cf, mysql, postfix, virtual

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
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs k1piee HOWTO-Related Questions 14 1st October 2006 13:46
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs hdtpsi HOWTO-Related Questions 10 24th September 2006 13:52
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 03:39
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs Rocky Installation/Configuration 24 9th February 2006 11:08
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs skluz Installation/Configuration 10 16th January 2006 09:01


All times are GMT +2. The time now is 23:50.


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