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" "[email protected]"
{
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
--
[email protected]
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