Solved

QMAIL Sending Messages outiside the server

Posted on 2009-07-07
2
579 Views
Last Modified: 2013-12-18
Hello,
When I trying to send any message to any mail server like gmail this message appear in log files

@400000004a50763a2aef4794 starting delivery 475: msg 18547101 to remote linuxduties@gmail.com
@400000004a50765a233e29d4 delivery 475: failure: User_and_password_not_set,_continuing_without_authentication./<linuxduties@gmail.com>_209.85.220.72_failed_after_I_sent_the_message./Remote_host_said:_550-5.7.1_[196.218.53.114]_The_IP_you're_using_to_send_mail_is_not_authorized_to/550-5.7.1_send_email_directly_to_our_servers._Please_use_the_SMTP_relay_at_your/550-5.7.1_service_provider_instead._Learn_more_at____________http://mail.google/550_5.7.1_.com/support/bin/answer.py?answer=10336_28si4795038fxm.1/

The log file is /var/log/qmail/send/current
0
Comment
Question by:powervds
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 24796174
Do You have any custom smtproutes set? Looks like You are not using the public smtp port, but authorized submission port?
0
 
LVL 20

Expert Comment

by:Daniel McAllister
ID: 24805821
My guess is that your IP address is a dynamic one, or has no reverse DNS...

Google, Hotmail (Live), Yahoo, and MANY of the other large e-mail hosting companies have several layers of SPAM protection... one of which denies mail from dynamic IP addresses, another requires a "reasonable" reverse-IP, and Yahoo virtually requires Domain Keys (or DKIM -- which are NOT the same as Domain Keys, but they are VERY similar).

To test your mail server, enter the requisite data at http://www.mxtoolbox.com
 - first, enter your domain name
 - On the follow-on screen, check the Diagnostics & Blacklists -- if you're on a dynamic IP, you'll be on the blacklists!

So.... how do you FIX this?

Well, just as the error message suggests, you contact your ISP and ask about an "SMTP Relay Server" -- most have them available. They will provide you with either a FQDN (fully-qualified domain name -- like: mxrelay.ispprovider.com) or an IP address. This information will need to be entered into your QMAIL server in the "smtproutes" file (usually located in /var/qmail/control).

Let's say your ISP comes back with a relay hostname of mxrelay.ispprovider.com...Your entry will look like:
:mxrelay.ispprovider.com

Or, let's say your ISP comes back with an IP address of 1.2.3.4...Your entry will look like:
:1.2.3.4

Each line above starts with a COLON (:) -- the "nothing" in front of the colon means to forward everything to that location.

Not to worry about local deliveries -- they won't consult the "smtproutes" file to begin with.

Good luck!

Dan
IT4SOHO
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question