Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-05-2007, 03:57 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 19

Rep: Reputation: 0
postfix mail server cant receive mail outside LAN

Hi ALl,

my email server able to send mail but cant receive any mail from outside LAN.

my mailserver do not have fixed ip but use ddns.

here is my postfix conf

myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination =,localhost,localhost.localdomain
relayhost =
mynetworks =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/,mysql:/etc/postfix/
virtual_mailbox_domains = mysql:/etc/postfix/
virtual_mailbox_maps = mysql:/etc/postfix/
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
transport_maps = mysql:/etc/postfix/
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = The user you trying to reach is over quota.
virtual_overquota_bounce = yes
content_filter = amavis:[]:10024
receive_override_options = no_address_mappings

thank and hope for helping hands
Old 10-05-2007, 05:01 AM   #2
LQ Newbie
Registered: Jul 2007
Posts: 19

Original Poster
Rep: Reputation: 0
anyone? please help. thanks
Old 10-05-2007, 06:01 AM   #3
Registered: Nov 2005
Location: Davao City, Philippines
Distribution: RHEL, CentOS, Ubuntu, Mint
Posts: 139

Rep: Reputation: 20
do u have a firewall installed? my guess is that firewall is blocking packets from/to port 25.
what errors do you see in the maillog if there's any and what error do you receive from sending mail from the internet? was it bounced?


oopps!! there is something wrong with your configuration. your mydestination line is i gez at fault.. try adding to your mydestination line and test it.. or if you want to keep it dat way try sending mail from the internet to and postfix will accept it.

Last edited by yongitz; 10-05-2007 at 07:04 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 11:06 PM
Postfix, receive e-mail chartism Linux - Server 2 09-01-2006 12:23 AM
Postfix Mail Server, OE can't receive but Webmail can read rickylim *BSD 2 03-14-2006 04:09 AM
Postfix can't receive mail kelper Linux - Software 6 05-17-2004 10:43 PM
cannot receive email from mail server installed with postfix charles168 Linux - Software 4 08-15-2003 03:06 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration