X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=web%2Fforward.wml;h=ec56f37566ea712c329e2d4195c4445258824dca;hb=d5ecd5cf0c1a103e7559e03d5206acd4be4f97af;hp=0a374af9a994bbc00aafed7d83e6209e4c4db200;hpb=ba1408e28f60d08b028911857a1dfbbfee691fd5;p=mirror%2Fuserdir-ldap.git diff --git a/web/forward.wml b/web/forward.wml index 0a374af..ec56f37 100644 --- a/web/forward.wml +++ b/web/forward.wml @@ -2,15 +2,15 @@
Emails to @debian.org now go through a LDAP distributed email system. This system uses the forwarding field in the LDAP directory to route mail without -passing it through a users .forward/.qmail file on a single computer. +passing it through a users .forward file on a single computer. Multiple machines participate in the forwarding to provide redudency.
-The system is very simple, each of the forwarders inspects the ldap database -to see if foo@debian.org has fowarding set to an address, if so the envelope -address to is rewritten and the message redirected to that address. +Each of the forwarders inspects the LDAP database +to see if foo@debian.org has forwarding set to an address, if so the envelope +to address is rewritten and the message redirected to the new address. Otherwise the message is relayed to master.debian.org for processing by the -users .qmail files. If email forwarding is setup then .qmail files are +users .forward files. If email forwarding is setup then .forward files are NOT considered. Extension addresses (foo-lists) are always routed directly to master for processing. @@ -18,12 +18,62 @@ directly to master for processing. All machines also use the forwarding attribute as a default destination for email. If the user has a home directory and no .forward file the mail is forwarded rather than delivered to /var/spool/mail. This makes sure cron -reports, bug responses and other unexpected emails are not lost. +reports, bug responses and other unexpected emails are not misplaced.
The email forwarding can be easially reconfigured using GnuPG:
-echo "emailfoward: foo@bar.com" | gpg --clearsign | mail change@db.debian.org +echo "emailforward: foo@bar.com" | gpg --clearsign | mail change@db.debian.org-or by visiting db.debian.org/ +or by visiting db.debian.org +
+The correct way to invoke procmail for extension addresses is "|/usr/bin/procmail [options]" +Ignore the IFS=".." stuff in the procmail man page. + +
+Mailbox format files "/debian/home/foo/Mbox"
+
Maildir format files "/debian/home/foo/MDir/"
+
+
+To deliver to /var/spool/mail/foo use a construct like '|/usr/bin/procmail +-m /dev/null'. Putting the mailbox path will not work. You must use +absolute paths for mailboxes, qmail-like ./ paths are not supported by +Exim. + +
+Also, 'Exim Filter' files are deliberately turned off. + +
+'Standard' Env Variables: +
+'Qmail' Env Variables: +
+Such that, $RECIPIENT = $LOCAL-EXTENSION@<something>. +