Solved

QMAIL Sending Messages outiside the server

Posted on 2009-07-07
2
580 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

When you’re making plans to join the modern business race, you should analyze various details that may affect your results. Nowadays, millions of businesses are trying to grow into established and appreciated professional enterprises.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…

707 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