I have also had issues with mail delivery with the big email services. The best ways I have found to improve delivery performance:
- DKIM and SPF https://www.zoho.com/campaigns/help/setup-spf-dkim.html <https://www.zoho.com/campaigns/help/setup-spf-dkim.html> https://mandrill.zendesk.com/hc/en-us/articles/205582267-What-are-SPF-and-DKIM-and-how-do-I-set-them-up- <https://mandrill.zendesk.com/hc/en-us/articles/205582267-What-are-SPF-and-DKIM-and-how-do-I-set-them-up-> - DMARC - STARTTLS on port 25 for SMTP - Proper TLS certificate chains - reverse DNS for mail hostname - properly set EHLO/HELO hostname The HELO name is set in smtpserver.xml in 3.x in this XML block: <!-- This is the name used by the server to identify itself in the SMTP --> <!-- protocol. If autodetect is TRUE, the server will discover its --> <!-- own host name and use that in the protocol. If discovery fails, --> <!-- the value of 'localhost' is used. If autodetect is FALSE, James --> <!-- will use the specified value. --> <!-- <helloName autodetect="true">myMailServer</helloName> —> Set the hostname in this configuration block to your mail server name. > On Sep 24, 2015, at 11:37 PM, Marc Chamberlin <m...@marcchamberlin.com> wrote: > > Thanks Jerry for taking the time to reply, much appreciated! I ran the tests > at mail-tester.com and of course that has lead me to come back here and ask > for further help! It appears I have a couple of serious issues and a couple > of minor ones, but I have not found any joy in solving all of them by > searching on the internet. The SpamAssassin reported the following - > > -1.539 FSL_HELO_BARE_IP_2 IP used in the HELO request > The hostname should be a domain name, not an IP address > > -0.001 MSGID_FROM_MTA_HEADER Message-Id was added by a relay > > which I don't know how to solve. The Authentication tests reported - > > Your message is not signed with DKIM > DomainKeys Identified Mail (DKIM) is a method for associating a domain name > to an email message, thereby allowing a person, role, or organization to > claim some responsibility for the message. > > I found the JDKIM project for the Apache James server but I am unable to find > any instructions on how to install, configure and use it! Does anyone have a > good pointer to documentation? I read everything I could find on the Apache > web site but only found a couple of bits and pieces of info, nothing I could > grok however. Will it even work with my version of James - 2.3.2? > > There was one other minor problem reporting that I do not have a DMARC > record. But I think I understand how to solve that issue (by adding a TXT RR > record to my DNS server) once I get DKIM working... > > Thanks again in advance for helping me find a way out of these woods.... > Marc... > > > On 09/24/2015 02:27 PM, Jerry Malcolm wrote: >> Hi, Marc, >> >> I have had many problems with gmail, yahoo, hotmail, etc bouncing my emails. >> To say they are picky is an understatement. If there is ANY problem with >> the structure of your email and/or your email setup, domain, dns, server IP >> address, and a bunch of other things , they are going to bounce it (with >> zero useful info to explain why). They also bounce according to how many >> emails you've sent depending on how 'spammy' they think the email is. They >> may let a few in. But if you send 20 'suspect' emails in a day, they'll >> start bouncing for a day or so, then let it start passing thru again. >> >> I have found that the best solution is to make sure your emails and >> everything related to your outbound server are all completely clean >> according to spam analysis criteria. A good place to start is >> mail-tester.com <http://www.mail-tester.com/> Go to the web site and >> they'll give you a temp email address that you can send an email to. After >> you send it, click the link to analyze the mail. They will grade your email >> including the sending server parameters and tell you how 'good' your email >> is. With detailed explanations of what is wrong. My initial score was >> pretty bad. It took some time and was a royal pain to fix all of the issues. >> But I finally got the coveted 100% grade. It appears gmail and others are >> finally happy with me and are letting my emails thru. >> >> Jerry >> >> On 9/23/2015 11:32 PM, Marc Chamberlin wrote: >>> Hi, I am running James 2.3.2 on a Linux (openSuSE 12.3) and recently >>> encountered a problem that I am unable to resolve. I use the maillist >>> mailet to manage a mail list for a number of users and now all emails being >>> sent by the users to accounts at AOL, Yahoo, MSN, GMail, and Hotmail are >>> bouncing. This is something new and I have not made any changes to James's >>> configuration for a very long time. I have checked forward checking on >>> reverse DNS look ups both via dig and on several different DNS checking >>> websites and that is working correctly. The log files don't give me much >>> help as far as I can decipher them, the mailet logs just indicate that >>> there was a problem such as - >>> >>> 23/09/15 16:03:20 INFO James.Mailet: RemoteDelivery: Exception delivering >>> message (Mail1442594207467-7122-!518000-to-hotmail.com) - [EOF] >>> 23/09/15 16:03:20 INFO James.Mailet: RemoteDelivery: Temporary exception >>> delivering mail (Mail1442594207467-7122-!518000-to-hotmail.com: >>> 23/09/15 16:03:20 INFO James.Mailet: RemoteDelivery: Bouncing message >>> Mail1442594207467-7122-!518000-to-hotmail.com after 25 retries >>> 23/09/15 16:03:20 INFO James.Mailet: RemoteDelivery: Attempting delivery >>> of Mail1442594207467-7122-!518000-to-msn.com to host mx4.hotmail.com. at >>> 65.55.37.120 for addresses [some...@msn.com, someonee...@msn.com] >>> >>> This log response varies a bit depending on the exact mail server that was >>> the target of the email but looks similar enough to make me think all these >>> failures are related. >>> >>> I cannot make much sense out of what is stored in the other log files that >>> relate to this particular problem though I do see a LOT of exceptions being >>> reported with stack walkback traces. I admit I do not know enough about >>> these log files to be able to make any sort of correlation between the >>> errors I see in the mailet log files and these other errors being reported >>> in other log files. So I am out of my depths, any kind guru want to help me >>> resolve this? >>> >>> Thanks in advance.. Marc... >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >> For additional commands, e-mail: server-user-h...@james.apache.org >> >> > > > -- > "The Truth is out there" - Spooky > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org > For additional commands, e-mail: server-user-h...@james.apache.org >