Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Benny Pedersen
staticsafe skrev den 2013-06-14 18:50: The ManageSieve plugin in Thunderbird does basic syntax checks, to check if your Sieve script does what it is supposed to to do, there is something like this - https://www.fastmail.fm/docs/sieve/sievetest.php code managesive plugin to make it test scrip

Re: [Dovecot] Turn off IMAPS?

2013-06-14 Thread Benny Pedersen
Simon B skrev den 2013-06-13 18:02: Thanks everyone :) You'd think I could have found that on Google! or on wiki2 ? -- senders that put my email into body content will deliver it to my own trashcan, so if you like to get reply, dont do it

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Benny Pedersen
Frerich Raabe skrev den 2013-06-14 18:40: One thing which came up repeatedly is that clients using the IMAP server I run (using Dovecot 2.1) wonder whether they broke their Sieve scripts, i.e. it often goes like "I don't know whether I just didn't receive any mail, or whether my filters broke.

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Morrow
At 6PM -0700 on 14/06/13 you (Frerich Raabe) wrote: > > Nice, judging from the source code it looks very much like what I was > thinking of! However, as it happens my IMAP server is *very* minimalistic > (it runs FreeBSD and has just 9 software packages installed, the bare > minimum I needed for D

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Frerich Raabe
Hi, On Jun 14, 2013, at 10:11 AM, Ben Johnson wrote: > It seems as though the only truly reliable method would be to validate > the scripts in consideration of your own environment. As you suggested, > a simple Web form (ideally, one that requires authentication) into which > users can paste scri

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Frerich Raabe
On Jun 14, 2013, at 2:21 PM, Ben Johnson wrote: > In the meantime, here's a very rough-cut of a PHP script that accepts a > Sieve script and an email body, and prints-out the "sieve-test" results. > > http://pastebin.com/7mHL2w0z > > This works fine on my server. Next week, I'll add authenticat

Re: [Dovecot] Auto-responder to handle unencrypted (and/or unsigned) email messages whose origin is not localhost

2013-06-14 Thread Benny Pedersen
Ben Johnson skrev den 2013-06-13 21:19: Any additional thoughts would be very helpful! is opendkim not good ?, but yes its not encryption, but signing only, does vacation go out in wild to be untrusted sender ?, why would anyone talk about vacation to maillists ?, its a bit of paranoid, but

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Morrow
At 5PM -0400 on 14/06/13 you (Ben Johnson) wrote: > > Thanks Timo and Ben for the authentication suggestions. I'll look into > those further. It seems clear that whatever method is used, it has to > transmit the user's credentials securely. Plaintext authentication is > not an option in my enviro

Re: [Dovecot] Safe/preferred way to import old email

2013-06-14 Thread Simon B
On 14 Jun 2013 23:01, "Reindl Harald" wrote: > > > Am 14.06.2013 22:10, schrieb Ajai Khattri: > > One small problem (I should have described better): the old server is not available but I've have the maildirs > > rsynced to the new server. So I have the actual message files but I'm not sure if sim

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Johnson
On 6/14/2013 4:57 PM, Ben Morrow wrote: > At 10PM +0300 on 14/06/13 you (Timo Sirainen) wrote: >> On 14.6.2013, at 22.22, Ben Johnson wrote: >> >>> The complexities associated with authentication will be the most >>> difficult part (at least if you want to build something reusable). >> >> Doveco

Re: [Dovecot] Safe/preferred way to import old email

2013-06-14 Thread Reindl Harald
Am 14.06.2013 22:10, schrieb Ajai Khattri: > One small problem (I should have described better): the old server is not > available but I've have the maildirs > rsynced to the new server. So I have the actual message files but I'm not > sure if simply copying them into the new > maildirs is a goo

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Morrow
At 10PM +0300 on 14/06/13 you (Timo Sirainen) wrote: > On 14.6.2013, at 22.22, Ben Johnson wrote: > > > The complexities associated with authentication will be the most > > difficult part (at least if you want to build something reusable). > > Dovecot has a pretty easily usable auth server that

Re: [Dovecot] Safe/preferred way to import old email

2013-06-14 Thread Reindl Harald
Am 14.06.2013 21:59, schrieb Ajai Khattri: > Ive migrated from a qmail+Courier-IMAP setup to a Postfix+Dovecot setup. > I'm using maildirs in both places. > > Is there a safe/preferred way to bring my old messages over without them > being marked as new in Dovecot? imapsync signature.asc Desc

[Dovecot] Safe/preferred way to import old email

2013-06-14 Thread Ajai Khattri
Ive migrated from a qmail+Courier-IMAP setup to a Postfix+Dovecot setup. I'm using maildirs in both places. Is there a safe/preferred way to bring my old messages over without them being marked as new in Dovecot ? -- Aj.

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Johnson
On 6/14/2013 3:28 PM, Thomas Harold wrote: > On 6/14/2013 2:07 PM, Ben Morrow wrote: >> >> Simply providing some way for them to read the .dovecot.sieve.log file >> created in their home directory would be a good start. If there are any >> problems with delivery they will be logged there. You cou

Re: [Dovecot] Multiple user sharing a single mailbox

2013-06-14 Thread Jonathon Price
Don't think the passdb would work as I was planning on using LDAP for authentication. Also if this option was used I'm assuming it would effect the username used in any logging. If having a single seen flag for the mailboxs was preferred, i.e. no private indexes. Is there a recommended mail store

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Timo Sirainen
On 14.6.2013, at 22.22, Ben Johnson wrote: > The complexities associated with authentication will be the most > difficult part (at least if you want to build something reusable). Dovecot has a pretty easily usable auth server that talks pretty simple authentication protocol, and can be also con

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Thomas Harold
On 6/14/2013 2:07 PM, Ben Morrow wrote: Simply providing some way for them to read the .dovecot.sieve.log file created in their home directory would be a good start. If there are any problems with delivery they will be logged there. You could set up some sort of web access, or even have a daily

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Johnson
On 6/14/2013 3:06 PM, Frerich Raabe wrote: > > On Jun 14, 2013, at 11:42 AM, Ben Johnson wrote: >> Sounds as though you've answered your own question. You probably need to >> build some type of Web interface for sieve-test that is well-secured and >> well-escaped. > > Looks like it. Kinda surp

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Frerich Raabe
On Jun 14, 2013, at 11:42 AM, Ben Johnson wrote: > Sounds as though you've answered your own question. You probably need to > build some type of Web interface for sieve-test that is well-secured and > well-escaped. Looks like it. Kinda surprising that nobody else needed this, though - I wouldn't

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Johnson
On 6/14/2013 2:11 PM, Frerich Raabe wrote: > > On Jun 14, 2013, at 11:07 AM, Ben Morrow wrote: > >> At 9AM -0700 on 14/06/13 you (Frerich Raabe) wrote: >>> >>> One thing which came up repeatedly is that clients using the IMAP >>> server I run (using Dovecot 2.1) wonder whether they broke thei

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Frerich Raabe
On Jun 14, 2013, at 11:07 AM, Ben Morrow wrote: > At 9AM -0700 on 14/06/13 you (Frerich Raabe) wrote: >> >> One thing which came up repeatedly is that clients using the IMAP >> server I run (using Dovecot 2.1) wonder whether they broke their Sieve >> scripts, i.e. it often goes like "I don't k

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Morrow
At 9AM -0700 on 14/06/13 you (Frerich Raabe) wrote: > > One thing which came up repeatedly is that clients using the IMAP > server I run (using Dovecot 2.1) wonder whether they broke their Sieve > scripts, i.e. it often goes like "I don't know whether I just didn't > receive any mail, or whether

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Frerich Raabe
On Jun 14, 2013, at 9:50 AM, Thomas Harold wrote: > On 6/14/2013 12:40 PM, Frerich Raabe wrote: >> Hi, >> >> One thing which came up repeatedly is that clients using the IMAP server I >> run (using Dovecot 2.1) wonder whether they broke their Sieve scripts, i.e. >> it often goes like "I don't

Re: [Dovecot] Testing SMTP AUTH

2013-06-14 Thread Patrick Ben Koetter
* Ajai Khattri : > On Friday, June 14, 2013, Patrick Ben Koetter wrote: > > > > > > What do you get when you run this: > > > > # dovecot -n | grep auth_mechanisms > > > I get nothing back so I guess that needs to be configured. I'm using a > virtual passwd file for POP3/IMAP auth. Have you read

Re: [Dovecot] Testing SMTP AUTH

2013-06-14 Thread Ajai Khattri
On Friday, June 14, 2013, Patrick Ben Koetter wrote: > > > What do you get when you run this: > > # dovecot -n | grep auth_mechanisms I get nothing back so I guess that needs to be configured. I'm using a virtual passwd file for POP3/IMAP auth. -- A -- Aj.

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Johnson
On 6/14/2013 1:11 PM, Ben Johnson wrote: > One of the obvious limitations of using the Thunderbird plug-in, or the > web-based tool as cited, is that neither one has any way to know which > Sieve modules have been "require"d. Oftentimes fatal errors result from > referencing a module that hasn't

Re: [Dovecot] Testing SMTP AUTH

2013-06-14 Thread Patrick Ben Koetter
* Ajai Khattri : > Ive configured Postfix to use Dovecot for SMTP AUTH. > > I tried to test it but when I send the AUTH LOGIN command I get a response > saying that AUTH method is not supported/implemented. How to test then? What do you get when you run this: # dovecot -n | grep auth_mechanisms

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Johnson
On 6/14/2013 12:50 PM, Thomas Harold wrote: > On 6/14/2013 12:40 PM, Frerich Raabe wrote: >> Hi, >> >> One thing which came up repeatedly is that clients using the IMAP >> server I run (using Dovecot 2.1) wonder whether they broke their Sieve >> scripts, i.e. it often goes like "I don't know whet

[Dovecot] Testing SMTP AUTH

2013-06-14 Thread Ajai Khattri
Ive configured Postfix to use Dovecot for SMTP AUTH. I tried to test it but when I send the AUTH LOGIN command I get a response saying that AUTH method is not supported/implemented. How to test then? -- A -- Aj.

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Thomas Harold
On 6/14/2013 12:40 PM, Frerich Raabe wrote: Hi, One thing which came up repeatedly is that clients using the IMAP server I run (using Dovecot 2.1) wonder whether they broke their Sieve scripts, i.e. it often goes like "I don't know whether I just didn't receive any mail, or whether my filters

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread staticsafe
On Fri, Jun 14, 2013 at 09:40:52AM -0700, Frerich Raabe wrote: > Hi, > > One thing which came up repeatedly is that clients using the IMAP server I > run (using Dovecot 2.1) wonder whether they broke their Sieve scripts, i.e. > it often goes like "I don't know whether I just didn't receive any m

[Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Frerich Raabe
Hi, One thing which came up repeatedly is that clients using the IMAP server I run (using Dovecot 2.1) wonder whether they broke their Sieve scripts, i.e. it often goes like "I don't know whether I just didn't receive any mail, or whether my filters broke. Can you check the logs?". I then usua

Re: [Dovecot] quota-status not working in distributed environment

2013-06-14 Thread Ben Morrow
At 8AM +0200 on 14/06/13 you (Benoit Panizzon) wrote: > > It's quite simple (compared with sendmail milter). I will directly > connect to the policy service on the correct machine from wihtin the > milter. The milter has to do a database query anyway so I get the > mailbox hostname in the same que

[Dovecot] Pam authentication failure message but it works

2013-06-14 Thread Wayne Andersen
I am running Centos 6.4 64bit. Dovecot 2.0.9 I am getting the following messages in /var/log/secure, which looks like the pam authentication is not working but the users are allowed to login and the system works great. I am wondering if pam is actually failing and yet the system is getting the

Re: [Dovecot] Dovecot service not responding after about a week of uptime

2013-06-14 Thread Matthieu
Hello, The issue of dovecot becoming unresponsive happened again but after several weeks instead of just one as before. As advised before I tried to login through the IMAP port. Entering an incorrect password gets rejected right away. Entering a correct password just hangs indefinitely. Atta

Re: [Dovecot] Autocreation the home folder

2013-06-14 Thread Joan
At the moment I've not yet migrated to the new schema, the install I was testing with does not have a lot of action, so at the moment I am fixing the issues when they appear (not very frequent). On the near future, will see, I can't modify the fields in the database because I am using a fixed layou

[Dovecot] dovecot 2.2 with lucene compile error

2013-06-14 Thread Robert Schetterer
Hi ,i get an compile error security -Werror=format-security -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c lucene-wrapper.cc -fPIC -DPIC -o .libs/lucene-wrapper.o lucene-wrapper.cc: In function 'lucene_index* lucene_index_init(const char*, mailbox_list*, const fts_lucene_settings*

[Dovecot] IMAP MOVE and lazy_expunge_only_last_instance

2013-06-14 Thread Pavel Volkovitskiy
Hello! im testing lazy_expunge_only_last_instance here and it seems it works wrong with IMAP MOVE IN: 14 uid move 13 "INBOX" OUT: * OK [COPYUID 1188569061 13 34] Moved UIDs. * 5 EXPUNGE 14 OK Move completed. dovecot.log: 2013-06-14 10:56:06 imap(tes...@mtx.ru): Info: copy from Test: box=INBOX,

[Dovecot] [Dovcot 2.2.2] Q: Prequisits for compiling and plugins

2013-06-14 Thread Christoph Hintermüller
Hi Where can i find the list of prerequisites for compiling dovocot 2.2.2 form the sources, is there a dedicated link or what terms i should best use to search the archives of this mailing list, the documentation or the web? Where do I find information (links or search terms) whether plugins ava