EzMLM Commands: Difference between revisions
Jump to navigation
Jump to search
(Created page with " 1. Create a mailing list A. Create domain 1) # /home/vpopmail/bin/vadddomain mydomain.com 'password' B. Create ezmlm mailling list w/features ezmlm flags Flags: -5 List owner Flags: -Afpqut (No archive, Subject prefix, Public, Service requests, List members only, Trailer) 1) # ezmlm-make -5 postmaster@mydomain.com -Afpqut \ /home/vpopmail/domains/mydomain.com/mydomain-list \ /home/vpopma...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[User_Tips_%26_Tricks#Mailing_Lists|Back]] | |||
1. Create a mailing list | 1. Create a mailing list | ||
A. Create domain | A. Create domain | ||
Line 11: | Line 12: | ||
2) # chown -R vpopmail:vchkpw /home/vpopmail/domains/mydomain.com/mydomain-list | 2) # chown -R vpopmail:vchkpw /home/vpopmail/domains/mydomain.com/mydomain-list | ||
3) # echo "Reply-To: <#l#>@<#h#>" >> /home/vpopmail/domains/mydomain.com/mydomain-list/headeradd | 3) # echo "Reply-To: <#l#>@<#h#>" >> /home/vpopmail/domains/mydomain.com/mydomain-list/headeradd | ||
2. Remove a mailing list | 2. Remove a mailing list | ||
A. # rm -rf /home/vpopmail/domains/mydomain.com/mydomain-list \ | A. # rm -rf /home/vpopmail/domains/mydomain.com/mydomain-list \ | ||
/home/vpopmail/domains/mydomain.com/.qmail-mydomain-list* | /home/vpopmail/domains/mydomain.com/.qmail-mydomain-list* | ||
3. Change mailing list features | 3. Change mailing list features | ||
A. Remove subject prefix | A. Remove subject prefix | ||
Line 23: | Line 26: | ||
/home/vpopmail/domains/mydomain.com/.qmail-mydomain-list \ | /home/vpopmail/domains/mydomain.com/.qmail-mydomain-list \ | ||
mydomain-list mydomain.com | mydomain-list mydomain.com | ||
4. Allow mailing list to be archived publically | 4. Allow mailing list to be archived publically | ||
A. For 'www.mail-archive.com' add 'archive@mail-archive.com' to your lists' subscribers | A. For 'www.mail-archive.com' add 'archive@mail-archive.com' to your lists' subscribers | ||
Line 31: | Line 34: | ||
2) Access www.mail-archive.com mailing list | 2) Access www.mail-archive.com mailing list | ||
a) Open browser and browse to https://www.mail-archive.com/mydomain-list@mydomain.com/ | a) Open browser and browse to https://www.mail-archive.com/mydomain-list@mydomain.com/ | ||
B. | |||
5. Add users to a mailing list | |||
A. ezmlm-sub /home/vpopmail/domains/mydomain.com/mydomain-list < list.txt <span style="color:red">(list.txt is a file one email address per line)</span> | |||
B. ezmlm-sub /home/vpopmail/domains/mydomain.com/mydomain-list user@domain.tld user2@domain.tld ... | |||
6. Remove users from mailing list | |||
A. ezmlm-unsub /home/vpopmail/domains/mydomain.com/mydomain-list user@domain.tld user2@domain.tld ... | |||
7. List/Backup users in mailing list | |||
A. ezmlm-list /home/vpopmail/domains/mydomain.com/mydomain-list <stdout> | |||
B. ezmlm-list /home/vpopmail/domains/mydomain.com/mydomain-list > mydomain-list.txt |
Latest revision as of 09:30, 4 April 2024
1. Create a mailing list A. Create domain 1) # /home/vpopmail/bin/vadddomain mydomain.com 'password' B. Create ezmlm mailling list w/features ezmlm flags Flags: -5 List owner Flags: -Afpqut (No archive, Subject prefix, Public, Service requests, List members only, Trailer) 1) # ezmlm-make -5 postmaster@mydomain.com -Afpqut \ /home/vpopmail/domains/mydomain.com/mydomain-list \ /home/vpopmail/domains/mydomain.com/.qmail-mydomain-list \ mydomain-list mydomain.com 2) # chown -R vpopmail:vchkpw /home/vpopmail/domains/mydomain.com/mydomain-list 3) # echo "Reply-To: <#l#>@<#h#>" >> /home/vpopmail/domains/mydomain.com/mydomain-list/headeradd
2. Remove a mailing list A. # rm -rf /home/vpopmail/domains/mydomain.com/mydomain-list \ /home/vpopmail/domains/mydomain.com/.qmail-mydomain-list*
3. Change mailing list features A. Remove subject prefix 1) # ezmlm-make -+ -F /home/vpopmail/domains/mydomain.com/mydomain-list \ /home/vpopmail/domains/mydomain.com/.qmail-mydomain-list \ mydomain-list mydomain.com B. Add subject prefix 1) # ezmlm-make -+ -f /home/vpopmail/domains/mydomain.com/mydomain-list \ /home/vpopmail/domains/mydomain.com/.qmail-mydomain-list \ mydomain-list mydomain.com
4. Allow mailing list to be archived publically A. For 'www.mail-archive.com' add 'archive@mail-archive.com' to your lists' subscribers 1) Remove X-No-Archive flag a) # vi /home/vpopmail/domains/mydomain.com/mydomain-list/headeradd 1) Remove line: X-No-Archive: yes 2) Access www.mail-archive.com mailing list a) Open browser and browse to https://www.mail-archive.com/mydomain-list@mydomain.com/
5. Add users to a mailing list
A. ezmlm-sub /home/vpopmail/domains/mydomain.com/mydomain-list < list.txt (list.txt is a file one email address per line)
B. ezmlm-sub /home/vpopmail/domains/mydomain.com/mydomain-list user@domain.tld user2@domain.tld ...
6. Remove users from mailing list A. ezmlm-unsub /home/vpopmail/domains/mydomain.com/mydomain-list user@domain.tld user2@domain.tld ...
7. List/Backup users in mailing list A. ezmlm-list /home/vpopmail/domains/mydomain.com/mydomain-list <stdout> B. ezmlm-list /home/vpopmail/domains/mydomain.com/mydomain-list > mydomain-list.txt