Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-03-2004, 12:27 PM   #1
Registered: Dec 2003
Distribution: Cent OS 4.1
Posts: 38

Rep: Reputation: 15
Sendmail, domain routing to Postfix (Problems)


Does anyone know how to route mail from Sendmail to Postfix? My primary server is running Sendmail. I setup a test server, and first tried routing mail to its Sendmail installation. Ok, that works. I shut down Sendmail, (on the test server), and fired up Postfix. UghÖ Unfortunately, after 3 longs days, Postfix refuses to accept mail, which is being forwarded to it from Sendmail, ( on my primary server).

Hereís what the log says on my (primary server) when it tries to route mail to my test server, which is running Postfix:

sendmail[19175]: i43EkDJ19175: from=<>, size=527, class=0, nrcpts=1, msgid=<>, proto=SMTP, daemon=MTA, []
sendmail[19177]: i43EkDJ19175: to=<>, delay=00:00:00, xdelay=00:00:00, mailer=smtp, pri=30527, relay=[] [], dsn=4.0.0, stat=Deferred: Connection refused by []
sendmail[19233]: i43EkDJ19175: to=<>, delay=00:05:41, xdelay=00:00:00, mailer=smtp, pri=120527, relay=[] [], dsn=4.0.0, stat=Deferred: Connection refused by []
sendmail[19739]: i43EkDJ19175: to=<>, delay=00:52:24, xdelay=00:00:00, mailer=smtp, pri=210527,, dsn=5.3.5, stat=Local configuration error
sendmail[19739]: i43EkDJ19175: i43FcAa19739: DSN: Local configuration error]

For some unknown reason, the test server with Postfix refuses to accept the mail being routed from my primary server with Sendmail. Again, if I shut Postfix down, (on the test server), and fire up Sendmail, then mail routed to the test server is successful.


This is how Iím routing mail to Postfix through my primary server:

Go to Webmin Ėsendmail-- Ėselect domain routing, and enter this: smtp:[]

Again, this works as it should if I run the Sendmail MTA on the test server. If I run Postfix, it will then refuse connections.

I suppose the problem is, how to tell Postfix to accept the routed requests from Sendmail on my primary server. Iíve messed with every possible setting in the Postfic file, but to no avail.

Sorry if this sounds confusing. Iíve tried to simplify the explanation the best way I could. If it helps, Iím running a DSL connection, with a Linksys router. My primary server is, and my test server (with Postfix) is on Iíd like to move to Postfix, but I need to test it beforehand on the test server.

Anyone that can actually understand what Iím trying to do here would be a real help right now.


Dave H


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain causing Sendmail and Apache problems? Nylex Linux - Networking 0 07-29-2005 11:49 AM
mail, sendmail, postfix problems colabus Linux - Newbie 0 10-21-2004 02:36 AM
Domain Routing to Postfix from Sendmail = Wrong IP information in Mail Logs! dholingw Linux - Networking 2 05-20-2004 11:06 AM
postfix and virtual domain problems... MadOtis Linux - Software 1 04-28-2004 08:23 AM
Majordomo/Postfix/Sendmail problems Sam_Charette Linux - Newbie 0 04-18-2003 10:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration