Announcement

Collapse
No announcement yet.

How to remove complete mailman archives in cPanel

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to remove complete mailman archives in cPanel

    Suppose the mailing list name is [email protected] and to delete complete archives for it, please follow the below given steps. Also, if you want to stop archives completely then you can turn off archiving from mailing list administration area >> option archive


    Code:
    [[email protected] ~]# cd /usr/local/cpanel/3rdparty/mailman/archives/private
    [[email protected] private]# ls -ld workflow_example.com*
     workflow_example.com
     workflow_example.com.mbox
    Code:
     [[email protected] private]# cd workflow_example.com.mbox
    Code:
    [[email protected] workflow_example.com.mbox]#  ls -l workflow_example.com.mbox
    
    -rw-rw-r-- 1 mailman mailman 91739640 Jul 20 11:22 workflow_example.com.mbox
    Remove all entries from the file example.com.mbox (Take a backup first )

    Code:
     [[email protected] workflow_example.com.mbox]# cd /usr/local/cpanel/3rdparty/mailman/bin
    Code:
      [[email protected] bin]# ./arch --wipe workflow_example.com
    To reflect the disk space usage in cPanel and to clean the cache for mailman run below command:

    Code:
    [[email protected] bin]# /scripts/update_mailman_cache
    That's it !

  • #2
    Re: How to remove complete mailman archives in cPanel

    thanks,it'll be very helpful....thanks again

    Comment

    Working...
    X