Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Christian Balzer
On Fri, 10 Feb 2017 14:59:51 -0800 (PST) Joseph Tam wrote: > "Rajesh M" <24x7ser...@24x7server.net> writes: > > > during peak times here are the results for connections > > > > [root@ns1 domains]# doveadm who |grep imap |wc -l > > username# proto (pids)

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Christian Balzer
Hello, On Fri, 10 Feb 2017 21:59:49 +0530 Rajesh M wrote: You replied below my signature, making a normal reply/quotation impossible for decent mail clients, which is worse than top-quoting. Please reply in-line or at the top if must be. > thanks christian > > during peak times here are the

Re: Solr 6.4.1

2017-02-10 Thread Daniel Miller
2.2.18 On 2/9/2017 11:13 PM, Aki Tuomi wrote: What dovecot version are you using? On 10.02.2017 09:12, Aki Tuomi wrote: Yeah, thanks. It seems that there indeed is content-type header (there should not be). We'll look into it. Aki On 10.02.2017 01:44, Daniel Miller wrote: Does this work

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Joseph Tam
"Rajesh M" <24x7ser...@24x7server.net> writes: during peak times here are the results for connections [root@ns1 domains]# doveadm who |grep imap |wc -l username# proto (pids) (ips) 631 [root@ns1 domains]# doveadm who |grep pop3 |wc -l username

Re: Replacement for antispam plugin

2017-02-10 Thread George Kontostanos
On Fri, Feb 10, 2017 at 9:59 PM, Ralph Seichter wrote: > On 10.02.17 20:34, Michael Slusarz wrote: > > > When you move a message to a new mailbox, that is a "new message" > > event (a new UID in the target mailbox is created; the message count > > increases). So

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.17 20:34, Michael Slusarz wrote: > When you move a message to a new mailbox, that is a "new message" > event (a new UID in the target mailbox is created; the message count > increases). So imap.mailbox is set to the name of the *target* mailbox. My tests seem to indicate otherwise.

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread KT Walrus
> 1. 256GB of real RAM, swap is for chums. Are you sure that 100,000 IMAP sessions wouldn’t work well with SWAP, especially with fast SSD storage (which is a lot cheaper than RAM)? Seems that these IMAP processes are long lived processes (idling most of the time) that don’t need that much of

Re: Replacement for antispam plugin

2017-02-10 Thread David Mehler
Hello, Chiming in on this with a question, and will be getting to it over the weekend or later this evening time permitting. Does retraining a message as either spam or ham alter message headers for example x-spam or the spamassassin-modified subject header? If not is it possible to do so after

Re: Replacement for antispam plugin

2017-02-10 Thread Michael Slusarz
> On February 10, 2017 at 12:13 PM Ralph Seichter wrote: > > On 10.02.17 18:34, Michael Slusarz wrote: > > > Can we add an exception for the Trash folder? > > This is handled in the sieve script. E.g.: > > > > require "environment"; > > if environment "imap.mailbox" "Trash" { > > stop; > > } >

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.17 18:34, Michael Slusarz wrote: > > Can we add an exception for the Trash folder? > > This is handled in the sieve script. E.g.: > > require "environment"; > if environment "imap.mailbox" "Trash" { > stop; > } This does not work for me, and I don't really expect it to work either.

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.17 18:22, Zhang Huangbin wrote: > My concern is, will you experience any lag while moving message? I don't use direct calls to sa-learn, but store the piped e-mails on disk, and a periodic cron-job picks them up and invokes sa-learn. This way, there is no noticeable lag. -Ralph

Safely piping to a shell script

2017-02-10 Thread Adam Shostack
Thanks for the previous answer on :execute. In thinking about malicious input, I am worried about the possibility that mail will be sent with a clever from line. (Section 7 of http://www.ietf.org/rfc/rfc5229.txt is great, btw) To address this, I'm considering the following, and would appreciate

Re: Replacement for antispam plugin

2017-02-10 Thread Michael Slusarz
> On February 10, 2017 at 9:25 AM George Kontostanos > wrote: [snip] > I think that this needs some change: > > # From Spam folder to elsewhere > imapsieve_mailbox2_name = * > imapsieve_mailbox2_from = Spam > imapsieve_mailbox2_causes = COPY >

Re: Replacement for antispam plugin

2017-02-10 Thread Zhang Huangbin
> On Feb 11, 2017, at 12:50 AM, Ralph Seichter wrote: > > Check out https://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve, My concern is, will you experience any lag while moving message? According to the doc, this plugin works like “pipe” backend of old

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.2017 16:09, Darac Marjal wrote: > Check out https://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve, > which explains that sieve is normally only used at delivery time, but > the sieve_imapsieve plugin runs a *different* sieve script based on > IMAP actions (for example, COPY).

Re: Replacement for antispam plugin

2017-02-10 Thread George Kontostanos
On Fri, Feb 10, 2017 at 6:25 PM, George Kontostanos wrote: > > > On Fri, Feb 10, 2017 at 5:09 PM, Darac Marjal > wrote: > >> On Fri, Feb 10, 2017 at 03:52:52PM +0100, Ralph Seichter wrote: >> >>> On 10.02.2017 09:06, Aki Tuomi wrote: >>> >>>

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Rajesh M
- Original Message - From: Christian Balzer [mailto:ch...@gol.com] To: dovecot@dovecot.org Cc: 24x7ser...@24x7server.net Sent: Fri, 10 Feb 2017 17:58:58 +0900 Subject: On Fri, 10 Feb 2017 01:13:20 +0530 Rajesh M wrote: > hello > > could somebody with experience let me know the dovecot

Re: Replacement for antispam plugin

2017-02-10 Thread George Kontostanos
On Fri, Feb 10, 2017 at 5:09 PM, Darac Marjal wrote: > On Fri, Feb 10, 2017 at 03:52:52PM +0100, Ralph Seichter wrote: > >> On 10.02.2017 09:06, Aki Tuomi wrote: >> >> Since antispam plugin is deprecated and we would really prefer people >>> not to use it, we wrote

Re: Prohibit dots in folder names

2017-02-10 Thread Marek Grondecki
Using "doveadm mailbox create" I tried to create a mailbox with dots, it's not possible. doveadm(marek): Error: Can't create mailbox test.test1.test2.test3: Character not allowed in mailbox name: '.' So actually dovecot is already prohibiting a creation of folders with dots in it's names.

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Christian Balzer
On Fri, 10 Feb 2017 07:59:52 -0500 KT Walrus wrote: > > 1500 IMAP sessions will eat up about 3GB alone. > > Are you saying that Dovecot needs 2MB of physical memory per IMAP session? > That depends on the IMAP session, read the mailbox size and index size, etc. Some are significantly larger:

Re: Managesieve cannot access script store

2017-02-10 Thread dovelist
Hi Stephan, Normally, Dovecot permission errors are more helpful than that. So, this error message in itself is a bit of a bug: I'm glad to h've been able to help with this beta-test ;-) About the cause of this error: keep in mind that the whole directory path needs read/execute

Re: please help this newbie get started

2017-02-10 Thread drbobllc
I appreciated the help I received here. To try to give back a little, I contributed something I learned to the wiki: Passwd as a password databasePasswd as a password database on FreeBSD Thanks again, Bob On Sunday, February 5, 2017 10:12 AM, "drbob...@yahoo.com"

Re: Replacement for antispam plugin

2017-02-10 Thread Darac Marjal
On Fri, Feb 10, 2017 at 03:52:52PM +0100, Ralph Seichter wrote: On 10.02.2017 09:06, Aki Tuomi wrote: Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. In my setup, I use the following sieve script

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.2017 09:06, Aki Tuomi wrote: > Since antispam plugin is deprecated and we would really prefer people > not to use it, we wrote instructions on how to replace it with IMAPSieve. In my setup, I use the following sieve script globally for all users: if header :is "X-Spam-Flag" "YES" {

Re: Replacement for antispam plugin

2017-02-10 Thread Alessio Cecchi
Il 10/02/2017 09:06, Aki Tuomi ha scritto: Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments and suggestions are most welcome. https://wiki.dovecot.org/HowTo/AntispamWithSieve Hi,

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread KT Walrus
> 1500 IMAP sessions will eat up about 3GB alone. Are you saying that Dovecot needs 2MB of physical memory per IMAP session? If I want to support a max 100,000 IMAP sessions per server, I should configure the server to have at least 200GBs of SWAP? > On Feb 10, 2017, at 3:58 AM, Christian

Re: Replacement for antispam plugin

2017-02-10 Thread Tamsy
Aki Tuomi wrote on 10.02.2017 15:06: Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments and suggestions are most welcome. https://wiki.dovecot.org/HowTo/AntispamWithSieve --- Aki Tuomi

Re: dovecot Digest, Vol 166, Issue 22

2017-02-10 Thread Aki Tuomi
> > group = > > > idle_kill = 4294967295 secs > > > privileged_group = > > > process_limit = 1 > > > process_min_avail = 0 > > > protocol = > > > service_count = 0 > > > type = log > > > unix_listener log-errors { > > >

Re: dovecot logout issues

2017-02-10 Thread Bastian Sebode
Hello Rajesh, > also htop always shows a few delayed processes of dovecot (shown as D) on top -- pop3 and imap > Processes shown as "D" are waiting for Disk. That also explains your high Load on the Server, because every Process waiting for disk increases the Load by 1! Probably your disks are

Re: Replacement for antispam plugin

2017-02-10 Thread Håkon Alstadheim
Nice. Finally got around to switching. Had to add filter to my dspam pipe (another one I'm overdue for replacing) . Antispam plugin seems to have automatically converted line endings from "mail-type" '\r\n' into linux plain '\n' . Like so: sed -e 's/\r$//' | dspam ... Den 10. feb. 2017 09:06,

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Christian Balzer
On Fri, 10 Feb 2017 01:13:20 +0530 Rajesh M wrote: > hello > > could somebody with experience let me know the dovecot config file settings > to handle around 1500 simultaneous connections over pop3 and 1500 connection > over imap simultaneously. > Be very precise here, you expect to see 1500

Re: Replacement for antispam plugin

2017-02-10 Thread Aki Tuomi
On 10.02.2017 10:35, Tom Hendrikx wrote: > > On 10-02-17 09:06, Aki Tuomi wrote: >> Hi! >> Since antispam plugin is deprecated and we would really prefer people >> not to use it, we wrote instructions on how to replace it with >> IMAPSieve. Comments and suggestions are most welcome. >> >>

Re: Replacement for antispam plugin

2017-02-10 Thread Tom Hendrikx
On 10-02-17 09:06, Aki Tuomi wrote: > Hi! > Since antispam plugin is deprecated and we would really prefer people > not to use it, we wrote instructions on how to replace it with > IMAPSieve. Comments and suggestions are most welcome. > > https://wiki.dovecot.org/HowTo/AntispamWithSieve >

Replacement for antispam plugin

2017-02-10 Thread Aki Tuomi
Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments and suggestions are most welcome. https://wiki.dovecot.org/HowTo/AntispamWithSieve --- Aki Tuomi Dovecot oy