1. This forum is read-only and considered to be an Archive. Please utilize the SmarterTools Community for future interaction and posts.

550 Access denied - Invalid HELO name

Discussion in 'SmarterMail' started by Ken Tola, Aug 11, 2010.

  1. Ken Tola

    Ken Tola New Member

    I am using the .NET 4.0 framework to send out emails through SmarterMail and I recently started to obtain the following errors from certain domains:

    Remote host said: 550 Access denied - Invalid HELO name (See RFC2821

    My web.config file looks as follows:

    <smtp from="support@mycompany.co<wbr>m">
    <network host="localhost" password="" userName="" />

    And I use code such as the following to send out emails:

    MailMessage thisMessage = new MailMessage();
    thisMessage.IsBodyHtml = true;
    thisMessage.Body = Message;
    thisMessage.Subject = SubjectLine;
    SmtpClient thisClient = new SmtpClient();
    thisClient.UseDefaultCrede<wbr>ntials = true;

    The email address I am using - and support@mycompany.com is just a filler for this post - is actually an alias to a list of IP addresses.

    Finally, I am bouncing my emails through SmarterMail.

    Can somebody please help me figure out why I am getting these errors?
  2. brianlewis

    brianlewis Product Expert

    Its not in your code, its in your SmarterMail Config

    Login as admin

    Settings/General Settings/Server Info

    Set the hostname to 'server1.mydomain.com'

    Point an A record of 'server1' to the ip of your server

    Create a Reverse DNS PTR record (usually with your provider unless they delegate this to you) for the server ip to resolve back to server1.mydomain.com
  3. chicagonettech

    chicagonettech Product Expert

    Very well written explaination of setting up, and designating, a PTR record!
  4. Nigel

    Nigel New Member

    hi guys,

    just wondering if someone could point me in the right direction (no pun intended)

    i have SM 11.6 with several domains i receive the 550 error on sub domains eg:

    primary SM mail server info:
    mail.server.com rPTR is set correctly to public IP and the DNS seems to be correct.

    Domain1 info:
    mail.domain1.com rPTR points towards mail.server.com would this cause problems (im thinking it would) or have i missed the understanding of setting up the SM server correctly ??

    the DNS seems setup correctly, sending and receiving mail no problems, its just when the "other" mail servers talk to the domain1.com connection i see these errors

    just a little confused

    PS: i followed your information when setting up the SM server Bruce, thanks a ton ! ;)
  5. ramiss

    ramiss Senior Member

    Send us your actual domain name so we can check your dns.
  6. Nigel

    Nigel New Member

    primary domain (SM server)

    and btw, i was wrong before, all domains primary or not seem to be getting the 550 error
  7. Wheemer

    Wheemer Senior Member

    You only need one rDNS or PTR