-   Linux - Networking (
-   -   postfix mail server cant receive mail outside LAN (

shio 10-05-2007 02:57 AM

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

shio 10-05-2007 04:01 AM

anyone? please help. thanks

yongitz 10-05-2007 05:01 AM

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.

All times are GMT -5. The time now is 03:50 AM.