Current time: 11-23-2024, 11:19 AM Hello There, Guest! (LoginRegister)


Post Reply 
greylisting whitelist setup
Author Message
Primo Offline
Junior Member
*

Posts: 16
Joined: May 2010
Reputation: 0
Post: #1
greylisting whitelist setup
hi,

i had some big problems with some domains. i found some simular solutions on this forum but not complete. That's why i post my solution here for others with the same troubles.

postfix/policyd-weight[8887]: decided action=550 temporarily blocked because of previous errors - retrying too fast. penalty: 30 seconds x 0 retries. (multirecipient mail)

if they can't solve it (they are not greylisted) you can do this:

edit the main.cf and add the 2 lines

smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
...
...
etc
...
check_client_access hash:/etc/postfix/policyd_weight_client_whitelist
check_recipient_access hash:/etc/postfix/policyd_weight_recipient_whitelist
check_policy_service inet:127.0.0.1:12525

in the same dir make the 2 files and add:

policyd_weight_client_whitelist:

111.111.111.111 permit_auth_destination
smtp.thatdomain.tld permit_auth_destination
thatdomain.tld permit_auth_destination

policyd_weight_recipient_whitelist

sender@thatdomain.tld permit_auth_destination

restart postfix and done

if somebody knows another solution let me know Smile
06-01-2010 07:03 PM
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: #2
RE: greylisting whitelist setup
greylist:
man postgrey
/etc/postgrey/whitelist_clients
/etc/postgrey/whitelist_clients.local
/etc/postgrey/whitelist_recipients
/etc/postgrey/whitelist_recipients.local

policyd-weight:
man policyd-weight
/etc/policyd-weight.conf

you can see the defaults using "policyd-weight defaults"


And then you need the "previous" error... to decide which setting may be too hard.

/J
06-01-2010 07:18 PM
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: 1 Guest(s)