Re: Studying dovecot source code (searching for mail_deliver_hook_set)

2017-03-29 Thread Aki Tuomi
On 29.03.2017 13:44, Steffen Kaiser wrote: > On Tue, 28 Mar 2017, chaouche yacine wrote: > > > I would like to study how dovecot manages quota, especially how it > deals with the maildirsize file if one chooses to implement quota > according to the maildir++ specification. > > Quota is managed by

Re: Using SpamProbe via only sieve scripts

2017-03-29 Thread Aki Tuomi
On 29.03.2017 06:41, Mark Constable wrote: > FWIW this took me days to get right, and still needs tinkering, but it > might make for a good starting point for anyone else needing something > similar (ie; I don't use or need the overhead of spamassassin or rspamd). > > https://gist.github.com/mark

Re: cannot login to imap under load - SOLVED

2017-03-29 Thread Gerard Ranke
On 29-03-17 14:40, Marcus Rueckert wrote: > On 2017-03-29 13:33:52 +0200, Piper Andreas wrote: >>> It does indeed run from systemd, so this is what's currently in the >>> dovecot unit file ( /etc/systemd/system/dovecot.service ): >>> >> ... >>> [Service] >>> Type=simple >>> ExecStart=/usr/sbin/dove

Re: cannot login to imap under load

2017-03-29 Thread Marcus Rueckert
On 2017-03-29 13:33:52 +0200, Piper Andreas wrote: > > It does indeed run from systemd, so this is what's currently in the > > dovecot unit file ( /etc/systemd/system/dovecot.service ): > > > ... > > [Service] > > Type=simple > > ExecStart=/usr/sbin/dovecot -F > > NonBlocking=yes > > TasksMax=1000

Re: cannot login to imap under load

2017-03-29 Thread Piper Andreas
Hello, > > It does indeed run from systemd, so this is what's currently in the > dovecot unit file ( /etc/systemd/system/dovecot.service ): > ... > [Service] > Type=simple > ExecStart=/usr/sbin/dovecot -F > NonBlocking=yes > TasksMax=1 > LIMIT_NOFILE=1 ... the parameter should be named

Re: cannot login to imap under load

2017-03-29 Thread Gerard Ranke
Hi Maria, It does indeed run from systemd, so this is what's currently in the dovecot unit file ( /etc/systemd/system/dovecot.service ): [Unit] Description=Dovecot IMAP/POP3 email server After=local-fs.target network.target [Service] Type=simple ExecStart=/usr/sbin/dovecot -F NonBlocking=yes Tas

Re: cannot login to imap under load

2017-03-29 Thread Gerard Ranke
On 29-03-17 13:12, chaouche yacine wrote: > Could it be that dovecot is being started from a container ? > -- Yassine > No, it's just a service on a VM... Best, gerard

Re: cannot login to imap under load

2017-03-29 Thread chaouche yacine
Could it be that dovecot is being started from a container ?   -- Yassine On Wednesday, March 29, 2017 12:08 PM, Gerard Ranke wrote: Hi Steffen, On 29-03-17 12:38, Steffen Kaiser wrote: > On Tue, 28 Mar 2017, Gerard Ranke wrote: > >> dovecot: master: Error: service(imap): fork() fail

Re: cannot login to imap under load

2017-03-29 Thread Gerard Ranke
Hi Steffen, On 29-03-17 12:38, Steffen Kaiser wrote: > On Tue, 28 Mar 2017, Gerard Ranke wrote: > >> dovecot: master: Error: service(imap): fork() failed: Resource >> temporarily unavailable >> dovecot: master: Error: service(imap): command startup failed, >> throttling for 2 secs > > check out

Re: pigeonhole / vacation

2017-03-29 Thread Stephan Bosch
Op 15-3-2017 om 12:56 schreef A. Schulze: Hello, we use the sieve vacation module to answer messages for certain mailboxes. vacation send back answers to most but not all messages wich is fine and intended. .dovecot.sieve looks like this: require ["vacation", "variables"]; if header

Re: Studying dovecot source code (searching for mail_deliver_hook_set)

2017-03-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 28 Mar 2017, chaouche yacine wrote: I would like to study how dovecot manages quota, especially how it deals with the maildirsize file if one chooses to implement quota according to the maildir++ specification. Quota is managed by the plu

Re: cannot login to imap under load

2017-03-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 28 Mar 2017, Gerard Ranke wrote: dovecot: master: Error: service(imap): fork() failed: Resource temporarily unavailable dovecot: master: Error: service(imap): command startup failed, throttling for 2 secs check out the ulimits for the Dove

Re: Email Push to Iphone

2017-03-29 Thread Ricardo Branco
there is this plugin to use APNS to notify phones, its a faf though as you need a legal OSX Server to generate the signing keys, I never ended up implementing it. https://github.com/st3fan/dovecot-xaps-daemon Aki Tuomi wrote on 29/03/2017 07:29: On 29.03.2017 07:24, m...@caloro.ch wrote: H

Re: autocreate ONLY for new Users

2017-03-29 Thread plataleas
Hi All We implemented the autocreate/subscribe for new users with the help of the welcome plugin. This works great, here the configuration: #dovecot --version 2.2.27 (c0f36b0) # cat /usr/local/bin/welcome.sh #!/bin/bash /usr/bin/doveadm mailbox create INBOX.Drafts -s -u $1 /usr/bin/doveadm mailb