LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-10-2004, 10:03 AM   #1
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Rep: Reputation: 15
Im cant receive mails!!!!


Hi, i have postfix as mta, and i can send mails trough it with my domain address, but i canīt receive them, none of the mails that people send to my domain are getting to me, i know that postfix only handle smtp so technically speaking it only handle sending mails, and pop handles mail receiving. Fact is that im not been able to receive no mails. Maybe im doing something wrong????

Help me please im really driving insane with this stuff!!!

Thanks.
Emilio.

PS: some details about my server, Is a PIII 512mb ram, Mandrake 9.2, adsl, dynamic ip updating with ddclient, postfix as mta, imap and pop the ones that came with mandrake.
 
Old 05-10-2004, 10:19 AM   #2
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Rep: Reputation: 30
well first off can you confirm that your DDNS is working ok? I've never used it but this is the first place i'd look. Basically is your ip always being referenced to your domain name?
If it is do you use a firewall? Again if so is it configured to allow port 25 through?
If yes can you confirm your ISP allow port 25 inbound? (mine dont unless you can prove your not an open relay)
Check all these things first.
You say you can send email ok? so i guess this part is ok. Oh and have you got the correct MX records in place wthin DNS wherever it is?

I'm no expert but i've configured all these services on my home network but i use static ips
 
Old 05-10-2004, 10:21 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Well, that isn't exactly true. The SMTP server is what recieves mail to your machine as well. POP and IMAP give you access to your mbox or maildir once the mail is already on the system.

Postfix is very picky about who it will except mail for. Make sure your configuration files are setup so it'll recieve mail for your domain. I think by default postfix rejects all non-local mail.
 
Old 05-10-2004, 10:43 AM   #4
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by GraemeK
well first off can you confirm that your DDNS is working ok? I've never used it but this is the first place i'd look. Basically is your ip always being referenced to your domain name?
If it is do you use a firewall? Again if so is it configured to allow port 25 through?
If yes can you confirm your ISP allow port 25 inbound? (mine dont unless you can prove your not an open relay)
Check all these things first.
You say you can send email ok? so i guess this part is ok. Oh and have you got the correct MX records in place wthin DNS wherever it is?

I'm no expert but i've configured all these services on my home network but i use static ips

Thanks for the quick reply!!

Yes, DNS is working fine, i can tell you because my website can be reached normally, and because i check the account periodically to see if ip is updated ok and it is. Its exaclty how you say DYNDNS only update my op and point it to my host.

Yes, i use a firewall, and here its where iam starting to get confused, i send you the part that opens port for mail server:

ACCEPT loc fw tcp 25
ACCEPT fw net tcp 25
ACCEPT loc fw udp 25
ACCEPT fw net udp 25

#
ACCEPT net fw tcp 110
ACCEPT loc fw tcp 110
ACCEPT net fw udp 110
ACCEPT loc fw udp 110
ACCEPT loc net tcp 110
ACCEPT loc net udp 110
ACCEPT fw net tcp 110
ACCEPT fw net udp 110

Also, iīve checked that my isp donīt block port 25, at list that what they told me. And the MX records im not friendly with DNS configuration so i let DYNDNS support team to set it for me, and i guess its ok.

Hope that this info helps!!!
Thanks again
 
Old 05-10-2004, 10:50 AM   #5
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jtshaw
Well, that isn't exactly true. The SMTP server is what recieves mail to your machine as well. POP and IMAP give you access to your mbox or maildir once the mail is already on the system.

Postfix is very picky about who it will except mail for. Make sure your configuration files are setup so it'll recieve mail for your domain. I think by default postfix rejects all non-local mail.

Thanks you too, for the fast reply, i told you what "experts" at postfix maillist told to me, personally i think like you, but all of them told me the same thing.

I post here my postconf results:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_privs = nobody
delay_warning_time = 4
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydomain = estudioviegas.com.ar
myhostname = estudioviegas.com.ar
mynetworks = 127.0.0.0/8, 90.0.0.0/24
myorigin = $mydomain
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.13/README_FILES
relayhost = smtp.ciudad.com.ar
sample_directory = /usr/share/doc/postfix-2.0.13/samples
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
unknown_local_recipient_reject_code = 450


Hope this helps!!

Thanks.
 
Old 05-10-2004, 04:53 PM   #6
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Original Poster
Rep: Reputation: 15
Hey guys, its working now, i changed the firewall configuration by letting net packets in the firewall but anyway i would like to know how should i really configure it. So, if any of you want to add something to clear it up it would be great!

Thanks all
 
Old 05-11-2004, 04:34 AM   #7
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Rep: Reputation: 30
glad to hear it wasnt a MTA problem. I cant help you i dont use iptables or similar for FW protection.

Regards,

G
 
  


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
mail server: just send mails out, but not receive hamish Linux - Software 4 02-27-2005 12:06 PM
postfix with NAT ip .I can receive mails adengua Linux - Software 0 10-23-2003 10:33 AM
not able to receive mails ssrikant Linux - Networking 4 05-05-2003 03:54 PM
sendmail-8.12.6 cant receive incoming mails katana Linux - General 3 01-01-2003 11:14 PM
Cannot receive mails from certain domains/sites Fluffybunny Linux - General 0 09-13-2002 09:04 AM


All times are GMT -5. The time now is 10:30 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration