Sfoglia il codice sorgente

Fixing mailing lists

Bob Mottram 11 anni fa
parent
commit
5b68aa4d4d
1 ha cambiato i file con 15 aggiunte e 41 eliminazioni
  1. 15
    41
      beaglebone.txt

+ 15
- 41
beaglebone.txt Vedi File

4274
 
4274
 
4275
 #+BEGIN_SRC: bash
4275
 #+BEGIN_SRC: bash
4276
 emacs
4276
 emacs
4277
-/etc/exim4/conf.d/router/450_mailman_aliases
4277
+/etc/exim4/conf.d/router/450_exim4-config_mailman_aliases
4278
 #+END_SRC
4278
 #+END_SRC
4279
 
4279
 
4280
 Add the following:
4280
 Add the following:
4281
 
4281
 
4282
 #+BEGIN_SRC: bash
4282
 #+BEGIN_SRC: bash
4283
-mailman_router:
4283
+mailman:
4284
   driver = accept
4284
   driver = accept
4285
   domains = +mm_domains
4285
   domains = +mm_domains
4286
   require_files = MM_LISTCHK
4286
   require_files = MM_LISTCHK
4297
 Save and exit.
4297
 Save and exit.
4298
 
4298
 
4299
 #+BEGIN_SRC: bash
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
 #+END_SRC
4301
 #+END_SRC
4302
 
4302
 
4303
 Add the following:
4303
 Add the following:
4374
 
4374
 
4375
 Also change these settings for the account within https://$HOSTNAME/cgi-bin/mailman/admin/mailman
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
 #+BEGIN_SRC: bash
4379
 #+BEGIN_SRC: bash
4399
 exim -d+route -bt mymailinglistname@$HOSTNAME
4380
 exim -d+route -bt mymailinglistname@$HOSTNAME
4488
 Update Exim routing.
4469
 Update Exim routing.
4489
 
4470
 
4490
 #+BEGIN_SRC: bash
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
 #+END_SRC
4473
 #+END_SRC
4493
 
4474
 
4494
 Add the following:
4475
 Add the following:
4500
   local_part_suffix_optional
4481
   local_part_suffix_optional
4501
   local_part_suffix = +* : -bounce : -sendkey
4482
   local_part_suffix = +* : -bounce : -sendkey
4502
   domains = +local_domains
4483
   domains = +local_domains
4503
-  require_files = schleuder:/var/schleuderlists/${local_part}/
4484
+  require_files = schleuder:/var/lib/schleuder/$domain/${local_part}/
4504
   transport = schleuder_transport
4485
   transport = schleuder_transport
4505
 #+END_SRC
4486
 #+END_SRC
4506
 
4487
 
4507
 Save and exit.
4488
 Save and exit.
4508
 
4489
 
4509
 #+BEGIN_SRC: bash
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
 #+END_SRC
4492
 #+END_SRC
4512
 
4493
 
4513
 Add the following.
4494
 Add the following.
4518
   driver = pipe
4499
   driver = pipe
4519
   user = schleuder
4500
   user = schleuder
4520
   group = schleuder
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
 #+END_SRC
4504
 #+END_SRC
4524
 
4505
 
4525
 Save and exit.
4506
 Save and exit.
4526
 
4507
 
4527
 #+BEGIN_SRC: bash
4508
 #+BEGIN_SRC: bash
4509
+update-exim4.conf.template -r
4528
 update-exim4.conf
4510
 update-exim4.conf
4529
 service exim4 restart
4511
 service exim4 restart
4530
-useradd  -d /var/schleuderlists -s /bin/false schleuder
4512
+useradd -d /var/schleuderlists -s /bin/false schleuder
4531
 adduser Debian-exim schleuder
4513
 adduser Debian-exim schleuder
4532
 #+END_SRC
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
 #+BEGIN_SRC: bash
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
 #+END_SRC
4520
 #+END_SRC
4547
 
4521
 
4548
-Save and exit.
4549
-
4550
 **** Using the list
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
 To get the public keys send an email to /mailinglistname-request@mydomainname.com/ containing *X-LIST-KEYS* in the message body.
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
 To add a member: *X-ADD-MEMBER: othermember@otherdomain.net*
4528
 To add a member: *X-ADD-MEMBER: othermember@otherdomain.net*