i have set up server1 with Postfix+MySQL+Courier+TLS on RHEL4 and everything works five, but recently i was asked to add a server2 that doesnt requiere any authentication from local users and it must be on port 25..
So the server2 is installed and it runs sendmail; all the needed local pcs are able to send mail with no problems...
But on my nice setup on server1 connections get rejected. I changed the port from 25 to 125 and i am able to send emails with no problems, but i cant receive any mail. If i check the logs i see no attempts of connection on server1, but if i go to a server3 and send mail from it i see the following line:
sendmail: k9NIFXMA002253: from=<firstname.lastname@example.org>, size=1043, class=0, nrcpts=1, msgid=<C1626DFB.email@example.com>, proto=ESMTP, daemon=MTA, relay=[192.168.0.113]
Oct 23 13:15:34 mail sendmail: k9NIFXMA002253: to=<firstname.lastname@example.org>, ctladdr=<email@example.com> (500/500), delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=31043, relay=server1.myhouse.com. [xx.xx.xx.xx], dsn=4.0.0, stat=Deferred: Connection refused by server1.myhouse.com.
So my question is: How cant i get this tutorial (http://www.howtoforge.com/virtual_po..._quota_courier
) to work on a port other than 25...? I check the router and firewall and none of them are blocking the port, also if i go to a remote computer and "telnet server1.myhouse.com 125" it works, it iw able to connect with no problems.. but again, if i send email from a remotedomain to myhouse.com the connection get refused...