From: Rob Siemborski (no email)
Date: Wed Oct 01 2003 - 13:59:32 EDT
On Wed, 1 Oct 2003, Denis V. Suhanov wrote:
> Is there a way to use sieve for sorting an outgoing mail? For example, I
> have folders user.test.work.received and user.test.work.sent and want
> all work-related incoming mail to go to the user.test.work.received
> (this part works just fine) but also all outgoing mail to go to
> user.test.work.sent? I am not sure what is the right way to do it. I
> tried something like this:
>
> if allof(header :contains "from" "",
> header :contains "to" "workdomain.com") {
> fileinto "work.sent";
> }
If you can configure your MUA to do it without sieve, do that...
Otherwise, you might be able to simulate it by configuring your MUA to
send you a copy of the message like
To:
Bcc: user+
and then have sieve filter on that address. It's clunky but its the only
way to get sieve to do this (it only filters on mail delivered via
LMTP--not IMAP).
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
|
|
|