OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Problems receiving email - external and internal

From: mouss (usebsdfree.fr)
Date: Mon Aug 01 2005 - 15:13:09 CDT


jmena wrote:

> Hello,
>
> i have problem with a mail server running postfix, suddenly i can't
> receive any mail from outside to local accounts and from inside to
> local accounts, i can reach the server from the outside and the inside
> networks, i can send email from inside to any other outside domain,
> but i can't receive mail from local domains and outside domains, my
> internet access is via cable modem and i have a linksys router making
> forwarding to my internal address (192.168.1.2), the problem is that
> is trying to delivery mail to the external address, how can i solve
> this issue ? here the output for hosts:
>
> web:/var/log # hostname
> web
> web:/var/log # hostname -i
> 192.168.1.2
> web:/var/log # more /etc/hosts
> 127.0.0.1 localhost
> 192.168.1.2 web.pcc.com.ni web

your postfix is trying to connect to 165.98.153.157 instead of
delivering mail locally. I guess this is your external IP. if so, set
proxy_interfaces = 165.98.153.157