[Pkg-exim4-users] Re: Can not send mail to SMTP port 2525

Marc Haber mh+pkg-exim4-users@zugschlus.de
Thu, 5 May 2005 16:58:05 +0200

On Fri, May 06, 2005 at 02:57:22AM +0700, PRAN Boonrasri wrote:
> To:  pkg-exim4-users@lists.alioth.debian.org, 
>  ametzler@downhill.at.eu.org,  mh+pkg-exim4-users@zugschlus.de

Why the Cc:? Are you afraid that we don't read our mailing list?

> Subject: Can not send mail to SMTP port 2525
> I am having difficulties to setup my MTA to listen to the port 2525 
> instead of 25.

Sending and listening are two different things.

> I have set the transport section to send mail to server on port 2525 but 
> seem to be I setup in the wrong please.

> Starting MTA: exim4.
> 2005-05-06 02:41:04 exim 4.50 daemon started: pid=5274, -q30m, listening 
> for SMTP on port 25 (IPv6 and IPv4)

That one shows that your daemon listens on Port 25. If you want it to
listen on a different port, setup /etc/default/exim4 to listen on that
other port. You need the -oX option, and to give exim the path to the
pidfile then, otherwise the init script will explode in your face.

Your config looks fine for sending to Port 2525. I don't get why you
chose to ditch the entire automatic configuration just to change the
target port, but that's of course your prerogative.

Since you're consistently mixing up mail transmission and mail
reception, I'd like to suggest to either think more to get clear about
what you want, or to describe your goals more clearly.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835