• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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