LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 05-03-2004, 11:27 AM   #1
dholingw
Member
 
Registered: Dec 2003
Distribution: Cent OS 4.1
Posts: 38

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


Hello.

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=<me@yahoo.com>, size=527, class=0, nrcpts=1, msgid=<20040503144650.8553.qmail@web41205.mail.yahoo.com>, proto=SMTP, daemon=MTA, relay=web41205.mail.yahoo.com [66.218.93.38]
sendmail[19177]: i43EkDJ19175: to=<postfix-test-server@domain.com>, delay=00:00:00, xdelay=00:00:00, mailer=smtp, pri=30527, relay=[192.168.1.201] [192.168.1.201], dsn=4.0.0, stat=Deferred: Connection refused by [192.168.1.201]
sendmail[19233]: i43EkDJ19175: to=<postfix-test-server@domain.com>, delay=00:05:41, xdelay=00:00:00, mailer=smtp, pri=120527, relay=[192.168.1.201] [192.168.1.201], dsn=4.0.0, stat=Deferred: Connection refused by [192.168.1.201]
sendmail[19739]: i43EkDJ19175: to=<postfix-test-server@domain.com>, delay=00:52:24, xdelay=00:00:00, mailer=smtp, pri=210527, relay=mydomain.com., 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.

Configuration:

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

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

postfix-test-server.com smtp:[192.168.1.201]

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 main.cf 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 192.168.1.200, and my test server (with Postfix) is on 192.168.1.201. 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.

Thanks,

Dave H
 
  


Reply


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 10:49 AM
mail, sendmail, postfix problems colabus Linux - Newbie 0 10-21-2004 01:36 AM
Domain Routing to Postfix from Sendmail = Wrong IP information in Mail Logs! dholingw Linux - Networking 2 05-20-2004 10:06 AM
postfix and virtual domain problems... MadOtis Linux - Software 1 04-28-2004 07:23 AM
Majordomo/Postfix/Sendmail problems Sam_Charette Linux - Newbie 0 04-18-2003 09:54 AM


All times are GMT -5. The time now is 06:22 AM.

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