[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I�m using qmail for all incoming and outgoing messages in a internet domain
[...]
So far, so good.
> - let�s say domain.com.
Let's not. Please use real, unadulterated host/domain/IP information. It
makes our job easier in many cases.
> I need to setup qmail to send a copy of every message sent by
> [EMAIL PROTECTED] to [EMAIL PROTECTED] automatically. I cannot be sure that
> [EMAIL PROTECTED] will copy [EMAIL PROTECTED] for every message he/she sent.
This is most easily fixed in user1's MUA; any decent MUA will provide a simple
configuration for specifying an automatic cc: recipient.
> Can Qmail handle such feature with no additional compilation? Do I need any
> additional package compatible with it?
If you _must_ do this in the MTA, follow Dan's instructions on setting
QUEUE_EXTRA (he suggests the value "Tlog\0"). Then have a script called from
~alias/.qmail-log which checks $SENDER, and if it is user1, forward a copy to
user2. You may have to set NEWSENDER in the script, so that it doesn't cause
a loop.
You can find Dan's directions for this type of thing under "How do I keep a
copy of all mail..." or something like that, on his site at cr.yp.to.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------