postfix mail server cant receive mail outside LAN
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 = mail.example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.example.com,localhost,localhost.localdomain
relayhost = my.isp.com
mynetworks = 192.168.2.0/24 127.0.0.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf,mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
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/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
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:[127.0.0.1]:10024
receive_override_options = no_address_mappings
thank and hope for helping hands
anyone? please help. thanks
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 example.com to your mydestination line and test it.. or if you want to keep it dat way try sending mail from the internet to email@example.com and postfix will accept it.
|All times are GMT -5. The time now is 11:34 AM.|