Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 23rd October 2006, 22:26
PToN PToN is offline
Junior Member
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix+MySql running on a non default port


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[2253]: k9NIFXMA002253: from=<other_user@remotedomain.com>, size=1043, class=0, nrcpts=1, msgid=<C1626DFB.367%other_user@remotedomain.com>, proto=ESMTP, daemon=MTA, relay=[]
Oct 23 13:15:34 mail sendmail[2255]: k9NIFXMA002253: to=<user@myhouse.com>, ctladdr=<other_user@remotedomain.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...

Any ideas..?

Reply With Quote
Sponsored Links
Old 24th October 2006, 22:00
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Originally Posted by PToN
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...?
You can't because all mail servers communicate with each other on port 25...
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 25th October 2006, 17:17
PToN PToN is offline
Junior Member
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

On that tutorial the part that says to modify /etc/pam.d/smtpd.conf, if i change that to pam_krb5.so and make it authenticate against my AD right...?

has anyone tried that...?

Reply With Quote


Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig running on default web server (port 80) geek.de.nz Installation/Configuration 3 31st March 2008 11:32
Default Mail scan settings for new users timehost Installation/Configuration 3 26th October 2007 13:05
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36
postfix courier-auth authmysql change mysql port kasper22 HOWTO-Related Questions 3 30th July 2006 14:21
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 23:40

All times are GMT +2. The time now is 14:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.