4 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Re: message id, i...
FromSent OnAttachments
Jerry AmundsonMar 10, 2003 9:21 am 
Sam VarshavchikMar 10, 2003 2:44 pm 
Jerry AmundsonMar 10, 2003 3:32 pm 
Mitch (WebCob)Mar 10, 2003 4:18 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] Re: message id, ip address relationship?Actions...
From:Mitch (WebCob) (mit@webcob.com)
Date:Mar 10, 2003 4:18:48 pm
List:net.sourceforge.lists.courier-users

I'm sure someone can correct me, but I think the ID is currently based on the system time and the inode number of the file or something like that - which forces uniqueness even in a system with multiple processors - as long as the messages are on the same filesystem.

It's got nothing to do with IP.

What I have been hoping for (similarly to you, but for different reasons) was creating a way to associate all log entries from a particular message submission TO that message submission.

Like one mail submission is delivered 50 times... I want to count those bytes, etc. But the fact that the ID seems to get assigned later seems to prevent that - I have been looking at hacks to the submit process, etc. to cause more log info to be dumped so I could make the connections, but nothing yet.

Is there a suggested way? (anyone else attempting similar?)

thanks.

m/

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Jerry Amundson Sent: Monday, March 10, 2003 3:32 PM To: cour@lists.sourceforge.net Subject: Re: [courier-users] Re: message id, ip address relationship?

Sam Varshavchik wrote:

Jerry Amundson writes:

Sometimes, particularly when hunting spammers, I need to associate an IP address with the delivery of a message. Can the IP somehow be discerned from the msgid? For example, of the two starts of courieresmtpd below, which is responsible for the message?

Mar 10 10:07:26 arsenic courieresmtpd: started,ip=[::ffff:66.205.200.238] Mar 10 10:07:33 arsenic courieresmtpd: started,ip=[::ffff:66.205.204.17] Mar 10 10:07:34 arsenic courierd: newmsg,id=001674CE.3E6CB846.0000413E Mar 10 10:07:34 arsenic courierd:

started,id=001674CE.3E6CB846.0000413E,from=<mrpr@mrpreview.blueturn.net

,module=local,host=tomw!!5070!100!/users/tomw!!,addr=<tomw>

You can look at the headers of the message to determine which IP address it came from.

... and it's been POP3 downloaded to a client PC. I didn't want to have to involve the end-user.