LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2014, 10:25 PM   #1
tuanhqit
LQ Newbie
 
Registered: Jun 2014
Posts: 21

Rep: Reputation: Disabled
Postfix can't receive email from external


Hi everybody! My mail server can sent email to external, but can't receive email from any external. I use vps amazon ec2.
Please post what you need with complete how to command (newbie here - sorry)
 
Old 07-30-2014, 07:28 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,403

Rep: Reputation: Disabled
Does the sender get an error message (like "undeliverable"), or does delivery fail silently?

Here's how you check your DNS and firewall setup. Check your MX record with:
Code:
nslookup -q=MX <yourdomain.com>
It should return a fully-qualified hostname (FQDN). If it does, run
Code:
nslookup -q=A <the FQDN returned by the previous command>
It should return the public IP of your VPS. Assuming the IP address is correct, run:
Code:
telnet <the IP address returned by the previous command> 25
If TCP port 25 is open, Postfix should respond with an SMTP message starting with "220".

If all these tests succeed, it's probably a Postfix configuration issue. If the sender doesn't get an error message, check the maillog on your mail server for clues.
 
1 members found this post helpful.
Old 07-30-2014, 10:32 PM   #3
tuanhqit
LQ Newbie
 
Registered: Jun 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Does the sender get an error message (like "undeliverable"), or does delivery fail silently?

Here's how you check your DNS and firewall setup. Check your MX record with:
Code:
nslookup -q=MX <yourdomain.com>
It should return a fully-qualified hostname (FQDN). If it does, run
Code:
nslookup -q=A <the FQDN returned by the previous command>
It should return the public IP of your VPS. Assuming the IP address is correct, run:
Code:
telnet <the IP address returned by the previous command> 25
If TCP port 25 is open, Postfix should respond with an SMTP message starting with "220".

If all these tests succeed, it's probably a Postfix configuration issue. If the sender doesn't get an error message, check the maillog on your mail server for clues.
I can receive email from external. Thank you. But email DKIM (gmail) dkim=neutral (no key for signature) header.i=@
(yahoo) dkim=permerror (no key). How i fix ?
 
  


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
[SOLVED] Postfix/Dovecot: Can't receive external eMails, but I can send to an external address Sebi94 Linux - Server 2 07-05-2013 02:07 PM
POSTFIX Email Can't Receive External Email rkibui Linux - Newbie 5 02-22-2009 06:45 AM
POSTFIX Email Can't Receive External Email carlosinfl Linux - Server 2 10-15-2007 07:00 AM
not able to receive email, postfix inq Robin01 Linux - General 6 01-07-2005 08:16 AM
Postfix can't receive external mail kantoboy Linux - Networking 4 09-03-2004 12:57 PM


All times are GMT -5. The time now is 08:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration