|
@@ -4274,13 +4274,13 @@ Save and exit.
|
4274
|
4274
|
|
4275
|
4275
|
#+BEGIN_SRC: bash
|
4276
|
4276
|
emacs
|
4277
|
|
-/etc/exim4/conf.d/router/450_mailman_aliases
|
|
4277
|
+/etc/exim4/conf.d/router/450_exim4-config_mailman_aliases
|
4278
|
4278
|
#+END_SRC
|
4279
|
4279
|
|
4280
|
4280
|
Add the following:
|
4281
|
4281
|
|
4282
|
4282
|
#+BEGIN_SRC: bash
|
4283
|
|
-mailman_router:
|
|
4283
|
+mailman:
|
4284
|
4284
|
driver = accept
|
4285
|
4285
|
domains = +mm_domains
|
4286
|
4286
|
require_files = MM_LISTCHK
|
|
@@ -4297,7 +4297,7 @@ mailman_router:
|
4297
|
4297
|
Save and exit.
|
4298
|
4298
|
|
4299
|
4299
|
#+BEGIN_SRC: bash
|
4300
|
|
-emacs /etc/exim4/conf.d/transport/40_mailman_pipe
|
|
4300
|
+emacs /etc/exim4/conf.d/transport/40_exim4-config_mailman_pipe
|
4301
|
4301
|
#+END_SRC
|
4302
|
4302
|
|
4303
|
4303
|
Add the following:
|
|
@@ -4374,26 +4374,7 @@ Under *Privacy Options* set steps required for subscription to *Confirm and appr
|
4374
|
4374
|
|
4375
|
4375
|
Also change these settings for the account within https://$HOSTNAME/cgi-bin/mailman/admin/mailman
|
4376
|
4376
|
|
4377
|
|
-#+BEGIN_SRC: bash
|
4378
|
|
-emacs /etc/aliases
|
4379
|
|
-#+END_SRC
|
4380
|
|
-
|
4381
|
|
-Append the following, replacing /mymailinglistname/ with your mailing list name:
|
4382
|
|
-
|
4383
|
|
-#+BEGIN_SRC: bash
|
4384
|
|
-mymailinglistname: "|/var/lib/mailman/mail/mailman post mymailinglistname"
|
4385
|
|
-mymailinglistname-admin: "|/var/lib/mailman/mail/mailman admin mymailinglistname"
|
4386
|
|
-mymailinglistname-bounces: "|/var/lib/mailman/mail/mailman bounces mymailinglistname"
|
4387
|
|
-mymailinglistname-confirm: "|/var/lib/mailman/mail/mailman confirm mymailinglistname"
|
4388
|
|
-mymailinglistname-join: "|/var/lib/mailman/mail/mailman join mymailinglistname"
|
4389
|
|
-mymailinglistname-leave: "|/var/lib/mailman/mail/mailman leave mymailinglistname"
|
4390
|
|
-mymailinglistname-owner: "|/var/lib/mailman/mail/mailman owner mymailinglistname"
|
4391
|
|
-mymailinglistname-request: "|/var/lib/mailman/mail/mailman request mymailinglistname"
|
4392
|
|
-mymailinglistname-subscribe: "|/var/lib/mailman/mail/mailman subscribe mymailinglistname"
|
4393
|
|
-mymailinglistname-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mymailinglistname"
|
4394
|
|
-#+END_SRC
|
4395
|
|
-
|
4396
|
|
-Save and exit. Then to test that the mailing list works:
|
|
4377
|
+Then to test that the mailing list works:
|
4397
|
4378
|
|
4398
|
4379
|
#+BEGIN_SRC: bash
|
4399
|
4380
|
exim -d+route -bt mymailinglistname@$HOSTNAME
|
|
@@ -4488,7 +4469,7 @@ Save and exit.
|
4488
|
4469
|
Update Exim routing.
|
4489
|
4470
|
|
4490
|
4471
|
#+BEGIN_SRC: bash
|
4491
|
|
-emacs /etc/exim4/conf.d/router/550_schleuder
|
|
4472
|
+emacs /etc/exim4/conf.d/router/550_exim4-config_schleuder
|
4492
|
4473
|
#+END_SRC
|
4493
|
4474
|
|
4494
|
4475
|
Add the following:
|
|
@@ -4500,14 +4481,14 @@ schleuder:
|
4500
|
4481
|
local_part_suffix_optional
|
4501
|
4482
|
local_part_suffix = +* : -bounce : -sendkey
|
4502
|
4483
|
domains = +local_domains
|
4503
|
|
- require_files = schleuder:/var/schleuderlists/${local_part}/
|
|
4484
|
+ require_files = schleuder:/var/lib/schleuder/$domain/${local_part}/
|
4504
|
4485
|
transport = schleuder_transport
|
4505
|
4486
|
#+END_SRC
|
4506
|
4487
|
|
4507
|
4488
|
Save and exit.
|
4508
|
4489
|
|
4509
|
4490
|
#+BEGIN_SRC: bash
|
4510
|
|
-emacs /etc/exim4/conf.d/transport/30_schleuder
|
|
4491
|
+emacs /etc/exim4/conf.d/transport/30_exim4-config_schleuder
|
4511
|
4492
|
#+END_SRC
|
4512
|
4493
|
|
4513
|
4494
|
Add the following.
|
|
@@ -4518,37 +4499,30 @@ schleuder_transport:
|
4518
|
4499
|
driver = pipe
|
4519
|
4500
|
user = schleuder
|
4520
|
4501
|
group = schleuder
|
4521
|
|
- home_directory = "/var/schleuderlists/$local_part"
|
4522
|
|
- command = "/usr/bin/schleuder $local_part"
|
|
4502
|
+ home_directory = "/var/lib/schleuder/$domain/$local_part"
|
|
4503
|
+ command = "/usr/bin/schleuder $local_part@$domain"
|
4523
|
4504
|
#+END_SRC
|
4524
|
4505
|
|
4525
|
4506
|
Save and exit.
|
4526
|
4507
|
|
4527
|
4508
|
#+BEGIN_SRC: bash
|
|
4509
|
+update-exim4.conf.template -r
|
4528
|
4510
|
update-exim4.conf
|
4529
|
4511
|
service exim4 restart
|
4530
|
|
-useradd -d /var/schleuderlists -s /bin/false schleuder
|
|
4512
|
+useradd -d /var/schleuderlists -s /bin/false schleuder
|
4531
|
4513
|
adduser Debian-exim schleuder
|
4532
|
4514
|
#+END_SRC
|
4533
|
4515
|
|
4534
|
|
-#+BEGIN_SRC: bash
|
4535
|
|
-emacs /etc/aliases
|
4536
|
|
-#+END_SRC
|
4537
|
|
-
|
4538
|
|
-Append the following, replacing /mailinglistname/ with the mailing list name and /mydomainname.com/ with your domain name.
|
|
4516
|
+Test the routing.
|
4539
|
4517
|
|
4540
|
4518
|
#+BEGIN_SRC: bash
|
4541
|
|
-mailinglistname: "|/usr/bin/schleuder mailinglistname@mydomainname.com"
|
4542
|
|
-mailinglistname-request: "|/usr/bin/schleuder mailinglistname@mydomainname.com"
|
4543
|
|
-mailinglistname-bounce: "|/usr/bin/schleuder mailinglistname@mydomainname.com"
|
4544
|
|
-mailinglistname-sendkey: "|/usr/bin/schleuder mailinglistname@mydomainname.com"
|
4545
|
|
-mailinglistname-owner: "|/usr/bin/schleuder mailinglistname@mydomainname.com"
|
|
4519
|
+exim -d -bt mailinglistname@mydomainname.com
|
4546
|
4520
|
#+END_SRC
|
4547
|
4521
|
|
4548
|
|
-Save and exit.
|
4549
|
|
-
|
4550
|
4522
|
**** Using the list
|
4551
|
4523
|
|
|
4524
|
+The use the list you'll need to get its public key. Send an email to /mailinglistname-sendkey@mydomainname.com/ to receive it.
|
|
4525
|
+
|
4552
|
4526
|
To get the public keys send an email to /mailinglistname-request@mydomainname.com/ containing *X-LIST-KEYS* in the message body.
|
4553
|
4527
|
|
4554
|
4528
|
To add a member: *X-ADD-MEMBER: othermember@otherdomain.net*
|