Re: [exim] Relaying coming from port 2525

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Markus Mayer
日付:  
To: Tim Jackson
題目: Re: [exim] Relaying coming from port 2525
On Thursday, 06 Apr 2006 12:05 +0100, Tim Jackson wrote:

> Markus Mayer wrote:
>
> > I have Exim listen on Port 25 and redirect port 2525 to port 25 as
> > well.
>
> How do you "redirect" port 2525 to 25? With a firewall rule?


Iptables, yes.

> You can use Exim's daemon_smtp_ports option to make it listen on more
> than one port.


I'll give that a shot.

> > It looks like Exim outright denies relaying whenever the
> > source-port of a connection is not 25, regardless of whether the IP
> > address is listed in relay_from_hosts or not.
>
> The command "exim -bh X.X.X.X" where X.X.X.X is the source IP
> (possibly in conjunction with the -oMi option) can be handy here. See
> the docs for more details.


These tests both worked. Without specifying the port I didn't expect
otherwise, but even using -oMi it works.

> My best guess is that the source IP is getting translated by whatever
> means you're using to "redirect" the port along the way.


I guess you are probably right here.

Thanks!

Regards,
Markus