postfix-users June 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: dyndns adsl port forward

Re: dyndns adsl port forward

From: mouss <mouss_at_nospam>
Date: Mon Jun 28 2010 - 22:54:54 GMT

Basanta shrestha a écrit :
> Dear All,
> CentOS 5.2
> Followed and installed
> postfix dovecot system-switch-mail system-switch-mail-gnome

please note that centos docs are under centos responsibility. here, the
docs are on anything else is unsupported (aka: use at
your own risk).

> Local delivery and local receipt works ok. Couldn't send email to
> external mail using as smtp server.

I don't understand this. do you mean you can't send mail to external
domains when you use a local ( postfix? if so, show the error
message and logs.

> Now trying to make my computer a full fledged mail server. I am behind ADSL NAT
> got a dyndns address
> In adsl router, configured the above address, port forward tcp port
> 110 to 192.168.0.x ( x being ip address of my computer)
> can resolve to ADSL WAN IP address.

110? that's not smtp. please take the time to learn about smtp, pop3 and
imap. these are completely different things. postfix only implements smtp.

> hostname of the computer set to
> /etc/postfix/
> myhostname =
> mydomain =
> myorigin = $mydomain
> inet_interfaces = all
> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
> mynetworks =,
> relay_domains =
> home_mailbox = Maildir/

I see nothing wrong here.

> nmaping
> 22/tcp open ssh
> 25/tcp open smtp
> 110/tcp open pop3
> 111/tcp open rpcbind
> 143/tcp open imap
> 735/tcp open unknown
> 993/tcp open imaps
> 995/tcp open pop3s
> Can't get to send mail outside the system nor receive from external
> mail like using smtp/pop3 as

in this list, the protocol is smtp. as long as you have problems with
other protocols, we can't help you. since pop3 is easier, you should
find a solution for that first. maybe it's your firewall(s) or your ISP

anyway, if you think you have a postfix related problem (I doubt that.
your config looks correct), then please show relevant logs.