Friday, September 27, 2024
Bash Script Cpanel/WHM Webmail

Membuat auto move Junk email to Inbox

-Buat file misal mv.sh

nano mv.sh

#!/bin/bash
mv /home/tviexp/mail/yuby123.ml/test/.Junk/cur/* /home/tviexp/mail/yuby123.ml/test/cur/

-permission

chmod a+x  mv.sh

-setting cron

* * * * * /home/mv.sh

 

(Visited 67 times, 1 visits today)
Baca Juga :  Cara delete mailman archives (mailinglist) dari root server

Similar Posts