|
@@ -3297,7 +3297,10 @@ If you're in a very locked down environment where access to web sites is severel
|
3297
|
3297
|
|
3298
|
3298
|
Mailing lists are old skool but still remain as a common and easy way of communicating on the internet. If you're running a public organisation such as an open source project or community group then you may want to set one up.
|
3299
|
3299
|
|
|
3300
|
+*** Installation
|
|
3301
|
+
|
3300
|
3302
|
#+BEGIN_SRC: bash
|
|
3303
|
+export HOSTNAME=mydomainname.com
|
3301
|
3304
|
apt-get install mailman
|
3302
|
3305
|
newlist mailman
|
3303
|
3306
|
#+END_SRC
|
|
@@ -3344,6 +3347,20 @@ MM_LISTCHK=MM_HOME/lists/${lc::$local_part}/config.pck
|
3344
|
3347
|
Save and exit.
|
3345
|
3348
|
|
3346
|
3349
|
#+BEGIN_SRC: bash
|
|
3350
|
+emacs /etc/exim4/conf.d/main/000_localmacros
|
|
3351
|
+#+END_SRC
|
|
3352
|
+
|
|
3353
|
+Append the following:
|
|
3354
|
+
|
|
3355
|
+#+BEGIN_SRC: bash
|
|
3356
|
+SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe
|
|
3357
|
+SYSTEM_ALIASES_USER = list
|
|
3358
|
+SYSTEM_ALIASES_GROUP = list
|
|
3359
|
+#+END_SRC
|
|
3360
|
+
|
|
3361
|
+Save and exit.
|
|
3362
|
+
|
|
3363
|
+#+BEGIN_SRC: bash
|
3347
|
3364
|
emacs /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
|
3348
|
3365
|
#+END_SRC
|
3349
|
3366
|
|
|
@@ -3404,6 +3421,8 @@ mailman_transport:
|
3404
|
3421
|
Save and exit.
|
3405
|
3422
|
|
3406
|
3423
|
#+BEGIN_SRC: bash
|
|
3424
|
+chown root:list /var/lib/mailman/mail/mailman
|
|
3425
|
+update-exim4.conf.template -r
|
3407
|
3426
|
update-exim4.conf
|
3408
|
3427
|
service exim4 restart
|
3409
|
3428
|
emacs /etc/apache2/conf.d/mailman
|
|
@@ -3447,7 +3466,6 @@ Now add your mailing list. The list name should not include any spaces.
|
3447
|
3466
|
|
3448
|
3467
|
#+BEGIN_SRC: bash
|
3449
|
3468
|
newlist mymailinglistname
|
3450
|
|
-/var/lib/mailman/bin/genaliases -q
|
3451
|
3469
|
#+END_SRC
|
3452
|
3470
|
|
3453
|
3471
|
With a browser visit https://$HOSTNAME/cgi-bin/mailman/admin/mymailinglistname to configure the mailing list.
|
|
@@ -3458,14 +3476,58 @@ Under *Privacy Options* set steps required for subscription to *Confirm and appr
|
3458
|
3476
|
|
3459
|
3477
|
Also change these settings for the account within https://$HOSTNAME/cgi-bin/mailman/admin/mailman
|
3460
|
3478
|
|
3461
|
|
-To test that the mailing list works:
|
|
3479
|
+#+BEGIN_SRC: bash
|
|
3480
|
+emacs /etc/aliases
|
|
3481
|
+#+END_SRC
|
|
3482
|
+
|
|
3483
|
+Append the following, replacing /mymailinglistname/ with your mailing list name:
|
|
3484
|
+
|
|
3485
|
+#+BEGIN_SRC: bash
|
|
3486
|
+mymailinglistname: "|/var/lib/mailman/mail/mailman post mymailinglistname"
|
|
3487
|
+mymailinglistname-admin: "|/var/lib/mailman/mail/mailman admin mymailinglistname"
|
|
3488
|
+mymailinglistname-bounces: "|/var/lib/mailman/mail/mailman bounces mymailinglistname"
|
|
3489
|
+mymailinglistname-confirm: "|/var/lib/mailman/mail/mailman confirm mymailinglistname"
|
|
3490
|
+mymailinglistname-join: "|/var/lib/mailman/mail/mailman join mymailinglistname"
|
|
3491
|
+mymailinglistname-leave: "|/var/lib/mailman/mail/mailman leave mymailinglistname"
|
|
3492
|
+mymailinglistname-owner: "|/var/lib/mailman/mail/mailman owner mymailinglistname"
|
|
3493
|
+mymailinglistname-request: "|/var/lib/mailman/mail/mailman request mymailinglistname"
|
|
3494
|
+mymailinglistname-subscribe: "|/var/lib/mailman/mail/mailman subscribe mymailinglistname"
|
|
3495
|
+mymailinglistname-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mymailinglistname"
|
|
3496
|
+#+END_SRC
|
|
3497
|
+
|
|
3498
|
+Save and exit. Then to test that the mailing list works:
|
3462
|
3499
|
|
3463
|
3500
|
#+BEGIN_SRC: bash
|
3464
|
|
-exim -d -bt mymailinglistname@$HOSTNAME
|
|
3501
|
+exim -d+route -bt mymailinglistname@$HOSTNAME
|
3465
|
3502
|
#+END_SRC
|
3466
|
3503
|
|
3467
|
3504
|
If everything is working then this shouldn't show any problems.
|
3468
|
3505
|
|
|
3506
|
+*** Using the mailing list
|
|
3507
|
+Direct subscribers towards:
|
|
3508
|
+
|
|
3509
|
+#+BEGIN_SRC: bash
|
|
3510
|
+https://mydomainname.com/cgi-bin/mailman/listinfo/mymailinglistname
|
|
3511
|
+#+END_SRC
|
|
3512
|
+
|
|
3513
|
+To administrate the list visit:
|
|
3514
|
+
|
|
3515
|
+#+BEGIN_SRC: bash
|
|
3516
|
+https://mydomainname.com/cgi-bin/mailman/admin/mymailinglistname
|
|
3517
|
+#+END_SRC
|
|
3518
|
+
|
|
3519
|
+To add another mailing list:
|
|
3520
|
+
|
|
3521
|
+#+BEGIN_SRC: bash
|
|
3522
|
+newlist mymailinglistname
|
|
3523
|
+#+END_SRC
|
|
3524
|
+
|
|
3525
|
+To delete a mailing list:
|
|
3526
|
+
|
|
3527
|
+#+BEGIN_SRC: bash
|
|
3528
|
+rmlist -a mymailinglistname
|
|
3529
|
+#+END_SRC
|
|
3530
|
+
|
3469
|
3531
|
** Install Tripwire
|
3470
|
3532
|
|
3471
|
3533
|
#+BEGIN_VERSE
|