exim on ssh tunel
Hans Ginzel
hans@kolej.mff.cuni.cz
Tue, 26 Jun 2001 15:08:52 +0200
Ahoj.
Jak primet exim, aby posilal postu pres ssh tunel?
otevru tunel:
ssh -2 -N -f -L 9095:unix.venku.cz:25 unix.venku.cz
V exim.conf:
# 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
I pres volbu allow_localhost je v logu stale:
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@volny.cz R=smarthost
defer (-1): remote host address is the local host
Rozhodne volny.cz neni lokalni adresa.
S diky
Hans Ginzel