Helo command rejected

Discussion in 'Mail Gateway: Installation and configuration' started by Brad Jacobs, May 14, 2018.

  1. Brad Jacobs

    Brad Jacobs New Member

    Joined:
    May 14, 2018
    Messages:
    3
    Likes Received:
    0
    Hi,

    I'm trying to find a way to white list email from a certain IP. This is the reason it is getting rejected:-

    Helo command rejected: need fully-qualified hostname

    I would preferably not want to turn off SMTP HELO checks for all domains.
     
  2. heutger

    heutger Member

    Joined:
    Apr 25, 2018
    Messages:
    87
    Likes Received:
    12
    In the documentation whitelisting is described, I whitelisted e.g. my synology as well as it does not provide a FQDN although set.
     
  3. Brad Jacobs

    Brad Jacobs New Member

    Joined:
    May 14, 2018
    Messages:
    3
    Likes Received:
    0
    I have white listed the domain already but it still get's rejected..
     
  4. Brad Jacobs

    Brad Jacobs New Member

    Joined:
    May 14, 2018
    Messages:
    3
    Likes Received:
    0
    Also how did you white list the Synology, by IP?
     
  5. heutger

    heutger Member

    Joined:
    Apr 25, 2018
    Messages:
    87
    Likes Received:
    12
    Oh, sorry, I whitelisted the synology on another system, where the synology delivers the mail via SMTP auth and I added in the helo checks permit_sasl_authenticated in front of all the rejects. Maybe this will also work on PMG. Once if you do SASL Auth or if you set a permit with link to a permit file of permitted helo strings and add synology.

    You need to do in main.cf.in in the templates (look in the documentation on how to copy and then sync them) e.g.
    smtpd_helo_restrictions you need to do
    check_helo_access type:table
    in this table you need to set the synology hostname and OK

    However, it's better to use permit_sasl_authenticated and to let the synology auth itself
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice