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 20th July 2010, 11:06
taylor-made taylor-made is offline
Junior Member
 
Join Date: Feb 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (mdv2010)

I'm sure this is probably a simple fix, but darned if I can find it on my own. Here are the details:

I followed the instructions in falko's most excellent Virtual Users And Domains with Postfix, Courier, MySQL, And SquirrelMail (Mandriva 2010.0 x86_64) guide to upgrade my server from Mandriva 2008 (which had been installed according to the earlier Mandriva 2008 flavor of the same guide), making suitable changes to installed package names to account for using the 32-bit version on my server (well, it's not a 64-bit cpu...) of course. The MySQL database for this installation is a restored backup (from an exported .sql file) of the database from the old installation, and all of its data is in good order. Essentially I'm migrating a server to a new OS, but starting with a clean install and restoring backed-up databases where needed.

Everything seems to work satisfactorily except this: e-mail sent to addresses in the forwardings table get bounced. The error message from the log is as follows:

Quote:
Jul 20 00:17:37 mail postfix/virtual[30375]: 060862D471: to=<homebrew@taylor-madeak.org>, relay=virtual, delay=0.05, delays=0.03/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "homebrew@taylor-madeak.org")
After digging around through this forum for a while, I tried one suggestion and commented out the receive_override_options = no_address_mappings line in main.cf and reloaded Postfix. Then I sent another test e-mail to myself, with the following result:

Quote:
Jul 20 00:22:00 mail postfix/virtual[30581]: 0940B2D471: to=<repairman@taylor-madeak.org>, orig_to=<homebrew@taylor-madeak.org>, relay=virtual, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Voila! Forwarding now works! But...none of my e-mails seem to have amavis/spamassassin/clamav headers written into them by the server. Now, the guide said that the line I commented out had to do with getting e-mails processed through amavis, so I figured this is probably a problem with amavis. Checking on amavis with the start script got this result:

Quote:
amavisd dead but subsys locked
So, I went through all of the steps for setting up amavis again, just to double-check the files and make sure I didn't have any typos. I even went so far as to cat > /dev/null the contents of amavisd.conf and then paste the entirety of falko's configuration text into it (from the text window near the end of page 3), then making the necessary database username and password changes. I also repeated the steps for initializing Razor and Pyzor (with no errors reported). After that, I deleted the amavisd pid files and restarted amavisd. This time it stayed running:

Quote:
amavisd (pid 31907 31906 31898) is running...
After that, I uncommented the receive_overrides_options line from main.cf, restarted Postfix and sent another test e-mail. Same problem: the test e-mail bounced with the exact same logged error quoted above.

I'm stumped! Does anyone have any suggestions on where I may have screwed up? I'm sure there's a mistake I've made here somewhere, but darned if I can find it! I'd sure appreciate a bit of sage advice right about now.
Reply With Quote
Sponsored Links
 

Bookmarks

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
Update for Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail de Freitas HOWTO-Related Questions 6 7th July 2010 22:49
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10) keyslapper HOWTO-Related Questions 4 20th April 2010 15:46
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.04) Master One HOWTO-Related Questions 4 1st July 2009 15:38
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny ChristianFe HOWTO-Related Questions 2 14th April 2009 15:14
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10) VTCop HOWTO-Related Questions 9 9th April 2009 16:17


All times are GMT +2. The time now is 14:21.


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