how to empty mail queue by cron?
Posted: Sat Jan 23, 2016 4:57 pm
hello everyone,
i am using latest vesta version on small debian VPS (1G RAM).
Lately i got the problem that one domain email service is getting attacked. So it over run the mail server with too
many wrong delivered email requests. I would like to set an auto delete.
I tried to set
and
into the cron. but it didn't work. Has anyone an idea what i did wrong? or is there an more acurate way to approach this problem?
any hint is welcome and thanks in advance!
i am using latest vesta version on small debian VPS (1G RAM).
Lately i got the problem that one domain email service is getting attacked. So it over run the mail server with too
many wrong delivered email requests. I would like to set an auto delete.
I tried to set
Code: Select all
sudo /usr/sbin/exiqgrep -o 7200 -f '<>' -i | xargs -r /usr/sbin/exim -Mrm
Code: Select all
sudo /usr/sbin/exiqgrep -z -o 7200 -i | xargs -r /usr/sbin/exim -Mrm
any hint is welcome and thanks in advance!