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
- Log in to your DirectAdmin control panel.
- Click on the "Mailing Lists" tab.
- Select the mailing list you want to add email accounts to.
- Click on the "Edit" button next to the mailing list name.
- Scroll down to the "Members" section.
- Click on the "Add Member" button.
- Enter the email addresses of the accounts you want to add, separated by commas (e.g.,
[email protected], [email protected], [email protected]
). - Click the "Add" button to add the email accounts to the mailing list.
Method 2: Using the Email Accounts Manager
- Log in to your DirectAdmin control panel.
- Click on the "Email Accounts" tab.
- Select the email account you want to add to the mailing list.
- Click on the "Edit" button next to the email account name.
- Scroll down to the "Forwarding" section.
- Click on the "Add Forwarding" button.
- Select "Mailing List" as the forwarding type.
- Enter the name of the mailing list you want to add the email account to.
- Click the "Add" button to add the email account to the mailing list.
Method 3: Using the Command Line
- Log in to your server using SSH.
- 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.