[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim4 + port forwarding



Kumar Appaiah wrote:

On Wed, Sep 07, 2005 at 06:33:28AM -0700, James Vahn wrote:

Kumar Appaiah wrote:

Dear list,
I have been using fetchmail + procmail + exim4 to handle my mail. I
have a setup by which certain messages are received by procmail, and a
copy of some is forwarded to another address automatically.

Now, recently, due to excessive spread of viruses on the network due
to a popular but highly vulnerable mail client on a popular but
vulnerable OS (need I say more ;-), port 25 requests have ben blocked
for good! That means, exim can't forward my messages anymore.

By this I think you are saying that exim on localhost is connecting
to other servers directly instead of using a "smart host" - your ISP.
Relay your forwarded messages through him.


No, let me make it clear.

The problem is that all my requests to the smarthost's port 25 are
blocked. So, I try to ssh to another computer, forward the port 25 of
that SMTP server to port 10025 on my computer, and tell exim to use
localhost and port 10025 as the smart host; but exim refuses to
relay the mail through localhost, though it is actually a forwarded
port.

Can you connect to port 25 or 10025 on that remote computer you ssh to? If so, you can use that as smarthost in exim and instruct that computer to forward to the SMTP-server.

--
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven



Reply to: