Re: [Exim] Archiving incoming and outgoing e-mail - SOLVED P…

Top Page
Delete this message
Reply to this message
Author: Philipp Sacha
Date:  
To: Odhiambo G. Washington
CC: exim-users
Subject: Re: [Exim] Archiving incoming and outgoing e-mail - SOLVED PARTLY!!
Odhiambo G. Washington wrote:
> I am writing this for two reasons:
>
> 1. For the benefit of others who will be digging the archives of this
>    list for such a solution, and
> 2. For those who'd like to criti{cise|que} how I did it.

>
> AIM:
>
> My aim is to keep archives of outgoing and incoming mail for some users.
> Hey, they want it, ok?
>
> (a) outgoing mail archival
>
> I know for sure that this rule has a problem: Suppose someone spoofed
> the $sender_address, then that mail will be saved as well. I'm still
> pulling out my hair trying to figure out some logic to cater for that.
> If someone has ideas, I'll be happy to know what it is ;)


I think there is no easy and convenient way to prevent address spoofing.
So one have to take the risk to copy a "wrong" mail.

>
>
> (b) incoming mail archival
>
> Now off to look at a better way for archiving incoming mail, other than
> using shadow_transport.


Perhaps you can modify your system filter so that it parses the mail
header for mail addresses in mail_backup_users. If an address appears in
a "From:"-Line the you have an outgoing mail, if it appears in a "To:"-
or "Cc:"-Line the it in an incoming mail.


Regards,

Philipp

--
Philipp Sacha mailto:psacha@blue-cable.net