Re: Using filter in an imapsieve script?

2017-04-08 Thread Stephan Bosch
Op 4/5/2017 om 11:48 AM schreef Tobi: > Hello list OK, I know why this is happening now. > I currently have an issue with an imapsieve script on my dovecot server > > CentOS Linux release 7.3.1611 (Core) > Dovecot 2.2.26.0 (23d1de6) > Pigeonhole 2.2.26.0 > > The goal is to "fire" an imapsieve scr

Re: IMAPSieve Changed flags cause?

2017-04-08 Thread Stephan Bosch
Op 4/7/2017 om 7:29 PM schreef MRob: > On 2017-04-05 18:50, MRob wrote: >> RFC 6785 says I should be able to run scripts when a command changes >> flags on a message but I can't understand what to put in >> imapsieve_mailboxXXX_causes. Dovecot logs something like STORE as an >> invalid cause. >> >>

Re: IMAPSieve Changed flags cause?

2017-04-08 Thread MRob
On 2017-04-08 01:03, Stephan Bosch wrote: Op 4/7/2017 om 7:29 PM schreef MRob: On 2017-04-05 18:50, MRob wrote: RFC 6785 says I should be able to run scripts when a command changes flags on a message but I can't understand what to put in imapsieve_mailboxXXX_causes. Dovecot logs something like

Re: IMAPSieve Changed flags cause?

2017-04-08 Thread Stephan Bosch
Op 4/8/2017 om 10:08 AM schreef MRob: > On 2017-04-08 01:03, Stephan Bosch wrote: >> Op 4/7/2017 om 7:29 PM schreef MRob: >>> On 2017-04-05 18:50, MRob wrote: RFC 6785 says I should be able to run scripts when a command changes flags on a message but I can't understand what to put in

How to use quota with dovecot

2017-04-08 Thread Mik J
Hello, I would like to use quotas with dovecot and things are not clear to me. I read this page https://wiki2.dovecot.org/Quota 1) I did this # ls /usr/local/lib/dovecot/lib10_quota_plugin.so /usr/local/lib/dovecot/lib10_quota_plugin.so # grep mail_plugins /etc/dovecot/conf.d/10-mail.conf mai

How to migration my mails from another server ?

2017-04-08 Thread Mik J
Hello, I would like to host my mails and I would like to retrieve my existing mailbox content from my ISP My ISP == I don't have root access on the server The server seem to use Dovecot according to the banner. My machine == I have root access on the server I use Dovecot 2.2.21 I us

Re: How to migration my mails from another server ?

2017-04-08 Thread Adrian Minta
Use imapsync: https://imapsync.lamiral.info/ On 04/08/2017 12:02 PM, Mik J wrote: Hello, I would like to host my mails and I would like to retrieve my existing mailbox content from my ISP My ISP == I don't have root access on the server The server seem to use Dovecot according to the ba

Re: How to migration my mails from another server ?

2017-04-08 Thread Adrian Minta
Imapsync is perfectly capable of doing that. You need to have an working account on the dovecot server and the password from both the gmail account and dovecot account. Then use this command: imapsync \ --host1 imap.gmail.com --user1 t...@gmail.com --password1 mypasswd \ --host2 new.mail

Re: IMAPSieve Changed flags cause?

2017-04-08 Thread MRob
On 2017-04-08 01:21, Stephan Bosch wrote: Op 4/8/2017 om 10:08 AM schreef MRob: On 2017-04-08 01:03, Stephan Bosch wrote: Op 4/7/2017 om 7:29 PM schreef MRob: On 2017-04-05 18:50, MRob wrote: RFC 6785 says I should be able to run scripts when a command changes flags on a message but I can't

Updating mysql db when messages first read by IMAP user

2017-04-08 Thread KT Walrus
I need to implement updating a mysql db when the \SEEN flag is set by IMAP. New message delivery is done by having Postfix store all new inbound messages in a mysql db and a batch job watching the db for new messages and delivering them to the correct Dovecot server for the recipients. The batch

Released Pigeonhole v0.4.18.rc1 for Dovecot v2.2.29.rc1.

2017-04-08 Thread Stephan Bosch
Hello Dovecot users, This is a rather small release. It fixes one important bug in the new discard script feature. It also adds a couple of new features for IMAPSieve. Changelog v0.4.18: + imapsieve plugin: Implemented the copy_source_after rule action. When this is enabled for a mailbox rule,

Re: How to use quota with dovecot

2017-04-08 Thread Robert Moskowitz
On 04/08/2017 04:46 AM, Mik J wrote: Hello, I would like to use quotas with dovecot and things are not clear to me. I read this page https://wiki2.dovecot.org/Quota 1) I did this # ls /usr/local/lib/dovecot/lib10_quota_plugin.so /usr/local/lib/dovecot/lib10_quota_plugin.so # grep mail_plu

Pigeonhole Sieve Extprograms Plugin

2017-04-08 Thread KT Walrus
Just discovered the Pigeonhole Sieve Extprograms plugin (https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms )… I currently have Postfix configured to run a script to store all incoming messages into a Mysql DB and a bat

Re: How to use quota with dovecot

2017-04-08 Thread Robert Moskowitz
Oh, if you want to see my mods to base Dovecot that includes quota support, check out: http://medon.htt-consult.com/Centos7-mailserver.html#Configuring%20Dovecot I is based on what I am currently running that I learned from: http://www.campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6V