X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=html%2Fforward.wml;h=ebdd78627abee20e9bf6afa7206cd4132cbe3110;hb=refs%2Fheads%2Ffordsa;hp=a2b63754bc1afb0bfb58b22697ad0d7bb737583f;hpb=8f5508b9c16b83dd323f0bf8eabdfd67b979eb0e;p=mirror%2Fuserdir-ldap-cgi.git diff --git a/html/forward.wml b/html/forward.wml index a2b6375..ebdd786 100644 --- a/html/forward.wml +++ b/html/forward.wml @@ -1,19 +1,29 @@ #use wml::db.d.o title="Email Forwarding" +#use wml::vbar + +

-Emails to @debian.org addresses now go through a LDAP distributed email system. +Emails to @debian.org addresses go through an LDAP distributed email system. This system uses the forwarding field in the LDAP directory to route mail -without passing it through a users .forward file on a single host. +without passing it through a user's .forward file on a single host. Multiple machines participate in the forwarding to provide redundancy.

-Each forwarders inspects the LDAP database -to see if foo@debian.org has forwarding set to an address, if so the envelope +Each forwarder inspects the LDAP database +to determine the forwarding address for foo@debian.org. 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 .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. +As that redirection occurs on the mail relays, there is no opportunity for +the use of .forward files, procmail or other filtering. Extension addresses +(foo-lists) are supported, but the extension will not be preserved when +forwarding - i.e. if foo@debian.org redirects to foo@example.com, +then foo-lists@debian.org also redirects to foo@example.com. + +

+As a special-case, the forwarding address may be foo@master.debian.org, +in which case the message is relayed to that system for processing by the +user's .forward or .procmailrc files. Forwarding to master.debian.org preserves +the extension part of the original address.

All machines also use the forwarding attribute as a default destination for @@ -34,26 +44,26 @@ echo "emailforward: foo@bar.com" | gpg --clearsign | mail changes@db.debian.org or by visiting db.debian.org

-You can test the email routing by using the command /usr/sbin/exim -bt -foo@debian.org +You can test the email routing by using the command +/usr/sbin/exim -bt foo@debian.org

procmail

If you use procmail for your main mailbox, PLEASE, erase your .forward -file and put a .procmailrc in its place instead. This feature has been -supported on debian.org machines for a good while now, and will continue to be -supported. .procmailrc files won't be synchronised to all hosts in -the LDAP directory. +file and put a .procmailrc in its place instead. +.procmailrc files will not be synchronised to all hosts in +the LDAP directory, so you will need to make sure the file exists on any +relevant hosts yourself.

The correct way to invoke procmail for extension addresses is "|/usr/bin/procmail [options]" Ignore the IFS=".." stuff in the procmail man page. -

MailBox formats

-Email can be saved to mailboxes or maildirs by using the correct lines in a +

Mailbox formats

+Email can be saved to mailboxes or maildirs by using appropriately formatted lines in a .forward file:

-Mailbox format files "/debian/home/foo/Mbox" -
Maildir format files "/debian/home/foo/MDir/" +Mailbox format files "/home/foo/Mbox" +
Maildir format files "/home/foo/MailDir/"

To deliver to /var/spool/mail/foo use a construct like '|/usr/bin/procmail @@ -63,3 +73,40 @@ Exim.

Also, 'Exim Filter' files are deliberately turned off. + +

Spam handling

+

+Debian developers have a wide variety of loud and conflicting opinions +about what constitutes correct handling of their mail, making it impossible for +an admin to choose a single setup that fits all use cases. +

+ +

+Instead, we invite you to configure your own spam handling. +

+ +

+Some options available to you are: +

+