Autor: Heiko Schlittermann Fecha: A: exim-users Asunto: Re: [exim] receiving mail on exim behind a :25 port firewall ..
Hello Dani,
dani <dani@???> (Fr 26 Nov 2010 17:15:20 CET): > hello,
> i would like to ask the community if there is anything i can do in the
> following situation:
>
> 1. linux server at home, behind a small router connected via a pppoe
> firewalled connection with dynamic allocated ip address (i can send
> emails fine behind the router, but i cant receive, my :25 port is
> firewalled by isp, that cannot change unfortunately.)
>
> 2. linux server hosted on a public static ip, full access on the
> machine, exim configured and running there.
>
> is there any way i can set up the two exims to be able ro receive mail
> at home, on the firewalled linux ? i have full access on my domain dns
> records aswell..
If you set your external linux box as your primary (and probably only)
MX, you have a lot of possibilities to forward the mail from there to
your home box.
If you'd like to forward it as SMTP, you should consider some type of VPN
between the external and the home box, since all the dyndns games are
fragile and you might end up forwarding your mails to some other than
your home box.
(If you insist on forwarding SMTP directly routed via some dyndns entry,
you should consider using TLS and check the certificate of the
destination carefully.)
If you use some VPN (even ad-hoc VPN via SSH tunnel should work), the
port issue ist not important anymore. If you do not use a VPN, you might
"escape" to some other port. The receiving exim can listen on any port
you want and the sending exim can be told that the home box is on some
other than the default port.
You do not find any detailed configuration in this mail - I do not know
anything about your level of experience :-). Please ask if you need more
information.
Note: sooner or later you will experience problems in sending your mail
to the outside world, since dynamic IP addresses tend to appear on
blacklist (just because they are dynamic).