Peter Bowyer wrote: > On 19/06/06, Marc Perkel <[EMAIL PROTECTED]> wrote: > >> >>Philip Hazel wrote: >> >>>On Mon, 19 Jun 2006, Marc Perkel wrote: >>> >>> >>> >>>>So - why doesn't add_header work in the quit ACL >>>> >>> >>>Because there is no message that is currently being received. Isn't that >>>pretty obvious? >>> >> >>Not really obvious. It depends on how it's coded. If you do it right the >>quit can execute before and during the end of the smtp session you could >>still modify the message in the buffer before sending it on. > > > Which message would you like it to modify? One of the 1-to-n messages > which have already been processed, or the one it was in the middle of > receiving when the 'QUIT' caused it to be abandoned? > > Peter >
Hmmm.... or perhaps the one that logged this: 2006-06-19 21:23:16 1FsRAE-000HXH-9j <= [EMAIL PROTECTED] H=sesame.csx.cam.ac.uk [131.111.8.41]:2938 I=[203.194.153.81]:25 P=esmtp S=3298 [EMAIL PROTECTED] T="Re: [exim] Adding Headers in QUIT ACL" from <[EMAIL PROTECTED]> for [EMAIL PROTECTED] 2006-06-19 21:23:16 1FsRAE-000HXH-9j => wbh <[EMAIL PROTECTED]> F=<[EMAIL PROTECTED]> P=<[EMAIL PROTECTED]> R=db_user T=db_delivery S=2492 QT=3m10s DT=0s 2006-06-19 21:23:16 1FsRAE-000HXH-9j Completed QT=3m10s But when grepped was in the dovecot indices, but not in the fs: conducive# grep -r [EMAIL PROTECTED] /data/mail/conducive.org/wbh/Maildir/ Binary file /data/mail/conducive.org/wbh/Maildir/dovecot.index.cache matches ..... and after several minutes of head scratching and searching was found to match the '[EMAIL PROTECTED]' entry in the Mozilla Mail MUA 'Idiots' filter, which had deleted it, unread. *Sigh*... "Irish Alzheimers" But I s'pose one could add get the effect Marc wants by piping /dev/urandom to a script that could add headers, then modify them? Bill -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
