Hi Quinn,
you can find a script from Qmailtoaster cleaning the graylistdir:
https://github.com/QMailToaster/qmailtoaster-util/blob/master/qt-prune-graylist
best regards
Andreas
> I noticed this Spamdyke error message:
>
> ERROR: unable to create directory
> /var/qmail/spamdyke/greylist/example.com/redacted/bounce.nytimes.com: Too
> many links
>
> Indeed this user's greylist directory is full:
>
> # sudo ls -dl /var/qmail/spamdyke/greylist/example.com/redacted/ | awk
> '{print $2}'
> 32000
>
> In fact, I have lots of users with full and nearly-full greylist
> directories:
>
> # sudo find /var/qmail/spamdyke/greylist/ -mindepth 2 -maxdepth 2 -type d
> | while read D; do echo "$(sudo ls -dl $D | f2) $(cut -d / -f 7
> <<<"$D")@$(cut -d / -f 6 <<<"$D")"; done | sort -rn | head -100
> 32000 [email protected]
> 32000 [email protected]
> 32000 [email protected]
> 32000 [email protected]
> 32000 [email protected]
> 32000 [email protected]
> 31293 [email protected]
> 30193 [email protected]
> 28559 [email protected]
> 28483 [email protected]
> [etcâ¦]
>
> What is the best way to solve this? I suspect this is a pretty common
> issue. I wonder if there is a way to remove only seldom-seen senders,
> perhaps using a last-accessed timestamp on the directories? And doing
> monthly pruning via cron?
>
> Thanks,
> Quinn
>
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> https://spamdyke.org/mailman/listinfo/spamdyke-users
>
_______________________________________________
spamdyke-users mailing list
[email protected]
https://spamdyke.org/mailman/listinfo/spamdyke-users