Member
Registered: Dec 2003
Distribution: Cent OS 4.1
Posts: 38
Rep:
|
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
|