LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-26-2014, 05:37 PM   #1
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Rep: Reputation: 30
postfix open relay


on the site http://mxtoolbox.com/diagnostic.aspx appears in orange:

SMTP Server Disconnected May be an open relay.

How do I fix this problem?

my main.cf

Last edited by stomach; 06-27-2014 at 09:19 PM.
 
Old 06-26-2014, 07:50 PM   #2
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Original Poster
Rep: Reputation: 30
help please

Last edited by stomach; 06-26-2014 at 09:06 PM.
 
Old 06-27-2014, 08:11 AM   #3
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Original Poster
Rep: Reputation: 30
The orange icon is not open relay problem?

http://mxtoolbox.com/diagnostic.aspx
 
Old 06-27-2014, 08:50 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by stomach View Post
help please
Please be aware that this is a VOLUNTEER FORUM...coming back and bumping your own thread after 2 hours doesn't get you an answer any quicker. It's fairly rude, and all you succeeded in doing is removing your post from the zero-reply list, making it LESS VISIBLE, and less likely to be answered.

The free tests are worth every penny you're paying, and if you have any questions about those test, you should contact the owners/operators of them. The postfix documentation is fairly extensive:
http://www.postfix.org/SMTPD_ACCESS_README.html

..have you read through it, regarding relaying? And there are thousands of easily-found documents regarding postfix relaying, since you're obviously in a hurry. Adding:
Code:
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sender_restrictions = reject_unknown_sender_domain
reject_unknown_sender_domain
...to your configuration would do the trick. Bear in mind that if you read some of the comments from the mxtoolbox forums, you'd see that many others get false positives for this very test.
http://community.mxtoolbox.com/forum...hp?f=5&t=12413
 
Old 06-27-2014, 10:20 AM   #5
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Original Poster
Rep: Reputation: 30
I noticed that the orange is not open...

Code:
More Information About Smtp Server Disconnected
We were able to connect to your email server on port 25 but your server disconnected before we sent a QUIT command.  This may be due to a network problem, or could be an anti-spam feature of your email system.
false-positive ?

How do I get green on the test?
 
Old 06-27-2014, 11:55 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by stomach View Post
I noticed that the orange is not open...
Code:
More Information About Smtp Server Disconnected
We were able to connect to your email server on port 25 but your server disconnected before we sent a QUIT command. 
This may be due to a network problem, or could be an anti-spam feature of your email system.
false-positive ?
How do I get green on the test?
Again, you should contact the people who run that website/tool, and ask them. We have NO IDEA what they do, why, or how. If you put the configuration lines as they were given to you in your configuration, and restart postfix, you won't be running an open relay.

That said, did you understand the message from the 'test'? It says specifically that your server disconnected, which could be an anti-spam feature of your mail system. That is basically saying that while they could CONNECT, they couldn't DO anything...meaning you don't have an open relay, and (again), the test is bringing back a false positive...and that's why.
 
  


Reply



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
Postfix mynetwork open relay threed Linux - Server 1 06-21-2012 09:09 AM
Postfix Relay Getting Spammed Bad -- But no open relay... ihod2008 Linux - Server 1 07-26-2008 08:24 PM
Postfix, open relay vimal Linux - Networking 3 09-01-2006 12:35 PM
Spam, PostFix, OPen Relay question linchat Linux - Software 1 09-15-2005 03:22 PM
Postfix - Open relay or not? darklogik_org Linux - Software 2 01-29-2004 05:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:10 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