Re: Cyrus - Rspamd - Sieve

Luca Olivetti <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
El 31/1/21 a les 14:18, Luca Olivetti ha escrit:

>>      "oldMailboxID": 
>> "imap://[email protected]@imap.example.org/INBOX;UIDVALIDITY=1424683682",
> 
> This is the source folder, if it is (e.g.) INBOX.spam, map the uri to 
> the file (combining it with the "uidset" field, which can be a list, so 
> you'll have to iterate over all messages) and pass it to "sa_learn 
> --ham" (since the user is moving  it out of the spam folder).

Note that the file depends on your setup (where the spool is, hashed 
imap spool or not, etc.).

In my case, the file would be /mnt/lun_correo/spool/j/john/uid.

Other gotchas is the encoding of special chars in mailbox names, etc., I 
just copied code from imapurl.c.

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T4a9f972d95fd358f-M163867e37e3cb7ad9202faa3
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.