Re: 2.5.10 autocreate on login not working?
Hi, Ellie. On 2016/12/06 4:03 PM, ellie timoney via Info-cyrus wrote: The autocreate code in 2.5 is full of LOG_DEBUG syslogs -- I guess you don't have this turned on, or you're logging that log level to a different file. It would be helpful to see this output. I think you can turn this logging on in Cyrus by adding "debug: yes" to your imapd.conf. You might need to do something with your syslog configuration too -- it's been a while since I set this up myself and I don't remember the details offhand. Okay, I enabled debug in imapd.conf; I now see lots more detail in maillog regarding the construction of the SASL mech, but that's it. Has the syslog facility changed for 2.5.x? The documentation I could find references local6.debug, but I'm not getting any extra detail in the logfile I defined. Nels LindquistCyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: fetching spam from users junk folder
Hi Nic, Am Dienstag, den 06.12.2016, 11:25 -0600 schrieb Nic Bernstein: > Marcus, > In my original response I forgot to mention that for this, or any > similar approach, to work, you need to use the misnamed "proxyservers" > setting in imapd.conf to grant access to an administrative user. >proxyservers: > A list of users and groups that are allowed to proxy for other > users, separated by spaces. Any user listed in this will be > allowed to login for any other user: use with caution. > For example: > proxyservers: adminuser > Or, alternately, assign rights to the appropriate mailboxes in cyradm: > > sam user.%.Should\ Be\ Spam adminuser all Without using proxyservers I tried setaclmailbox user.testusera.j...@domain.de testus...@domain.de all This works fine to give testuserb full access to testusera's Junk folder. But I run virtual domains where I get this error message setaclmailbox user.testusera.j...@domain.de j...@anotherdomain.de all setaclmailbox: j...@anotherdomain.de: lrswipkxtea: Invalid identifier How do I solve that? I found this in doc/text/install-virtdomains * Domains are mutually exclusive - Users only have access to mailboxes within their own domain (intra-domain). The following example will not work: setacl user.j...@herdomain.com r...@hisdomain.com read. I don't want to work with a "Global administrator" with access to all mailboxes and put that password in a script. Ciao! -- , [ Marcus Schopen ] | (0> | //\ | V_/_ D-33602 Bielefeld | ` Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: fetching spam from users' junk folders
On 07.12.2016 12:00, info-cyrus-requ...@lists.andrew.cmu.edu wrote: I use this to feed spamassassin automatically: https://packages.debian.org/jessie/sa-learn-cyrus Do you even need that? Each message can be found on the filesystem already in format directly understandable by sa-learn. I have the following cron-job running on my server as the cyrus-user: find /var/spool/imap/user/*/spam*/ -type f -name '[0-9]*.' | xargs sa-learn --quiet --spam As you can see, it is not even IMAP-aware. You may need it to be, if it needs to run on a machine separate from Cyrus-server -- because that's where your incoming mail is being filtered. But even in that case, it would be faster to run the learning on the Cyrus-system -- dealing with local files is always faster, than going for the same files via IMAP -- and then copy the updated database over to the incoming-mail server. -mi Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: fetching spam from users junk folder
Hi Vladki, Am Dienstag, den 06.12.2016, 22:22 +0100 schrieb Vladislav Kurz via Info-cyrus: > Dne Út 6. prosince 2016 08:34:39, Marcus Schopen via Info-cyrus napsal(a): > > Hi, > > > > I'm looking for an easy way to fetch spams, which were moved into a > > special junk subfolder by users in their accounts. I'd like to move > > those messages from there to my account, so I can analyse them to adjust > > anti spam rules. How would you do that? > > > > Ciao! > > I use this to feed spamassassin automatically: > https://packages.debian.org/jessie/sa-learn-cyrus Ah yes, thanks. I've seen that package a while a ago. My problem is, that SA and Cyrus are not running on the same host. Ciao! Marcus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus