View Single Post

  #2 (permalink)  
Old 09-09-2004
Christian Schmidt
 
Posts: n/a
Default Re: changed port, no delivery ???

Hello Chris,

Chris Fortune schrieb/wrote:

> I changed /etc/services/ to run tcp and udp SMTP connections on port 125.
> I ran ASSP (Anti Spam Server) on port 25, and it relays good messages to
> Exim on port 127.0.0.1:125


How do the corresponding lines of /etc/services look like in detail?

> Incoming mail works great, but OUTGOING MAIL FAILS WITH "Connection Refused
> (111)".
>
> I believe that Exim is attempting to send outgoing mail on port 125!!!


That has probably been caused by changing
smtp 25/tcp
to
smtp 125/tcp

I would recommend you to use the following combination instead:
smtp 25/tcp
smtp-exim 125/tcp

When you add the line
daemon_smtp_port = smtp-exim
to your exim.conf, exim will listen on port 125 for incoming mail, but
won't get confused when contacting other servers' SMTP (!) port.

Regards,
Christian
--
Christian Schmidt | Germany | ChriSchmiLi@gmx.de
PGP Key ID: 0x28266F2C
Reply With Quote