Solved

QMAIL Sending Messages outiside the server

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hosting email transfer 3 45
How to track email to IP address 13 78
SPF record 3 62
Delete Public Folder DB after migration 4 39
Nearly six years ago I was hired by a company to be their senior server engineer. One of my first projects was to implement Exchange Server 2007 on a Windows Server 2008 Single Copy Cluster for high availability. That was the easy part; read on to l…
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

789 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