On 8/17/2016 1:34 PM, Aggelos wrote:
> How can I reject incoming (spam) mail from hosts that identify like
> the following?
> (see last line where it says "Received:...")
> 
> From - Wed Aug 17 21:05:26 2016
> X-Account-Key: account7
> X-UIDL: 2ba28084e6838282
> X-Mozilla-Status: 0001
> X-Mozilla-Status2: 00000000
> X-Mozilla-Keys:
> Return-Path: <[email protected]>
> X-Original-To: <my email>
> Delivered-To: <my email>
> Received: from ip-static-173-243-124-202.as5577.net (unknown
> [173.243.124.202])


http://www.postfix.org/postconf.5.html#reject_unknown_client_hostname

Caution: this restriction is known to reject legit mail.  Be
prepared to whitelist clients labeled "unknown" that you want mail
from.

You can "test drive" this restriction by using "warn_if_reject
reject_unknown_client_hostname"  which will log mail that would have
been rejected, without actually rejecting anything.
http://www.postfix.org/postconf.5.html#warn_if_reject



  -- Noel Jones

Reply via email to