Brian, I forsee a couple of issues with this approach.
If John Doe (the user that will contain all messages incomming and outgoing)
receives a message, he will get a second copy.
If John Doe sends mail, he will get also a copy.
If you have aliases associated with the domain like [EMAIL PROTECTED] he will
also get a copy.
I like your idea of kinda having a validation rule, but I have no clue on
how to do it. Any pointers? Also, this does impose an extra load on the
server, but I guess there is no way to change that right?
thanks
-pa
----- Original Message -----
From: Brian Johnson <[EMAIL PROTECTED]>
To: Paul Aviles <[EMAIL PROTECTED]>
Sent: Tuesday, May 30, 2000 2:18 PM
Subject: Re: Backup logs
> > Paul Aviles wrote:
> > I know how to create backups for all incoming and outgoing messages by
> > modifying the extra.h file, but it is possible to target only certain
> > accounts to do the backup on? This box has multiple virtual domains
> > and one of them wants to track incoming and outgoing only for certain
> > accounts. Using the extra.h copies everything for all virtual domains.
> > Is this possible with qmail?
>
> make a .qmail file for the user the logs go to that calls a script that
> looks at the to and from names in the e-mail and if it matches one of
> the addresses you want to log have it write it to a file, otherwise have
> it discard the message..
>