ispCP - Board - Support
greylisting whitelist setup - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: greylisting whitelist setup (/thread-10841.html)



greylisting whitelist setup - Primo - 06-01-2010 07:03 PM

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


RE: greylisting whitelist setup - joximu - 06-01-2010 07:18 PM

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