move html into the cgi
[mirror/userdir-ldap-cgi.git] / html / forward.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="en">
3 <head>
4   <meta http-equiv="Content-Type" content="text/html; charset=">
5   <title>Debian Project -- Email Forwarding</title>
6   <link rev="made" href="mailto:webmaster@debian.org">
7   <meta name="Generator" content="WML 2.0.8 (30-Oct-2001)">
8   <meta name="Modified" content="2006-12-22 10:24:30">
9 </head>
10 <body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#800080" alink="#FF0000">
11 <table width="100%" align="center" border="0" cellpadding="3" cellspacing="0" summary="">
12 <tr>
13   <td align="left" valign="middle">
14   <a href="http://www.debian.org/"><img src="http://www.debian.org/logos/openlogo-nd-50.png" border="0" hspace="0" vspace="0" alt=""></a>
15   <a href="http://www.debian.org/" rel="start"><img src="http://www.debian.org/Pics/debian.png" border="0" hspace="0" vspace="0" alt="Debian Project"></a>
16   </td>
17 </tr>
18 </table>
19 <!--UdmComment-->
20 <table bgcolor="#DF0451" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
21 <tr>
22 <td valign="top">
23 <img src="http://www.debian.org/Pics/red-upperleft.png" align="left" border="0" hspace="0" vspace="0" alt="">
24 </td>
25 <td rowspan="2" align="center">
26 <a href="http://www.debian.org/intro/about"><img src="http://www.debian.org/Pics/about.en.gif" align="middle" border="0" hspace="4" vspace="7" alt="About Debian"></a>
27 <a href="http://www.debian.org/News/"><img src="http://www.debian.org/Pics/news.en.gif" align="middle" border="0" hspace="4" vspace="7" alt="News"></a>
28 <a href="http://www.debian.org/distrib/"><img src="http://www.debian.org/Pics/getting.en.gif" align="middle" border="0" hspace="4" vspace="7" alt="Getting Debian"></a>
29 <a href="http://www.debian.org/support"><img src="http://www.debian.org/Pics/support.en.gif" align="middle" border="0" hspace="4" vspace="7" alt="Support"></a>
30 <a href="http://www.debian.org/devel/"><img src="http://www.debian.org/Pics/devel.en.gif" align="middle" border="0" hspace="4" vspace="7" alt="Developers'&nbsp;Corner"></a>
31 <a href="http://www.debian.org/sitemap" rel="contents"><img src="http://www.debian.org/Pics/sitemap.en.gif" align="middle" border="0" hspace="4" vspace="7" alt="Site map"></a>
32 <a href="http://search.debian.org/"><img src="http://www.debian.org/Pics/search.en.gif" align="middle" border="0" hspace="4" vspace="7" alt="Search"></a>
33 </td>
34 <td valign="top">
35 <img src="http://www.debian.org/Pics/red-upperright.png" align="right" border="0" hspace="0" vspace="0" alt="">
36 </td>
37 </tr>
38 <tr>
39 <td valign="bottom">
40 <img src="http://www.debian.org/Pics/red-lowerleft.png" align="left" border="0" hspace="0" vspace="0" alt="">
41 </td>
42 <td valign="bottom">
43 <img src="http://www.debian.org/Pics/red-lowerright.png" align="right" border="0" hspace="0" vspace="0" alt="">
44 </td>
45 </tr>
46 </table>
47 <!--/UdmComment-->
48 <h1>Email Forwarding</h1>
49 <p>
50 Emails to @debian.org addresses now go through a LDAP distributed email system.
51 This system uses the forwarding field in the LDAP directory to route mail
52 without passing it through a users .forward file on a single host.
53 Multiple machines participate in the forwarding to provide redundancy.
54 <p>
55 Each forwarders inspects the LDAP database
56 to see if foo@debian.org has forwarding set to an address, if so the <i>envelope
57 to address</i> is rewritten and the message redirected to the new address.
58 Otherwise the message is relayed to master.debian.org for processing by the
59 users .forward files. If email forwarding is setup then .forward files are
60 <b>NOT</b> considered. Extension addresses (foo-lists) are always routed
61 directly to master for processing.
62 <p>
63 All machines also use the forwarding attribute as a default destination for
64 email. If the user has a home directory and no .forward file the mail is
65 forwarded rather than delivered to /var/spool/mail. This makes sure cron
66 reports, bug responses and other unexpected emails are not misplaced.
67 <p>
68 If you set the forwarding address to be a specific Debian machine and do
69 not create a forward file then that machine will spool the mail to
70 /var/spool/mail instead of creating a mail loop.
71 <p>
72 The email forwarding can be easily reconfigured using GnuPG:
73 <pre>
74 echo "emailforward: foo@bar.com" | gpg --clearsign | mail change@db.debian.org
75 </pre>
76 or by visiting <a href="https://db.debian.org/login.html">db.debian.org</a>
77 <p>
78 You can test the email routing by using the command <tt>/usr/sbin/exim -bt
79 foo@debian.org</tt>
80 <h2>procmail</h2>
81 If you use procmail for your main mailbox, PLEASE, erase your .forward
82 file and put a .procmailrc in its place instead. This feature has been
83 supported on debian.org machines for a good while now, and will continue to be
84 supported. .procmailrc files won't be synchronised to all hosts in
85 the LDAP directory.
86 <p>
87 The correct way to invoke procmail for extension addresses is "|/usr/bin/procmail [options]"
88 Ignore the IFS=".." stuff in the procmail man page.
89 <h2>MailBox formats</h2>
90 Email can be saved to mailboxes or maildirs by using the correct lines in a
91 .forward file:
92 <p>
93 Mailbox format files "/debian/home/foo/Mbox"
94 <br>Maildir format files "/debian/home/foo/MDir/"
95 <p>
96 To deliver to /var/spool/mail/foo use a construct like '|/usr/bin/procmail
97 -m /dev/null'. Putting the mailbox path will not work. You must use
98 absolute paths for mailboxes, qmail-like ./ paths are not supported by
99 Exim.
100 <p>
101 Also, 'Exim Filter' files are deliberately turned off.
102 <hr noshade width="100%" size="1">
103 Back to the <a href="http://www.debian.org/">Debian Project homepage</a>.
104 <hr noshade width="100%" size="1">
105 <small>
106 You can contact us at
107 <a href="mailto:admin@db.debian.org">admin@db.debian.org</a>.
108 </small>
109 <p>
110 <p><small>
111 Last Modified: Mon, May 9 18:13:06 UTC 2005
112   <br>
113   Copyright &copy; 1997-2005
114  <a href="http://www.spi-inc.org/">SPI</a>; See <a href="http://www.debian.org/license" rel="copyright">license terms</a><br>
115   Debian is a registered trademark of Software in the Public Interest, Inc.
116 </small></p>
117 </body>
118 </html>