Re: In a sieve script, how to direct a message to another user's mailbox on the same server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

fetchmailrc:

poll server.provider.com
proto pop3
user "user_A"
mda "/usr/sbin/cyrdeliver user_A"
We have made an extremely simple sieve test script:

if envelope :is "to" "user_A@xxxxxxxxxxxxx"
{
  fileinto "user/user_B/INBOX/folder_A";
}

The fetchmail config means that the envelope for user_A's messages (i.e. the ones that come from user_A's POP box) will always be user_A (in Cyrus).

Are you sure that the @ourdomain.com domain is correct?


Now we would like to extend the script so that messages to user A are put
into user B's mailbox (INBOX or subfolder thereof) *in addition*, provided
they originated from a certain sender.

After successfully getting the fileinto clause to trigger, remember to mark the message as unseen so that the rules continue to be processed and the message is eventually filed into user_A's INBOX as well.



Best wishes,
@ndy

--
andyjpb@xxxxxxxxxxxxxx
http://www.ashurst.eu.org/
0x7EBA75FF

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tcc7e409b06bc9bfd-Md84a43e8a89cbaf92237b122
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]
  Powered by Linux