LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2007, 03:57 AM   #1
shio
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 = 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_domains =
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
 
Old 10-05-2007, 05:01 AM   #2
shio
LQ Newbie
 
Registered: Jul 2007
Posts: 19

Original Poster
Rep: Reputation: 0
anyone? please help. thanks
 
Old 10-05-2007, 06:01 AM   #3
yongitz
Member
 
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?


::edit::

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 user@mail.example.com and postfix will accept it.

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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