| From | Sent On | Attachments |
|---|---|---|
| Jérôme Blion | Aug 19, 2008 2:07 pm | |
| Sam Varshavchik | Aug 19, 2008 3:23 pm | |
| Gordon Messmer | Aug 19, 2008 8:16 pm | |
| Aidas Kasparas | Aug 19, 2008 9:10 pm | |
| Alessandro Vesely | Aug 20, 2008 1:03 am | |
| Jerome Blion | Aug 20, 2008 4:08 am | |
| Gordon Messmer | Aug 20, 2008 5:39 pm | |
| Gordon Messmer | Aug 20, 2008 5:48 pm | |
| Alessandro Vesely | Aug 20, 2008 10:05 pm | |
| Aidas Kasparas | Aug 20, 2008 10:08 pm | |
| Gordon Messmer | Aug 29, 2008 10:21 pm | .py |
| Jérôme Blion | Sep 2, 2008 11:51 am | |
| Aidas Kasparas | Sep 10, 2008 11:00 pm | .diff |
| Gordon Messmer | Sep 11, 2008 11:14 am | |
| Michelle Konzack | Sep 20, 2008 5:05 pm | |
| Michelle Konzack | Sep 20, 2008 5:05 pm | |
| Jérôme Blion | Sep 20, 2008 9:41 pm | |
| Bernd Wurst | Sep 21, 2008 12:58 am | |
| Gordon Messmer | Sep 21, 2008 8:54 am |
| Subject: | Re: [courier-users] How to identify mails sent to an alias | |
|---|---|---|
| From: | Aidas Kasparas (a.ka...@gmc.lt) | |
| Date: | Sep 10, 2008 11:00:42 pm | |
| List: | net.sourceforge.lists.courier-users | |
| Attachments: | ||
Gordon Messmer wrote:
Attached is a pythonfilter which will log the original recipient address for messages that are delivered to aliases. It took less than 5 minutes to write. :)
Virtually anything that you want logged could be done in a very similar fashion.
Thank you. Small fix attached.
-- Aidas Kasparas IT administrator GM Consult Group, UAB
--- log_aliases.py.R 2008-09-11 08:54:57.000000000 +0300
+++ log_aliases.py 2008-09-11 08:55:49.000000000 +0300
@@ -31,6 +31,6 @@
if addr[1]:
if(addr[1].startswith('rfc822;')):
addr[1] = addr[1][7:]
- sys.stderr.write('Message delivered to %s was originally addressed
to %s\n.' % \
+ sys.stderr.write('Message delivered to %s was originally addressed
to %s.\n' % \
(addr[0], addr[1]))
return ''
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users






.py