[Pkg-exim4-users] exim4 behind firewall and port forwarding.

Kenneth Johansson kenjo123 at gmail.com
Thu Jul 4 03:05:49 UTC 2013


I'm trying to setup exim4 on a computer that is behind a firewall where 
the firewall has a public ip and is doing port forwarding to the 
internal machine that is running exim4.

is this possible ???

reason I ask is that I cant get exim4 to recognize the domain to be a 
local deliver no matter what I do.

I have used exim on debian for 10+ years but been running it on the 
computer with the public ip before and never had a problem.
-----------

if possible I really do need some help on the configuration as I'm 
getting nowhere(after several weeks tinkering).

I do have a bind server for the internal networks so I can set the ip 
and dns names to whatever I need the exim4 server to see.

so the domain I'm trying to setup is kenjo.org. exim is running on 
mail.kenjo.org that resolves to an internal ip (172.16.0.x)
----------------
exim -bt ken
R: dnslookup for ken at kenjo.org
LOG: MAIN
   remote host address is the local host: kenjo.org (while routing 
<ken at kenjo.org>)
ken at kenjo.org cannot be resolved at this time: remote host address is 
the local host
-------------------
so it for some reason is thinking that ken at kenjo.org is a remote 
address. I tried to trick it by having the dns point kenjo.org to the 
same ip as mail.kenjo.org that do not help.

The main problem is that it for some reason refuses to recognize that 
kenjo.org should be a local delivery but I don't understand why and 
tried to work around that by doing dns trix.

this is on a new debian 7 installation.








More information about the Pkg-exim4-users mailing list