I have Postfix with old policyd v1.82 for greylisting for long
time now. It simply works, so never updated.
server got listed as 'spam sender' yesterday;
looking through logs it seems a sasl user is/was hacked few days ago[1]:
so, I want to enforce quotas on message counts on a server for sasl auth
user (and, whatever else that's a good idea
I've edited conf as so[2], appreciate comments/advice if OK or can be
better :
looking in sql db, I can see entries created, BUT, I can only see
'external email addresses', can't see any sasl user names as yet
(operating since 8 hours ago, it's now morning, possible no one sent
during night)
is my conf look OK?
how can I verify/test 'it's working' ?
thanks!
[2]---
policyd.conf
---
SENDERTHROTTLE=1
SENDER_THROTTLE_SASL=1
SENDER_THROTTLE_HOST=0
SENDER_QUOTA_REJECTION="Quota Exceeded."
SENDER_SIZE_REJECTION="Message size too big."
SENDERMSGLIMIT=512
SENDERRCPTLIMIT=3600
SENDERQUOTALIMIT=50000000
SENDERTIMELIMIT=1h
SENDERMSGSIZE=10240000
SENDERMSGSIZE_WARN=50
SENDERMSGSIZE_PANIC=90
SENDER_INACTIVE_EXPIRE=31d
SENDER_THROTTLE_AUTOBLACKLIST=0
SENDER_THROTTLE_AUTOBLACKLIST_NUMBER=3
SENDER_THROTTLE_AUTOBLACKLIST_EXPIRE=6h
# RECIPIENT THROTTLE (functional) #
RECIPIENTTHROTTLE=0
RECIPIENTMSGLIMIT=64
RECIPIENTTIMELIMIT=1h
RECIPIENT_QUOTA_REJECTION="Quota Exceeded."
RECIPIENT_INACTIVE_EXPIRE=31d
---
[1]
# grep username /var/log/maillog | wc
4382 59184 765780
# grep username /var/log/maillog.1 | wc
1148 14914 190332
# grep username /var/log/maillog.2 | wc
67 1385 18475
# grep username /var/log/maillog.3 | wc
76 910 13651
# grep username /var/log/maillog.4 | wc
22 364 4692
--------
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org