Posts

Showing posts with the label Exim

[DirectAdmin] Clear Frozen Mail

Using Script to clear mail #!/bin/sh /usr/sbin/exim -bpr | grep frozen | awk {'print $3'} | xargs /usr/sbin/exim -Mrm Set cronjob in DirectAdmin /bin/sh /home/ <user> /domains/ <url> /cron/exim_clear_frozen.sh Put cronjob in /etc/cron.daily References: [1]  http://www.directadmin.com/forum/showthread.php?t=24018 [2]  http://help.directadmin.com/item.php?id=112 [3]  http://www.directadmin.com/forum/archive/index.php/t-23849.html