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 redac...@example.com
> 32000 redac...@example.com
> 32000 redac...@example.com
> 32000 redac...@example.com
> 32000 redac...@example.com
> 32000 redac...@example.com
> 31293 redac...@example.com
> 30193 redac...@example.com
> 28559 redac...@example.com
> 28483 redac...@example.com
> [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
> spamdyke-users@spamdyke.org
> https://spamdyke.org/mailman/listinfo/spamdyke-users
>

_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
https://spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to