BASH   47

dovecot expunge sh

Guest on 25th May 2022 01:28:27 AM

  1. #!/bin/bash
  2. #
  3.  
  4. DOVEADM="/usr/local/dovecot/bin/doveadm";
  5.  
  6. $DOVEADM expunge -A mailbox Trash savedbefore 90d
  7. $DOVEADM expunge -A mailbox Junk  savedbefore 60d

Raw Paste


Login or Register to edit or fork this paste. It's free.