Dominic Raferd <domi...@timedicer.co.uk>
> I never heard of such requirement before. But the QueueID can be found in the 
> first Received: header in each archived email and you can match this with the 
> relevant smtp line for the outgoing delivery in the log file. You could 
> extract the relevant data from this line and feed it back into the saved 
> email file as a dummy header. It's a hack, sure. If you use a content_filter 
> such as amavis then it is a bit harder because there are different QueueIDs 
> for the received and outgoing emails.

when I was using Qmail before, I wrote such archive system myself.
there are many times people lost their mails and ask to restore all
the old emails belong to them. or time to time there are legal issues
need to check related emails. I know there are companies who need to
keep their mails for 7 years.

now there are many mature email archive system in the market so I can
just use one of them. but I need to feed the system necessary
information to finish the job.

QueueID maybe an idea. but if there is some way to hook postfix to get
the info it maybe easier. (when using configuration is not possible)
I am using postfixadmin+dovecot. for incoming mails I already hook
"virtual_transport" and write my script to get every receiver.
is there similar hook I can do for outgoing mails?

Reply via email to