X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=html%2Fforward.wml;h=ebdd78627abee20e9bf6afa7206cd4132cbe3110;hb=c29003a7821c3054a9db4f19d6fd2608a6237148;hp=5fc2e857720e6146c171677041d985c587fcbc67;hpb=9afc0bd0d3145367a287d2afc1dadbec8047a96e;p=mirror%2Fuserdir-ldap-cgi.git diff --git a/html/forward.wml b/html/forward.wml index 5fc2e85..ebdd786 100644 --- a/html/forward.wml +++ b/html/forward.wml @@ -11,12 +11,19 @@ Multiple machines participate in the forwarding to provide redundancy.

Each forwarder inspects the LDAP database -to see if foo@debian.org has forwarding set to an address, if so the envelope +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 -user's .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 @@ -37,8 +44,8 @@ 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 @@ -51,12 +58,12 @@ 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 @@ -66,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: +

+