some progress on the smtp bounce proxy
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Mon, 20 Dec 2004 22:31:37 +0000 (22:31 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:26:46 +0000 (23:26 +0200)
commit6ad699ffc5feadb773d3a2d41fc173d30662ec87
treecfb2053e8365a94ed41a58db962ebfac6c94a7d4
parent123e7d375779bf78095169d3f67e60323ba26f08
some progress on the smtp bounce proxy

we don't want to make distinction between permanent or temporary
errors, because we should add a "unknown" level, and that will be too
complicated for really to little gain.

so we have basicaly :
 - ignore (drop the mails)
 - notice (forward the "bounce" as is - default)
 - error  (do the broken leg + forge a new bounce)

the errors levels are regexp-driven (read from a mysql db)

the only thing left is the treatment of the ERROR level (others are
fine, and the web interface to edit the regexps too)

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-117
bin/smtp_bounce_proxy.py
htdocs/admin/emails_bounces_re.php [new file with mode: 0644]
templates/admin/emails_bounces_re.tpl [new file with mode: 0644]
upgrade/0.9.3/85_bounces_proxy.sql [new file with mode: 0644]