Current time: 12-23-2024, 01:52 PM Hello There, Guest! (LoginRegister)


Post Reply 
whitelist for policyd ?
Author Message
macbishop Offline
Junior Member
*

Posts: 68
Joined: Feb 2007
Reputation: 7
Post: #1
whitelist for policyd ?
Hello.

I have a recipient address that it's rejected for policyd.

In first time
Code:
retrying too fast. penalty: 30 seconds x 0 retries
and in second attempt
Code:
Mail appeared to be SPAM or forged

How can I clean it in policyd ?

Debian 4.0
trunk 974
01-23-2008 04:51 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: whitelist for policyd ?
add

check_client_access hash:/etc/postfix/policyd_whitelist,

before

check_policy_service inet:127.0.0.1:12525


then open /etc/postfix/policyd_whitelist and put:

ip.of.problem.server OK

in there.

You can also do that with the recipient address (use check_recipient_access instead of check_client_access) but that is not recommandable because the sending server is the problem here...
01-23-2008 06:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
macbishop Offline
Junior Member
*

Posts: 68
Joined: Feb 2007
Reputation: 7
Post: #3
RE: whitelist for policyd ?
rbtux Wrote:add

check_client_access hash:/etc/postfix/policyd_whitelist,

before

check_policy_service inet:127.0.0.1:12525


then open /etc/postfix/policyd_whitelist and put:

ip.of.problem.server OK

in there.

You can also do that with the recipient address (use check_recipient_access instead of check_client_access) but that is not recommandable because the sending server is the problem here...

ok. rbtux, I will try

thanks. Smile
01-24-2008 06:47 AM
Find all posts by this user Quote this message in a reply
macbishop Offline
Junior Member
*

Posts: 68
Joined: Feb 2007
Reputation: 7
Post: #4
RE: whitelist for policyd ?
runs fine. but...
why policyd filter this IP and postgrey not ?
01-25-2008 09:02 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: whitelist for policyd ?
policyd-weight is not the same as postgrey.

policyd-weight: is like several Blacklists and some other spam-recognition tools combined together and weighted...
So: you'll need a whitelist for the poor guy sending from a spamming IP address.

postgrey: it forces the mailserver to send the first mail to a certain person twice, so the old spam senders were sorted out.
You'll need a white list there for the mail servers which do not comply to the rfc standards (there once were some windows smtp machines which did not send a mail twice...)

/J
01-25-2008 09:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
macbishop Offline
Junior Member
*

Posts: 68
Joined: Feb 2007
Reputation: 7
Post: #6
RE: whitelist for policyd ?
joximu Wrote:policyd-weight is not the same as postgrey.

policyd-weight: is like several Blacklists and some other spam-recognition tools combined together and weighted...
So: you'll need a whitelist for the poor guy sending from a spamming IP address.

postgrey: it forces the mailserver to send the first mail to a certain person twice, so the old spam senders were sorted out.
You'll need a white list there for the mail servers which do not comply to the rfc standards (there once were some windows smtp machines which did not send a mail twice...)

/J


ok. thanks for the clarification Smile
01-25-2008 10:48 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #7
RE: whitelist for policyd ?
RE:
check_recipient_access
check_client_access

So can you point both checks to the same file, and mix IP's, hostnames, and senders in this one file? Or do you have to keep these separate and reference different files?

Also, i see that policyd supports getting all these items from mysql. Is there a reason we didn't setup ispcp like this? Future plans? http://policyd.sourceforge.net/readme.html

Anyone running with this stuff in the DB? It would be REALLY nice to allow users to change these settings for their spam filtering... Smile

Thanks,
pGentoo
04-25-2009 04:07 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #8
RE: whitelist for policyd ?
Beware that policyd-weight (the one used in ispcp) is not the same as policyd (the one you're mentioning)!
04-25-2009 05:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #9
RE: whitelist for policyd ?
Hrm, i have both installed on my system... So maybe only one of them is being used?
04-25-2009 06:36 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #10
RE: whitelist for policyd ?
It depends on how many check_policy_service directives you have in the smtpd_recipient_restrictions of /etc/postfix/main.cf. As additional info, ispcp uses port 12525 for policyd-weight and 60000 for postgrey.
04-25-2009 07:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)