[Exim] exim through ssh tunel

Etusivu
Poista viesti
Vastaa
Lähettäjä: Hans Ginzel
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] exim through ssh tunel
    Hello.

How to configure exim, to send mails through an ssh tunel?

   I open the tunel:
    ssh -2 -N -f -L 9095:unix.outside.com:25 unix.outside.com


In exim.conf I set:

# This transport is used for delivering messages over SMTP connections.
remote_smtp:
driver = smtp
port = 9095
allow_localhost = true

end

smarthost:
driver = domainlist
transport = remote_smtp
route_list = "* localhost bydns_a"

end


    Though option allow_localhost is set, there is in the log:


2001-06-26 14:59:59 15EruJ-0000hT-00 remote host address is the local
host: volny.cz
2001-06-26 14:59:59 15EruJ-0000hT-00 == ginzel@??? R=smarthost
defer (-1): remote host address is the local host

    The address volny.is not a local address.


I run Exim version 3.22 #1 built 10-Apr-2001 00:19:18
on Debian Woody.


    Thanks
                    Hans Ginzel