Postfix Issue and Filters

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

  1. Gordon Fielden

    Gordon Fielden New Member

    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=<[email protected]> to=<[email protected]> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 13:40:58 mx1 postfix/smtpd[30223]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 13:40:58 mx1 postfix/smtpd[30223]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10024; from=<[email protected]> to=<[email protected]> 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=<[email protected]> to=<[email protected]> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:05:58 mx1 postfix/smtpd[31501]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:05:58 mx1 postfix/smtpd[31501]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10024; from=<[email protected]> to=<[email protected]> 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=<[email protected]> to=<[email protected]> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:20:59 mx1 postfix/smtpd[32200]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
    Aug 4 14:20:59 mx1 postfix/smtpd[32200]: NOQUEUE: filter: RCPT from unknown[185.161.24.73]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10024; from=<[email protected]> to=<[email protected]> 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=<[email protected]> to=<[email protected]> proto=ESMTP helo=<lo1mailrelay.stsky.biz>
     
  2. loonatik

    loonatik New Member

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

    Gordon Fielden New Member

  4. loonatik

    loonatik New Member

    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=<[email protected]> to=<[email protected]> 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