Here is the answer, in RemoteDelivery.java, line 136:
* <li><b>heloName</b> (optional) - a String containing the name used in the
SMTP HELO and EHLO commands. Default is the default domain,
* which is typically <code>localhost</code>.</li>
so in mailetcontainer.xml, this line:
<!-- Set the HELO/EHLO name to use when connectiong to remote SMTP-Server -->
<mail.smtp.localhost>mail.jwmhosting.com</mail.smtp.localhost>
should be this:
<heloName>mail.jwmhosting.com</heloName>
change, restart, and retry, you should be good to go.
On Oct 27, 2014, at 1:51 AM, Robert Munn <[email protected]> wrote:
> Your rDNS: mail.jwmhosting.com looks correct to me.
>
> I just did a telnet check of your smtp server:
>
> $ telnet
> telnet > open mail.jwmhosting.com 25
> telnet > helo foo.com
>
> reply shows:
> 250 jwmhosting.com Hello foo.com [xx.xx.xx.xx]) <- my ip address
>
>
> What is important here is the helo name : jwmhosting.com. It should say
> mail.jwmhosting.com. This is a spammer flag and can get your mail rejected
> depending on the host. That is what the mail-tester service is complaining
> about.
>
> You set this in smptserver.xml (smtpserver.conf in beta4?)
>
> Look for the block below, change it :
>
> <helloName autodetect=“false”>mail.jwmhosting.com</helloName>
>
>
> <!-- 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>
> -->
>
> FYI, beta4 has a deadlocking problem, you might want to upgrade to beta 5. I
> have instructions on how to build it from source on YouTube:
>
> https://www.youtube.com/channel/UChNyi0dlyanLLhp7cA9q5dA
>
> or if you prefer a text tutorial, on my blog:
>
> http://blog.bonnydoonmedia.com/post.cfm/building-apache-james-from-source
>
>
>
> On Oct 26, 2014, at 10:44 PM, Jerry Malcolm <[email protected]> wrote:
>
>> I have been running James 3 b4 for several months. I was having some
>> outbound mail rejected by gmail and started doing some research. I did an
>> email test using mail-tester.com and got the error message that my HELO did
>> not match the rDNS. It reports:
>>
>> IP: 64.34.163.186
>> HELO: p2825577
>> rDNS: mail.jwmhosting.com
>>
>> The p2825577 number is my Windows Server 2008 machine name. I don't want to
>> use that.
>>
>> In the RemoteDelivery mailet config, I have the following:
>>
>> <mail.smtp.localhost>mail.jwmhosting.com</mail.smtp.localhost>
>>
>> If I'm reading the instructions correctly, this should cause the specified
>> value (mail.jwmhosting.com) to be sent on the HELO instead of the p282...
>> number, correct? But it isn't.
>>
>> What am I doing wrong?
>>
>> BTW... I tried changing my rDNS to the p282... number. rDNS's have to be a
>> fully qualified domain name. So it won't take it. Fine... I then tried
>> changing my Win Server 08 machine name to be mail.jwmhosting.com. No go on
>> that either. Can't have periods in Win machines names.... So I'm stuck.
>> Please advise....
>>
>> This is kinda urgent since I now realize that there's a distinct possibility
>> that some of my clients' emails are not getting through due to this. So
>> thanks in advance for a quick reply to this.
>>
>> Jerry
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>