whitelist host

Questions and answers about how to do stuff
Post Reply
telvenes
Posts: 35
Joined: 23 Oct 2016 13:17

whitelist host

Post by telvenes »

How can i whitelist this host?

Received Via:
109.247.116.8 asav21.altibox.net
109.247.144.79 79.109-247-144.customer.lyse.net
1.73 AWL Adjusted score from AWL reputation of From: address
0.25 GMD_PDF_EMPTY_BODY Attached PDF with empty message body
2.00 MIME_NO_TEXT No (properly identified) text body parts
1.40 MISSING_DATE Missing Date: header
0.14 MISSING_MID Missing Message-Id: header
-0.00 RCVD_IN_DNSWL_NONE Sender listed at http://www.dnswl.org/, no trust
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: whitelist host

Post by shawniverson »

Is there a specific from address you can whitelist here?
telvenes
Posts: 35
Joined: 23 Oct 2016 13:17

Re: whitelist host

Post by telvenes »

No. This is smtp for big internet company
telvenes
Posts: 35
Joined: 23 Oct 2016 13:17

Re: whitelist host

Post by telvenes »

shawniverson wrote:Is there a specific from address you can whitelist here?
i have tried whitelist in efa but it does not work
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: whitelist host

Post by shawniverson »

Yeah, that won't work on the header received via address.

You may want to perform a header check in postfix to bypass scanning altogether for this relay. If you do this, just bear in mind nothing will be logged.

/etc/postfix/header_checks:

Code: Select all

/^Received Via: (.*)altibox.net$/ PASS
/^Received:/ HOLD
Then postmap the header_checks

Code: Select all

sudo postmap /etc/postfix/header_checks
sudo service postfix restart
telvenes
Posts: 35
Joined: 23 Oct 2016 13:17

Re: whitelist host

Post by telvenes »

there issnt another way? this should not be spam anyway. no other spamfilter blocks this?
telvenes
Posts: 35
Joined: 23 Oct 2016 13:17

Re: whitelist host

Post by telvenes »

if I try adding sender whitelist it still comes as spam. why?
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: whitelist host

Post by pdwalker »

I missed this post previously.

The first problem is that smtp provider is "spammy" and gets flagged for having lots of spam on its system. The second problem is their mail server doesn't seem "well configured" which is driving up the spam scores of messages coming from that isp. I've had similar problems with clients in China sending mail from the free email providers getting all their messages stopped cold as "high spam". Annoying and there is very little I can do about the ISPs reputation.

So, what do you do instead? If you know the addresses ahead of time coming from that isp, then you can add a negative spam score for those addresses/domains. Thus, if the ISP gets a score of +5 because they are assholes, then you can have spamassassin add a -5 score for someuser@somedomain.com who uses that isp, thus letting their mail come in.

Were you able to solve this problem in the end?
Post Reply