Re: [Dovecot] Prevent Download messages from server

2012-09-19 Thread Selcuk Yazar
Thank you, i looked up http://wiki2.dovecot.org/ACL section. We use POP3 , i think it's diffucult to evaluate in POP3. also we are using openLDAP backend, if i change folder permissions , does it work ? selçuk On Thu, Sep 20, 2012 at 9:45 AM, Alessio Cecchi wrote: > Il 20/09/2012 08:21, S

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Alessio Cecchi
Il 19/09/2012 19:52, interfaSys sàrl ha scritto: I see the same crashes on FreeBSD. Turning off ACL makes the crashes disappear. I'm getting a different backtrace though and it doesn't seem to be related to ACL: Core was generated by `imap-login'. Thanks for your report. My backtrace was ge

Re: [Dovecot] Prevent Download messages from server

2012-09-19 Thread Alessio Cecchi
Il 20/09/2012 08:21, Selcuk Yazar ha scritto: Hi, can we prevent download messages from server user by user ? sme common used mail's message must be remain at the server, but sometimes we download them ? thanks in advance If your users can log and read messages can obviously download it. If

Re: [Dovecot] Prevent Download messages from server

2012-09-19 Thread Robert Schetterer
Am 20.09.2012 08:31, schrieb Selcuk Yazar: > Hi, > > we have no problem, just i want to learn how can i do that. i think it's > clear . > > > selçuk ok ,so the right answer is, unless you give more details stop dovecot , nobody will able to connect to it > > On Thu, Sep 20, 2012 at 9:28 AM, R

Re: [Dovecot] Prevent Download messages from server

2012-09-19 Thread Robert Schetterer
Am 20.09.2012 08:21, schrieb Selcuk Yazar: > Hi, > > can we prevent download messages from server user by user ? sme common used > mail's message must be remain at the server, but sometimes we download them > ? > > thanks in advance > please clear , what you mean with 1 : with download message

Re: [Dovecot] Trouble implementing Antispam plug-in for Dovecot

2012-09-19 Thread Ben Johnson
On 9/19/2012 6:19 PM, Tom Hendrikx wrote: > On 19/09/12 23:41, Ben Johnson wrote: >> >> >> On 9/11/2012 10:40 AM, Ben Johnson wrote: >>> You nailed it, Ben. Thanks! >>> >>> I downloaded/installed the dovecot-dev package from the same maintainer >>> and was able to build Antispam without issue. >>

Re: [Dovecot] Trouble implementing Antispam plug-in for Dovecot

2012-09-19 Thread Tom Hendrikx
On 19/09/12 23:41, Ben Johnson wrote: > > > On 9/11/2012 10:40 AM, Ben Johnson wrote: >> You nailed it, Ben. Thanks! >> >> I downloaded/installed the dovecot-dev package from the same maintainer >> and was able to build Antispam without issue. >> >> The hang-up now seems to be with my configurati

Re: [Dovecot] Trouble implementing Antispam plug-in for Dovecot

2012-09-19 Thread Ben Johnson
On 9/11/2012 10:40 AM, Ben Johnson wrote: > You nailed it, Ben. Thanks! > > I downloaded/installed the dovecot-dev package from the same maintainer > and was able to build Antispam without issue. > > The hang-up now seems to be with my configuration. > > I'm seeing the following error in my em

Re: [Dovecot] OT: z-Push

2012-09-19 Thread Christian Rößner
Hi, > just a short question: > > I have installed and configured z-Push to use BackendIMAP. On my iPhone I > have created an account and I can see my mails. Also sending works. So far so > good. Now the question: > > When I create a new folder i.e. Test under the root (/), then I get an error.

Re: [Dovecot] [PATCH] Generalize HMAC implementation

2012-09-19 Thread Florian Zeitz
Am 19.09.2012 19:43, schrieb Florian Zeitz: > Am 11.09.2012 20:21, schrieb Timo Sirainen: >> On 11.9.2012, at 21.07, Florian Zeitz wrote: >> I think we could simply #define the largest allowed context_size, use it for these buffers' sizes and then add i_assert(meth->context_size <=

Re: [Dovecot] Released Pigeonhole v0.3.2 for Dovecot v2.1.9

2012-09-19 Thread Stephan Bosch
On 9/19/2012 6:22 PM, Juan C. Blanco wrote: On 18/09/2012 20:49, Stephan Bosch wrote: On 9/18/2012 8:18 PM, Juan C. Blanco wrote: It seems that the error is related to the ld.gold fix, If I revert the c52a0c561311 patch the error is not produced Oh d'oh. Yes, it related to that. I fixed it fo

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread interfaSys sàrl
I see the same crashes on FreeBSD. Turning off ACL makes the crashes disappear. I'm getting a different backtrace though and it doesn't seem to be related to ACL: Core was generated by `imap-login'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/dovecot/libdo

Re: [Dovecot] [PATCH] Generalize HMAC implementation

2012-09-19 Thread Florian Zeitz
Am 11.09.2012 20:21, schrieb Timo Sirainen: > On 11.9.2012, at 21.07, Florian Zeitz wrote: > >>> I think we could simply #define the largest allowed context_size, use it >>> for these buffers' sizes and then add i_assert(meth->context_size <= >>> HMAC_MAX_CONTEXT_SIZE) >>> >> Well, either that,

Re: [Dovecot] Deleting a folder with & character

2012-09-19 Thread A.L.E.C
On 09/19/2012 02:42 PM, Timo Sirainen wrote: > mUTF7 uses the & character for encoding non-ASCII data. The & character is > encoded in mUTF7 as "&-". Dovecot nowadays uses UTF8 internally for all > mailbox names, and it's simply not possible to create from UTF8 string a > valid mUTF7 string that

Re: [Dovecot] 2.1.10 crashes at login (buf->used <= buf->alloc)

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 19.13, Eugene Paskevich wrote: >>> This still looks some kind of a version mismatch. Did you compile antispam >>> against v2.1.10 headers? /usr/lib/dovecot/libdovecot.so.0 is also really >>> from v2.1.10? >> >> Attached a helpful antispam patch. > > Erm... Am I missing somethi

Re: [Dovecot] Released Pigeonhole v0.3.2 for Dovecot v2.1.9

2012-09-19 Thread Juan C. Blanco
On 18/09/2012 20:49, Stephan Bosch wrote: On 9/18/2012 8:18 PM, Juan C. Blanco wrote: Hi Stephan, I'm traying to rebuild the RH (Centos) EL5 RPM with the new pigeonhole version, however I've got the follwing errors when compiling: It seems that the error is related to the ld.gold fix, If I re

Re: [Dovecot] 2.1.10 crashes at login (buf->used <= buf->alloc)

2012-09-19 Thread Eugene Paskevich
On Wed, 19 Sep 2012 18:02:07 +0300, Timo Sirainen wrote: On Wed, 2012-09-19 at 17:59 +0300, Timo Sirainen wrote: On 19.9.2012, at 17.55, interfaSys sàrl wrote: >> Did you recompile antispam plugin? Is it the latest antispam? This line doesn't seem to match the current code. > > You are cor

Re: [Dovecot] v2.1.10 released / indexer errors / lucene

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 17.25, Robert Schetterer wrote: > Am 18.09.2012 20:52, schrieb Timo Sirainen: >> http://dovecot.org/releases/2.1/dovecot-2.1.10.tar.gz >> http://dovecot.org/releases/2.1/dovecot-2.1.10.tar.gz.sig >> > > Hi Timo, i see a few rare errors with lucene and/or indexer > since update

Re: [Dovecot] 2.1.10 crashes at login (buf->used <= buf->alloc)

2012-09-19 Thread interfaSys sàrl
You are once again correct. The update script had an error and thus the plugin was not recompiled for 2.1.10... Thank you! Olivier On 19/09/2012 16:02, Timo Sirainen wrote: > On Wed, 2012-09-19 at 17:59 +0300, Timo Sirainen wrote: >> On 19.9.2012, at 17.55, interfaSys sàrl wrote: >> Did you

Re: [Dovecot] 2.1.10 crashes at login (buf->used <= buf->alloc)

2012-09-19 Thread Timo Sirainen
On Wed, 2012-09-19 at 17:59 +0300, Timo Sirainen wrote: > On 19.9.2012, at 17.55, interfaSys sàrl wrote: > > >> Did you recompile antispam plugin? Is it the latest antispam? This line > >> doesn't seem to match the current code. > > > > You are correct, it had not been compiled in a while. Here

Re: [Dovecot] 2.1.10 crashes at login (buf->used <= buf->alloc)

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 17.55, interfaSys sàrl wrote: >> Did you recompile antispam plugin? Is it the latest antispam? This line >> doesn't seem to match the current code. > > You are correct, it had not been compiled in a while. Here is a new > backtrace: .. > #6 0x105e7a6a in buffer_write ()

Re: [Dovecot] 2.1.10 crashes at login (buf->used <= buf->alloc)

2012-09-19 Thread interfaSys sàrl
> Did you recompile antispam plugin? Is it the latest antispam? This line > doesn't seem to match the current code. You are correct, it had not been compiled in a while. Here is a new backtrace: (gdb) bt full #0 0x10709ebc in kill () from /lib/libc.so.7 No symbol table info available. #

Re: [Dovecot] Changing Quota downward for special Mailboxes? (2.1.6)

2012-09-19 Thread Robert Schetterer
Am 19.09.2012 16:25, schrieb Jost Krieger: > On Wed 19 Sep 2012 04:03:45 PM GMT, Robert Schetterer wrote: > >> as ever ,this is different in different places >> specially Quarantine is wide used > > Of course, it's often useful. > >> there is no good or evil to this case, its a design question w

Re: [Dovecot] Changing Quota downward for special Mailboxes? (2.1.6)

2012-09-19 Thread Jost Krieger
On Wed 19 Sep 2012 04:03:45 PM GMT, Robert Schetterer wrote: > as ever ,this is different in different places > specially Quarantine is wide used Of course, it's often useful. > there is no good or evil to this case, its a design question which may > change in different places,, the abuse case m

Re: [Dovecot] v2.1.10 released / indexer errors / lucene

2012-09-19 Thread Robert Schetterer
Am 18.09.2012 20:52, schrieb Timo Sirainen: > http://dovecot.org/releases/2.1/dovecot-2.1.10.tar.gz > http://dovecot.org/releases/2.1/dovecot-2.1.10.tar.gz.sig > Hi Timo, i see a few rare errors with lucene and/or indexer since update /lucene-indexes: IndexWriter() failed (#1): Lock obtain timed

Re: [Dovecot] Changing Quota downward for special Mailboxes? (2.1.6)

2012-09-19 Thread Robert Schetterer
Am 19.09.2012 14:53, schrieb Jost Krieger: > On Tue 18 Sep 2012 07:47:09 PM GMT, Robert Schetterer wrote: > >> some allready existing way is i.e >> with milter and postfix tagged spam get in hold queue for i.e human >> admin investigate, or some quarantaine with amavis > > Human admin is not a go

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Alessio Cecchi
Il 19/09/2012 15:03, Alessio Cecchi ha scritto: Il 19/09/2012 14:48, Timo Sirainen ha scritto: On 19.9.2012, at 13.54, Alessio Cecchi wrote: LDA is configured and works fine but the problem is when the first message arrive "dovecot-lda" return a "Segmentation fault", the message is written to

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Alessio Cecchi
Il 19/09/2012 14:48, Timo Sirainen ha scritto: On 19.9.2012, at 13.54, Alessio Cecchi wrote: LDA is configured and works fine but the problem is when the first message arrive "dovecot-lda" return a "Segmentation fault", the message is written to the user's Mailbox but the message remains, als

Re: [Dovecot] Syntax for doveadm auth cache

2012-09-19 Thread Angel L. Mateo
(I forgot the attach) El 19/09/12 11:15, Angel L. Mateo escribió: El 18/09/12 18:31, Timo Sirainen escribió: On 18.9.2012, at 9.59, Angel L. Mateo wrote: So I'm running this command. Whenever I run it, I get the message that 3 (sometimes, is 4) entries are removed, but user inform

Re: [Dovecot] Changing Quota downward for special Mailboxes? (2.1.6)

2012-09-19 Thread Jost Krieger
On Tue 18 Sep 2012 07:47:09 PM GMT, Robert Schetterer wrote: > some allready existing way is i.e > with milter and postfix tagged spam get in hold queue for i.e human > admin investigate, or some quarantaine with amavis Human admin is not a good idea if you have 5 users :-) Quarantine's a pos

Re: [Dovecot] Changing Quota downward for special Mailboxes? (2.1.6)

2012-09-19 Thread Jost Krieger
On Tue 18 Sep 2012 07:17:50 PM GMT, Timo Sirainen wrote: > > On 18.9.2012, at 14.40, Jost Krieger wrote: > ... > > The idea is to not eat up the users storage with spam, so that spam > > stays in the queue (for some time) while real mail gets delivered. > > Interesting idea. This was pretty easy

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 13.54, Alessio Cecchi wrote: > LDA is configured and works fine but the problem is when the first message > arrive "dovecot-lda" return a "Segmentation fault", the message is written to > the user's Mailbox but the message remains, also, in the queue of qmail > (deferral: Segme

Re: [Dovecot] Wrong quota calculation

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 15.15, Cibest ML wrote: > There's one quite strange thing we've seen. Display the subscription windows > in Thunderbird and unchecking INBOX then shows two entries. "INBOX" that > isn't selected" and "Inbox" that is selected and cannot been unselected. > Checking "INBOX" again

Re: [Dovecot] Deleting a folder with & character

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 13.36, Charles Marcus wrote: > On 2012-09-19 5:14 AM, Timo Sirainen wrote: >> It's an invalid mailbox name and you can't access it using doveadm. Either >> rename it with "mv" or via IMAP protocol (not entirely sure if it works via >> IMAP either). > > Just for clarification.

Re: [Dovecot] Wrong quota calculation

2012-09-19 Thread Cibest ML
On 12/09/2012 10:58, Cibest ML wrote: On 11/09/2012 20:48, Timo Sirainen wrote: On 8.9.2012, at 18.07, Cibest ML wrote: - Message delivered by LMTP Quota name TypeValue Limit User quota STORAGE 2653 524288 User quota MESSAGE 1 - - quota recalc Quota name TypeValue Limit Us

Re: [Dovecot] ssl cert for mail server

2012-09-19 Thread Florian Zeitz
Am 19.09.2012 10:00, schrieb cc "maco" young: > for testing a new ssl cert. it works ok for browsers, but > >> openssl s_client -crlf -connect ms1.trailsandtribulations.net:443 > > => verify error:num=19:self signed certificate in certificate chain > > is this ssl cert - as it's constructed -

[Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Alessio Cecchi
Hi, I have found this strange problem. I'm working with Debian 6, dovecot 2.1.9 and vpopmail-auth. LDA is configured and works fine but the problem is when the first message arrive "dovecot-lda" return a "Segmentation fault", the message is written to the user's Mailbox but the message remai

Re: [Dovecot] Deleting a folder with & character

2012-09-19 Thread Charles Marcus
On 2012-09-19 5:14 AM, Timo Sirainen wrote: It's an invalid mailbox name and you can't access it using doveadm. Either rename it with "mv" or via IMAP protocol (not entirely sure if it works via IMAP either). Just for clarification... it is invalid because of the '&' character? Is there a l

Re: [Dovecot] OT: z-Push

2012-09-19 Thread Robert Schetterer
Am 19.09.2012 11:26, schrieb Christian Rößner: > Hi, > > just a short question: > > I have installed and configured z-Push to use BackendIMAP. On my iPhone I > have created an account and I can see my mails. Also sending works. So far so > good. Now the question: > > When I create a new folder

[Dovecot] OT: z-Push

2012-09-19 Thread Christian Rößner
Hi, just a short question: I have installed and configured z-Push to use BackendIMAP. On my iPhone I have created an account and I can see my mails. Also sending works. So far so good. Now the question: When I create a new folder i.e. Test under the root (/), then I get an error. And after re

Re: [Dovecot] Syntax for doveadm auth cache

2012-09-19 Thread Angel L. Mateo
El 18/09/12 18:31, Timo Sirainen escribió: On 18.9.2012, at 9.59, Angel L. Mateo wrote: So I'm running this command. Whenever I run it, I get the message that 3 (sometimes, is 4) entries are removed, but user information isn't really reloaded and I doubt it is really removed from cach

Re: [Dovecot] Deleting a folder with & character

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 11.22, Angel L. Mateo wrote: > One of my users has a mailbox named 'INBOX.Kron & SPM' (maybe created a > long time ago, when we use courier imap as pop/imap server, but I'm not sure). > > I can see the maildir with a doveadm list command: > > amateo_adm@myotis31:~$

Re: [Dovecot] Deleting a folder with & character

2012-09-19 Thread Alex Crow
On 19/09/12 09:22, Angel L. Mateo wrote: Hello, One of my users has a mailbox named 'INBOX.Kron & SPM' (maybe created a long time ago, when we use courier imap as pop/imap server, but I'm not sure). I can see the maildir with a doveadm list command: amateo_adm@myotis31:~$ sudo dovea

[Dovecot] Deleting a folder with & character

2012-09-19 Thread Angel L. Mateo
Hello, One of my users has a mailbox named 'INBOX.Kron & SPM' (maybe created a long time ago, when we use courier imap as pop/imap server, but I'm not sure). I can see the maildir with a doveadm list command: amateo_adm@myotis31:~$ sudo doveadm mailbox list -u ... INBOX.Kron & SPM

[Dovecot] ssl cert for mail server

2012-09-19 Thread cc "maco" young
for testing a new ssl cert. it works ok for browsers, but > openssl s_client -crlf -connect ms1.trailsandtribulations.net:443 => verify error:num=19:self signed certificate in certificate chain is this ssl cert - as it's constructed - is ok for mail clients? (realize needs to be on mail port

Re: [Dovecot] v2.1.10 released

2012-09-19 Thread Robert Schetterer
Am 18.09.2012 20:52, schrieb Timo Sirainen: > + Added mailbox_alias plugin. It allows creating mailbox aliases using > symlinks. Hi Timo thx for coding, no Problems so far, after update, but mailbox_alias plugin should be described at http://wiki2.dovecot.org/Plugins/ -- Best Regards MfG