• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

mailling list users

J

jinkt

Guest
hello,
i need a simple script do delete all users from mailinglist

is there any regexp in plesk ?

this isnt working :(

/usr/local/psa/bin/maillist -u name -domain damn.sk -members del:*
/usr/local/psa/bin/maillist: No match.
 
Wouldnt it be easier to simply remove (delete) the mailing list and then recreate it with no users ?
 
What settings? When I just created a test list the only ones I see is for a password and an admin email address, if thats all there is you could just retype them, if there are more settings then that let me know where they are :)
 
Hi,

You can create a list of all maillist users that should be deleted and write a script that will execute '/usr/local/psa/bin/maillist -u name -domain damn.sk -members del:MAIL_NAME' for all entries in list.
To get list of mail list members you can call maililst command with '-i' option:
maillist -i MailList -domain example.com
 
Back
Top