atom feed19 messages in net.sourceforge.lists.courier-usersRe: [courier-users] How to identify m...
FromSent OnAttachments
Jérôme BlionAug 19, 2008 2:07 pm 
Sam VarshavchikAug 19, 2008 3:23 pm 
Gordon MessmerAug 19, 2008 8:16 pm 
Aidas KasparasAug 19, 2008 9:10 pm 
Alessandro VeselyAug 20, 2008 1:03 am 
Jerome BlionAug 20, 2008 4:08 am 
Gordon MessmerAug 20, 2008 5:39 pm 
Gordon MessmerAug 20, 2008 5:48 pm 
Alessandro VeselyAug 20, 2008 10:05 pm 
Aidas KasparasAug 20, 2008 10:08 pm 
Gordon MessmerAug 29, 2008 10:21 pm.py
Jérôme BlionSep 2, 2008 11:51 am 
Aidas KasparasSep 10, 2008 11:00 pm.diff
Gordon MessmerSep 11, 2008 11:14 am 
Michelle KonzackSep 20, 2008 5:05 pm 
Michelle KonzackSep 20, 2008 5:05 pm 
Jérôme BlionSep 20, 2008 9:41 pm 
Bernd WurstSep 21, 2008 12:58 am 
Gordon MessmerSep 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:Aug 19, 2008 9:10:04 pm
List:net.sourceforge.lists.courier-users

Gordon Messmer wrote:

Sam Varshavchik wrote:

You can't. Alias lookup happens immediately upon the receipt of the recipient's address. Since the alias address is no longer needed, it does not get stored anywhere.

It does get stored in the control file, doesn't it? Courierfilters have access to that information and can log it, AFAIK. It should be trivial to write a pythonfilter that logs that information if users want it.

Count me to the "users want it" part.

Why? Because at the moment I don't know how to grep from the logs info about all the messages to some particular alias. And, if problem with some alias is reported, the only way to check it is sending test messages.

Therefore, I would prefer if courier would log RCPT TO: address before alias explosion at least in "courierd: started" line out of the box. I think that would be better than extra line in logs from some filter.

And, since we already talk about logs, how do you find from the logs IP address from which messages was submitted? By time is not accurate enough. Looking at headers on the server is not possible if the message was forwarded to different server or received by pop3 client and removed from server. E-mail clients which implement forward with headers are not popular amongst my clients :( So, I want this info from logs, please!