Registered: Dec 2003
Distribution: Cent OS 4.1
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: i43EkDJ19175: from=<email@example.com>, size=527, class=0, nrcpts=1, msgid=<firstname.lastname@example.org>, proto=SMTP, daemon=MTA, relay=web41205.mail.yahoo.com [188.8.131.52]
sendmail: i43EkDJ19175: to=<email@example.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: i43EkDJ19175: to=<firstname.lastname@example.org>, 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: i43EkDJ19175: to=<email@example.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: 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:
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.