Add multiple email accounts to mailing list + directadmin

To add multiple email accounts to a mailing list using DirectAdmin, you can follow these steps:

Method 1: Using the Mailing List Manager

  1. Log in to your DirectAdmin control panel.
  2. Click on the "Mailing Lists" tab.
  3. Select the mailing list you want to add email accounts to.
  4. Click on the "Edit" button next to the mailing list name.
  5. Scroll down to the "Members" section.
  6. Click on the "Add Member" button.
  7. Enter the email addresses of the accounts you want to add, separated by commas (e.g., [email protected], [email protected], [email protected]).
  8. Click the "Add" button to add the email accounts to the mailing list.

Method 2: Using the Email Accounts Manager

  1. Log in to your DirectAdmin control panel.
  2. Click on the "Email Accounts" tab.
  3. Select the email account you want to add to the mailing list.
  4. Click on the "Edit" button next to the email account name.
  5. Scroll down to the "Forwarding" section.
  6. Click on the "Add Forwarding" button.
  7. Select "Mailing List" as the forwarding type.
  8. Enter the name of the mailing list you want to add the email account to.
  9. Click the "Add" button to add the email account to the mailing list.

Method 3: Using the Command Line

  1. Log in to your server using SSH.
  2. Use the following command to add multiple email accounts to a mailing list:
    /usr/local/directadmin/plugins/MailingList/bin/maillist add_member <mailing_list_name> <email_account1> <email_account2>...

    Replace <mailing_list_name> with the name of the mailing list, and <email_account1>, <email_account2>, etc. with the email addresses of the accounts you want to add.

For example:

/usr/local/directadmin/plugins/MailingList/bin/maillist add_member my_mailing_list [email protected], [email protected], [email protected]

This will add the email accounts [email protected], [email protected], and [email protected] to the mailing list my_mailing_list.

Note: Make sure to replace <mailing_list_name> and <email_account1>, <email_account2>, etc. with the actual names and email addresses you want to use.