Postfix Issue and Filters

Discussion in 'Installation/Configuration' started by Gordon Fielden, Aug 4, 2017.

  1. Gordon Fielden

    Gordon Fielden New Member HowtoForge Supporter

    Installation ISPConfig 3.1.6 using debian 9 Stretch

    Been having an issue with postfix and an inbound email from a supplier filter related. see below, can someone help & shed some light and what to do to fit it. many thanks

    G

    Aug 4 13:40:57 mx1 postfix/smtpd[30241]: NOQUEUE: reject: RCPT from unknown[185.161.24.73]: 450 4.7.1 <lo1mailrelay.stsky.biz>: Helo command rejected: Host not found; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 13:40:58 mx1 postfix/smtpd[30223]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <skysupport@shoretel.com>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 13:40:58 mx1 postfix/smtpd[30223]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <skysupport@shoretel.com>: Sender address triggers FILTER amavis:[127.0.0.1]:10024; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 13:40:58 mx1 postfix/smtpd[30223]: NOQUEUE: reject: RCPT from unknown[185.161.24.73]: 450 4.7.1 <lo1mailrelay.stsky.biz>: Helo command rejected: Host not found; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:05:58 mx1 postfix/smtpd[31501]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <skysupport@shoretel.com>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:05:58 mx1 postfix/smtpd[31501]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <skysupport@shoretel.com>: Sender address triggers FILTER amavis:[127.0.0.1]:10024; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:05:58 mx1 postfix/smtpd[31501]: NOQUEUE: reject: RCPT from unknown[185.161.24.73]: 450 4.7.1 <lo1mailrelay.stsky.biz>: Helo command rejected: Host not found; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:20:59 mx1 postfix/smtpd[32200]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <skysupport@shoretel.com>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:20:59 mx1 postfix/smtpd[32200]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <skysupport@shoretel.com>: Sender address triggers FILTER amavis:[127.0.0.1]:10024; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:20:59 mx1 postfix/smtpd[32200]: NOQUEUE: reject: RCPT from unknown[185.161.24.73]: 450 4.7.1 <lo1mailrelay.stsky.biz>: Helo command rejected: Host not found; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
     
  2. loonatik

    loonatik New Member HowtoForge Supporter

    Does nslookup lo1mailrelay.stsky.biz return 185.161.24.73?
     
  3. Gordon Fielden

    Gordon Fielden New Member HowtoForge Supporter

  4. loonatik

    loonatik New Member HowtoForge Supporter

    Not sure what your set up is, nslookup at my end returns nothing for lo1mailrelay.stsky.biz

    Code:
     Aug 4 13:40:57 mx1 postfix/smtpd[30241]: NOQUEUE: reject: RCPT from unknown[185.161.24.73]: 450 4.7.1 <lo1mailrelay.stsky.biz>: Helo command rejected: Host not found; from=<skysupport@shoretel.com> to=<gordon.fielden@rossano.co.uk> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Your server rejected the e-mail because it can not find sender host matching the IP. You can ease up smtpd_helo_restrictions and smtpd_client_restrictions to receive mails from those unknown hosts, but of course you'll open up to lots of spam.
    Another option is leave restrictions the same but create an RBL whitelist and add those special IPs there.

    Code:
    smtpd_client_restrictions =
    check_client_access hash:/etc/postfix/rbl_override,
    Example:
    185.161.24.73 OK

    Save and postmap.
     

Share This Page