Re: [Dovecot] PDF corruption issue

2009-01-08 Thread Ed W
Michael Dunne wrote: Greetings, Thanks to everyone that replied. I have not been able to isolate the cause, has this happened to anyone else? Just a few days ago I sent a file to someone on my same mailserver who then reported the file corrupt and sent it back to me (where I also verified it

[Dovecot] LDA - no bounces

2009-01-08 Thread Andrzej Adam Filip
How to call deliver program to be sure it will *NEVER* generate bounce messages? [all signalling via deliver exit code ] -- [plen: Andrew] Andrzej Adam Filip : a...@onet.eu : a...@xl.wp.pl You k'n hide de fier, but w'at you gwine do wid de smoke? -- Joel Chandler Harris, proverbs of Uncle

Re: [Dovecot] LDA - no bounces

2009-01-08 Thread Eduardo M KALINOWSKI
Andrzej Adam Filip wrote: How to call deliver program to be sure it will *NEVER* generate bounce messages? [all signalling via deliver exit code ] According to the Wiki (http://wiki.dovecot.org/LDA), that would be the -e option. -- A general leading the State Department resembles a

Re: [Dovecot] Default dirs in ./configure?

2009-01-08 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 4 Jan 2009, Peter Lindgren wrote: my own private mail server admin, I just wonder why the sysconf and state dirs defaults to $prefix? Maybe I'm old-school, but isn't /etc and /var, Points of view vary. As others already said, /etc and

Re: [Dovecot] PDF corruption issue

2009-01-08 Thread Charles Marcus
On 1/8/2009, Ed W (li...@wildgooses.com) wrote: I personally suspect Thunderbird, but it's possible that it is related to Dovecot I have also seen TBird have a corrupt local cache of the file... it seems to usually happen to people who I know are the 'impatient' type, and will click on a

[Dovecot] ManageSieve woes

2009-01-08 Thread Rodti MacLeary
Hi everyone, New to the list, and fairly confident that this issue is purely down to my own idiocy, so please go easy on me! I've been running Dovecot 1.0.13 on Debian (via Aptitude package) for some time, and have been delighted with it. For a while I've toyed with the idea of using

Re: [Dovecot] PDF corruption issue

2009-01-08 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 7 Jan 2009, Michael Dunne wrote: has this happened to anyone else? Yes. The PDFs in question were binary PDFs with embedded ^Z. On Windows this is EOF marker for text files. I suppose that there is some issue interpreting text/pdf or

Re: [Dovecot] delivers mail to bad directory(prefix) using sieve filters

2009-01-08 Thread Radim Roska
ok..i guess i have said it not very precisely. Anyway that was not the important part of the question :). problem is that sieve filters eg. header :contains Subject test { fileinto INBOX.a; } will move mail deliver(tes...@imap): 2009-01-08 03:59:36 Info:

Re: [Dovecot] Setting IMAP keywords/flags on delivery

2009-01-08 Thread Bruce Bodger
On Jan 7, 2009, at 9:34 PM, Matt Doran wrote: Dovecot sieve will do exactly what you are looking for. It's described quite well in the WIKI. The operator that you're looking for is, 'setflag' We're currently using maildrop for filtering and local delivery. Do you know if there's a way to

Re: [Dovecot] ManageSieve woes

2009-01-08 Thread Rodti MacLeary
On Thu, 08 Jan 2009 10:57:50 +, Rodti MacLeary ro...@macleary.com wrote: The next step is to compile the ManageSieve 0.10.4 source itself. I've extracted the tarball and attempted ./configure, but it's failing with the following errors: ./configure: line 19826: cd: ../dovecot: No

Re: [Dovecot] v1.1.8 released

2009-01-08 Thread Gerhard Wiesinger
Hello Timo! Looks like the performance problems on opening/delivering mbox mailboxes and index updates/usage have been solved with dovecot 1.1.8 (your inbox subject was dovecot 1.1rc7 and cache with deliver). http://www.mail-archive.com/dovecot@dovecot.org/msg08274.html Is this quite

Re: [Dovecot] v1.1.8 released

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 13:09 +0100, Gerhard Wiesinger wrote: Looks like the performance problems on opening/delivering mbox mailboxes and index updates/usage have been solved with dovecot 1.1.8 (your inbox subject was dovecot 1.1rc7 and cache with deliver).

Re: [Dovecot] delivers mail to bad directory(prefix) using sieve filters

2009-01-08 Thread Timo Sirainen
What I meant was that it should be possible for you to not use the INBOX. namespace prefix at all with Dovecot. Then this Sieve problem is gone. Other than that, there's really no other solution except to upgrade to v1.1. On Thu, 2009-01-08 at 11:58 +0100, Radim Roska wrote: ok..i guess i have

Re: [Dovecot] v1.1.8 released

2009-01-08 Thread Dean Brooks
On Wed, Jan 07, 2009 at 03:45:28PM -0500, Timo Sirainen wrote: http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz.sig Most importantly mbox bugfixes. v1.1 should finally be as stable with mboxes as it was with v1.0. Hopefully we'll also

Re: [Dovecot] v1.1.8 released

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 11:00 -0500, Dean Brooks wrote: On Wed, Jan 07, 2009 at 03:45:28PM -0500, Timo Sirainen wrote: http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz.sig Most importantly mbox bugfixes. v1.1 should finally be as

Re: [Dovecot] v1.1.8 released

2009-01-08 Thread Dean Brooks
On Thu, Jan 08, 2009 at 11:15:55AM -0500, Timo Sirainen wrote: On Thu, 2009-01-08 at 11:00 -0500, Dean Brooks wrote: On Wed, Jan 07, 2009 at 03:45:28PM -0500, Timo Sirainen wrote: http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz.sig

Re: [Dovecot] v1.1.8 released

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 11:38 -0500, Dean Brooks wrote: I found similar code implementing unsetenv() in a perl module that seems to do the same thing. Completely untested, but example follows. Hmm. Maybe I could add that to compat.c.. void env_remove(const char *name) { int name_len;

Re: [Dovecot] v1.1.8 released

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 11:45 -0500, Timo Sirainen wrote: On Thu, 2009-01-08 at 11:38 -0500, Dean Brooks wrote: I found similar code implementing unsetenv() in a perl module that seems to do the same thing. Completely untested, but example follows. Hmm. Maybe I could add that to compat.c..

Re: [Dovecot] allow_nets overridden by cache

2009-01-08 Thread Timo Sirainen
This bug is finally fixed: http://hg.dovecot.org/dovecot-1.1/rev/e76f93b48187 On Tue, 2008-10-28 at 13:55 +, Guy wrote: Hi, I've just started trying allow_nets on one of my servers. I have auth_debug and auth_verbose both enabled and the output is as follows: Oct 28 13:05:48 mink

Re: [Dovecot] v1.1.8 released

2009-01-08 Thread Brian Hayden
On Jan 8 2009, Dean Brooks wrote: I found similar code implementing unsetenv() in a perl module that seems to do the same thing. Completely untested, but example follows. void env_remove(const char *name) { int name_len; extern char **environ; char **envp; name_len =

Re: [Dovecot] Checking for strtoumax and strtoimax

2009-01-08 Thread Timo Sirainen
On Wed, 2008-12-31 at 10:28 -0600, J Springer wrote: It shows in config.log why exactly it thought they were working. Copypaste those parts of it? configure:23169: checking for strtoimax configure:23196: cc -c -g conftest.c 5 configure:23202: $? = 0 configure:23213: result: yes

Re: [Dovecot] LDA - no bounces

2009-01-08 Thread Andrzej Adam Filip
Eduardo M KALINOWSKI edua...@kalinowski.com.br wrote: Andrzej Adam Filip wrote: How to call deliver program to be sure it will *NEVER* generate bounce messages? [all signalling via deliver exit code ] According to the Wiki (http://wiki.dovecot.org/LDA), that would be the -e option.

[Dovecot] Debugging sieve scripts

2009-01-08 Thread Andrzej Adam Filip
Where can I find step by step procedure to debug sieve scripts? [ something pretty simple that should work, does not work ] -- [plen: Andrew] Andrzej Adam Filip : a...@onet.eu : a...@xl.wp.pl Sex dumps core (Sex is a Simple editor for X11) -- Seen on debian bugtracking

Re: [Dovecot] ManageSieve woes

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 11:40 +, Rodti MacLeary wrote: Unfortunately I now get a series of 'nothing to be done' errors when I attempt to make ManageSieve! Nothing to be done sounds like everything is successfully compiled. What exactly are you doing / what's it saying? signature.asc

Re: [Dovecot] Apple patches 1-5

2009-01-08 Thread Mike Abbott
Following up. You checked in slightly different versions of patches 1, 3 and 4 and released them with 1.1.8. We will test your solutions for these and adopt them if they work. Thanks! For all the changes you checked into 1.1 on our behalf, will they also be included in 1.2?

Re: [Dovecot] Apple patches 6-8

2009-01-08 Thread Mike Abbott
Following up. You checked in a slightly different version of patch 6 and released it with 1.1.8. We will test your solution for this and adopt it if it works. We will update our code to honor both the idle timeout and the auth failure delay, to avoid the DoS situation you described,

[Dovecot] Panic in v1.1.8

2009-01-08 Thread Mark Sapiro
I just tried installing dovecot 1.1.8 as an upgrade to 1.1.7 and encountered Panics like the following with pop3 accesses Jan 8 10:55:31 sbh16 dovecot: Killed with signal 15 Jan 8 10:55:49 sbh16 dovecot: Dovecot v1.1.8 starting up Jan 8 10:57:01 sbh16 dovecot: pop3-login: Login: user=user2,

Re: [Dovecot] Panic in v1.1.8

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 11:21 -0800, Mark Sapiro wrote: Jan 8 10:57:01 sbh16 dovecot: Panic: POP3(user2): file mbox-transaction.c: line 54 (mbox_transaction_commit): assertion failed: (mbox-ibox.box.transaction_count 0 || mbox-mbox_lock_type == F_UNLCK) Fixed:

Re: [Dovecot] Apple patches 1-5

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 13:15 -0600, Mike Abbott wrote: For all the changes you checked into 1.1 on our behalf, will they also be included in 1.2? Yes, everything that's in v1.1 is (or should be) always in v1.2. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Bug Report in Connection with Expire Plugin

2009-01-08 Thread Timo Sirainen
On Fri, 2008-12-26 at 11:10 +0100, Jörg Leis wrote: I tried using a user_field = user additionally as is written here: http://wiki.dovecot.org/Plugins/Expire. (Incidentally, there must be some mismatch in the documentation because the tables for v1.1 do not contain a field username). Of

Re: [Dovecot] download IMAP folders via POP3

2009-01-08 Thread Timo Sirainen
On Fri, 2008-12-26 at 14:12 +0100, Jakob Grießmann wrote: Hi Timo, With v1.2 it's less ugly with virtual mailboxes. http://wiki.dovecot.org/Plugins/Virtual But it doesn't sound like such a good idea to actually use. That just allows the POP3 client to easily download+delete all

Re: [Dovecot] delivers mail to bad directory(prefix) using sieve filters

2009-01-08 Thread Radim Roska
ok..thx On Thu, Jan 8, 2009 at 4:03 PM, Timo Sirainen t...@iki.fi wrote: What I meant was that it should be possible for you to not use the INBOX. namespace prefix at all with Dovecot. Then this Sieve problem is gone. Other than that, there's really no other solution except to upgrade to

Re: [Dovecot] cannot delete emails in inbox

2009-01-08 Thread Timo Sirainen
On Mon, 2009-01-05 at 22:27 -0800, JANE CUA wrote: drwxrwxr-x 3 root mail 12288 Jan 5 14:31 mail It works now. Will I have a security issue here? Please advice.. No. This is the way /var/mail permissions are usually set up. signature.asc Description: This is a digitally signed

Re: [Dovecot] Authentication cache, failure to login after changed password

2009-01-08 Thread Timo Sirainen
On Mon, 2009-01-05 at 14:33 +0100, Tom Sommer wrote: Sorry to bump this, but I can still reproduce it - I have enabled auth_debug now to attempt to provide some more details. Actually enable auth_debug_passwords=yes. It then also logs what's seen in the cache entries. signature.asc

[Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Thomas Harold
We have a user who deleted IMAP folders from his account, so I simply tried to restore the folder .FolderName from our backup. I checked that file/folder ownership was the same as the original, but the Dovecot IMAP server is throwing errors at the client. I've tried copying the individual

Re: [Dovecot] Panic in v1.1.8

2009-01-08 Thread Mark Sapiro
Timo Sirainen wrote: On Thu, 2009-01-08 at 11:21 -0800, Mark Sapiro wrote: Jan 8 10:57:01 sbh16 dovecot: Panic: POP3(user2): file mbox-transaction.c: line 54 (mbox_transaction_commit): assertion failed: (mbox-ibox.box.transaction_count 0 || mbox-mbox_lock_type =3D=3D F_UNLCK) Fixed:

Re: [Dovecot] linuxconf migration story

2009-01-08 Thread Timo Sirainen
On Wed, 2008-12-24 at 16:26 +0200, Thanos Chatziathanassiou wrote: ``Dec 24 15:36:29 mail dovecot: POP3(u...@domain): stat(/var/run/dovecot/imap-index/domain/user/.imap/INBOX) failed: Permission denied (euid=60107 egid=231 missing +x perm: /var/run/dovecot/imap-index/domain)'' errors.

Re: [Dovecot] verbose_proctitle not working with post-login

2009-01-08 Thread Timo Sirainen
On Wed, 2008-12-24 at 16:25 +0100, Frank Elsner wrote: Happy Xmas, when using a post-login procedure the verbose_proctitle = yes has no effect. If it is feature then please explain else please fix the bug fi I suppose you mean you modified mail_executable to point to your

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 15:36 -0500, Thomas Harold wrote: We have a user who deleted IMAP folders from his account, so I simply tried to restore the folder .FolderName from our backup. I checked that file/folder ownership was the same as the original, but the Dovecot IMAP server is throwing

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Thomas Harold
Timo Sirainen wrote: On Thu, 2009-01-08 at 15:36 -0500, Thomas Harold wrote: We have a user who deleted IMAP folders from his account, so I simply tried to restore the folder .FolderName from our backup. I checked that file/folder ownership was the same as the original, but the Dovecot IMAP

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 16:35 -0500, Thomas Harold wrote: What was it logging? I think it should have clearly said there about permission errors. Oh, all sorts of errors in /var/log/messages: Jan 8 14:48:59 fvs-pri setroubleshoot: SELinux is preventing access to files with the label,

Re: [Dovecot] Dovecot-auth timeouts

2009-01-08 Thread Timo Sirainen
On Tue, 2008-12-23 at 14:50 -0800, Javier Fox wrote: I'm running Dovecot as an LDA and SASL auth for Postfix on a Debian 4 box. Dovecot is version 1.0.rc15 (the official debian pkg version). .. deliver(u...@domain.com): Dec 23 14:38:47 Error: User request from dovecot-auth timed out .. Now,

Re: [Dovecot] 1.1.6 - 1.1.7 regression: dovecot: pipe() failed: Too many open files

2009-01-08 Thread Timo Sirainen
On Tue, 2008-12-23 at 14:23 +, Mark Zealey wrote: Dec 23 14:02:15 mail9 dovecot: pipe() failed: Too many open files dovecot master process has opened too many files. The ulimit for the number of open files on these servers has remained unchanged at 8192 Should be enough.. and there

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Thomas Harold
Timo Sirainen wrote: On Thu, 2009-01-08 at 16:35 -0500, Thomas Harold wrote: What was it logging? I think it should have clearly said there about permission errors. Oh, all sorts of errors in /var/log/messages: Jan 8 14:48:59 fvs-pri setroubleshoot: SELinux is preventing access to files

Re: [Dovecot] cannot delete emails in inbox

2009-01-08 Thread JANE CUA
Thank you, my setup seems to be working properly now. - Jane On Mon, 2009-01-05 at 22:27 -0800, JANE CUA wrote: drwxrwxr-x 3 root   mail   12288 Jan  5 14:31 mail It works now.  Will I have a security issue here? Please advice.. No. This is the way /var/mail permissions are usually

Re: [Dovecot] v1.1.8 released (managesieve updated)

2009-01-08 Thread Stephan Bosch
Timo Sirainen wrote: http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz.sig I refreshed the ManageSieve patch: http://www.rename-it.nl/dovecot/1.1/dovecot-1.1.8-managesieve-0.10.4.diff.gz

[Dovecot] Debian packages for dovecot 1.1.x

2009-01-08 Thread Seth Mattinen
Because I'm tired of seeing Debian users look like idiots for using such horribly out of date versions just because they run stable, I've set up a page with .deb packages of my 1.1.x rebuilds for use under lenny. http://www.rollernet.us/opensource/ Standard disclaimer applies: use at your own

Re: [Dovecot] Debian packages for dovecot 1.1.x

2009-01-08 Thread Seth Mattinen
Eduardo M KALINOWSKI wrote: Seth Mattinen wrote: Because I'm tired of seeing Debian users look like idiots for using such horribly out of date versions just because they run stable, I've set up a page with .deb packages of my 1.1.x rebuilds for use under lenny. If you really mean 'lenny',

Re: [Dovecot] Debian packages for dovecot 1.1.x

2009-01-08 Thread Seth Mattinen
Eduardo M KALINOWSKI wrote: Seth Mattinen wrote: Because I'm tired of seeing Debian users look like idiots for using such horribly out of date versions just because they run stable, I've set up a page with .deb packages of my 1.1.x rebuilds for use under lenny. If you really mean 'lenny',

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 17:02 -0500, Thomas Harold wrote: My first inclination was to look at the dovecot-deliver.log file (per log_path or info_log_path). It wasn't until I went looking for SELinux errors that I discovered that it was a labeling problem. That's what I meant, did

Re: [Dovecot] Debian packages for dovecot 1.1.x

2009-01-08 Thread Seth Mattinen
Seth Mattinen wrote: Because I'm tired of seeing Debian users look like idiots for using such horribly out of date versions just because they run stable, I've set up a page with .deb packages of my 1.1.x rebuilds for use under lenny. http://www.rollernet.us/opensource/ Sorry I'm retarded;

Re: [Dovecot] dovecot-auth Temporary But Frequent CPU Spike

2009-01-08 Thread Timo Sirainen
On Tue, 2008-12-23 at 23:40 -0600, Joe Clark wrote: auth default: passdb: driver: pam userdb: driver: passwd The problem I'm noticing is that if I do top -d 1 while clicking links in Squirrelmail (e.g., logging in, the Inbox link, opening a message), I see that a

[Dovecot] new flags in Maildir files

2009-01-08 Thread Giuliano Gavazzi
Sorry if this is a dumb question: I migrated my third system from courier to dovecot. My previous two were MacOSX the third is FreeBSD 6. I noticed (because of an rsync process taking longer than usual...) that on FreeBSD the message files have, most of them at least, gained extra suffix

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Thomas Harold
Timo Sirainen wrote: They get logged to syslog, which probably goes to mail.log or something like that. Got it, buried in among the postfix log information in our maillog. Jan 8 14:48:36 fvs-pri dovecot: IMAP(fr...@nybeta.com):

Re: [Dovecot] PDF corruption issue

2009-01-08 Thread Patrick Nagel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 2009-01-08 18:29, Charles Marcus wrote: | On 1/8/2009, Ed W (li...@wildgooses.com) wrote: | I personally suspect Thunderbird, but it's possible that it is related | to Dovecot | | I have also seen TBird have a corrupt local cache of the

Re: [Dovecot] PDF corruption issue

2009-01-08 Thread Seth Mattinen
Patrick Nagel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 2009-01-08 18:29, Charles Marcus wrote: | On 1/8/2009, Ed W (li...@wildgooses.com) wrote: | I personally suspect Thunderbird, but it's possible that it is related | to Dovecot | | I have also seen TBird have a corrupt