[Dovecot] 2.0: deliver run from multiple uids and configuration files

2011-06-02 Thread Arkadiusz Miskiewicz
I'm trying to run deliver from exim transport in a way that it doesn't need to query userdb AND doesn't need to read configuration files. The problem is that config files are readable for root only and if I run deliver with multiple UIDs then I would have to allow reading config files for

[Dovecot] permission recomendation for dovecot configuration files and binaries

2011-03-10 Thread Arkadiusz Miskiewicz
I'm trying to figure out which permissions will be the best to handle most of tasks (for use in rpm package) for configuration files. Basically /etc/dovecot/ dir /etc/dovecot/* files /etc/dovecot/conf.d/ dir /etc/dovecot/conf.d/files dovecot binaries, deliver mainly For example deliver needs

Re: [Dovecot] v2.0.2 released

2010-09-09 Thread Arkadiusz Miskiewicz
On Wednesday 08 of September 2010, Timo Sirainen wrote: http://dovecot.org/releases/2.0/dovecot-2.0.2.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.2.tar.gz.sig Hm, why libraries (not plugins) are installed in /usr/lib{,64}/doveoct instead of proper place - /usr/lib{,64} (aka @libdir@) ?

[Dovecot] 1.2.10 and questions

2010-03-02 Thread Arkadiusz Miskiewicz
Hi, 1) Why dovecot -n doesn't display default values? At least it didn't display mail_max_userip_connections(default): 20 mail_max_userip_connections(imap): 20 mail_max_userip_connections(pop3): 10 if I had set ONLY mail_max_userip_connections (to be =10) 2) Maximum number of connections from

Re: [Dovecot] Binary locations

2009-10-09 Thread Arkadiusz Miskiewicz
On Tuesday 06 of October 2009, Pascal Volk wrote: On 10/06/2009 05:32 PM Timo Sirainen wrote: Where do you think the following binaries should be installed to? The possible locations are: - bin/ - sbin/ - libexec/dovecot/ (or lib/dovecot/ in most Linux distros) So the binaries

Re: [Dovecot] E-Mail Encryption

2009-07-16 Thread Arkadiusz Miskiewicz
On Wednesday 15 of July 2009, Patrick Domack wrote: The only benefit this would being, is email being saved on the server would be encrypted. Otherwise it offers no protection. I guess if you paranoid that the system admin might read your emails, but then, he can just as easily read them as

[Dovecot] crypt() failure is possible

2009-05-21 Thread Arkadiusz Miskiewicz
dovecot 1.1.15 in src/auth/password-scheme.c contains: static bool crypt_verify(const char *plaintext, const char *user ATTR_UNUSED, const unsigned char *raw_password, size_t size) { const char *password; if (size == 0) { /* the default mycrypt()

[Dovecot] multiple sql servers - loadbalancing and failover

2009-03-27 Thread Arkadiusz Miskiewicz
Hi, Is there a way for dovecot to use a pool of sql (mysql) servers and load balance queries between these? Also fallback to next available sql server if connection to previous one fails. Can dovecot do such things currently? (If not this is feature request). -- Arkadiusz Miśkiewicz

Re: [Dovecot] multiple sql servers - loadbalancing and failover

2009-03-27 Thread Arkadiusz Miskiewicz
On Friday 27 of March 2009, Xueron Nee wrote: You can try mysql-proxy: http://dev.mysql.com/downloads/mysql-proxy/index.html This introduces single point of failure. Support for switching to next mysql server in list if previous fails would be enough. -- Arkadiusz Miśkiewicz

Re: [Dovecot] multiple sql servers - loadbalancing and failover

2009-03-27 Thread Arkadiusz Miskiewicz
On Friday 27 of March 2009, Seth Mattinen wrote: Arkadiusz Miskiewicz wrote: On Friday 27 of March 2009, Xueron Nee wrote: You can try mysql-proxy: http://dev.mysql.com/downloads/mysql-proxy/index.html This introduces single point of failure. http://forge.mysql.com/wiki/MySQL_Proxy

Re: [Dovecot] multiple sql servers - loadbalancing and failover

2009-03-27 Thread Arkadiusz Miskiewicz
On Friday 27 of March 2009, Seth Mattinen wrote: Arkadiusz Miskiewicz wrote: On Friday 27 of March 2009, Xueron Nee wrote: You can try mysql-proxy: http://dev.mysql.com/downloads/mysql-proxy/index.html This introduces single point of failure. Plus use of heartbeat, HA, etc

Re: [Dovecot] multiple sql servers - loadbalancing and failover

2009-03-27 Thread Arkadiusz Miskiewicz
On Friday 27 of March 2009, Timo Sirainen wrote: On Mar 27, 2009, at 3:20 AM, Arkadiusz Miskiewicz wrote: Is there a way for dovecot to use a pool of sql (mysql) servers and load balance queries between these? Also fallback to next available sql server if connection to previous one

Re: [Dovecot] imap flags - \* - dovecot 1.1.{8,9}

2009-01-27 Thread Arkadiusz Miskiewicz
On Monday 26 of January 2009, Arkadiusz Miskiewicz wrote: Isn't \* supposed to be (almost always) in flags after SELECT command in dovecot imap? According to source code it should be there if mailbox is writtable and mine is (20 OK [READ-WRITE] Select completed.). Something broken

[Dovecot] imap flags - \* - dovecot 1.1.{8,9}

2009-01-26 Thread Arkadiusz Miskiewicz
Isn't \* supposed to be (almost always) in flags after SELECT command in dovecot imap? Isn't \* meaning is you can store any new flag ? 20 select INBOX * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Flags permitted. so no

Re: [Dovecot] 1.1.7: quota problem, unable to delete mails when quota exceeded

2008-12-15 Thread Arkadiusz Miskiewicz
On Monday 15 of December 2008, Timo Sirainen wrote: On Mon, 2008-12-15 at 08:44 +0100, Arkadiusz Miskiewicz wrote: Hi, When user exceeds it's quota then dovecot can't create it's files and it's showing zero mails :( This also means that user is unable to delete it's own mails. Sounds

Re: [Dovecot] 1.1.7: quota problem, unable to delete mails when quota exceeded

2008-12-15 Thread Arkadiusz Miskiewicz
On Monday 15 of December 2008, Timo Sirainen wrote: On Mon, 2008-12-15 at 09:04 +0100, Arkadiusz Miskiewicz wrote: On Monday 15 of December 2008, Timo Sirainen wrote: On Mon, 2008-12-15 at 08:44 +0100, Arkadiusz Miskiewicz wrote: Will look. Right now I'm trying to move CONTROL to other fs

Re: [Dovecot] 1.1.7: quota problem, unable to delete mails when quota exceeded

2008-12-15 Thread Arkadiusz Miskiewicz
On Monday 15 of December 2008, Timo Sirainen wrote: On Mon, 2008-12-15 at 09:04 +0100, Arkadiusz Miskiewicz wrote: On Monday 15 of December 2008, Timo Sirainen wrote: On Mon, 2008-12-15 at 08:44 +0100, Arkadiusz Miskiewicz wrote: Hi, When user exceeds it's quota then dovecot

[Dovecot] 1.1.7: quota problem, unable to delete mails when quota exceeded

2008-12-14 Thread Arkadiusz Miskiewicz
Hi, When user exceeds it's quota then dovecot can't create it's files and it's showing zero mails :( This also means that user is unable to delete it's own mails. Sounds like kind-of bug, right? Dec 15 08:28:37 mbox1 dovecot: IMAP(xxx): open(/var/mail/xxx/dovecot-uidlist.lock) failed: Disk

[Dovecot] W= fixup feature

2008-12-11 Thread Arkadiusz Miskiewicz
Hi, When there are maildir mail files without W= tag in name then dovecot opens them, read data inside to calculate W= size, cache that information etc. Would be it sensible to have option where dovecot would fix names of such files? Like if no W= then after calculating size rename file to

Re: [Dovecot] 1.1.5 abort with mal-formed address in header

2008-10-29 Thread Arkadiusz Miskiewicz
On Friday 24 of October 2008, Timo Sirainen wrote: On Oct 24, 2008, at 1:49 AM, Richard Platel wrote: To:([EMAIL PROTECTED] (Starting with a comment, with no closing ')' ) causes dovecot 1.1.5 to panic and abort. This is similar to the problem fixed by:

Re: [Dovecot] Backing Up

2008-10-29 Thread Arkadiusz Miskiewicz
On Wednesday 29 of October 2008, Dave McGuire wrote: On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: What is the best way to do a (server-side) backup of all mail in a user's mail? I usually just rsync the /home directories to another server. The inital sync can take a while, but it

Re: [Dovecot] Problems with the pop3 part of dovecot

2008-10-26 Thread Arkadiusz Miskiewicz
On Sunday 26 of October 2008, Heiko Schlichting wrote: Brandon, I did modify exim to add the W=size but it also required use_crlf and that seemed to break something else. You can configure Exim to write ,W=vsize even without use_crlf. Configuring

Re: [Dovecot] Problems with the pop3 part of dovecot

2008-10-26 Thread Arkadiusz Miskiewicz
On Sunday 26 of October 2008, Timo Sirainen wrote: On Sun, 2008-10-26 at 20:56 +0200, Arkadiusz Miskiewicz wrote: On Sunday 26 of October 2008, Heiko Schlichting wrote: Brandon, I did modify exim to add the W=size but it also required use_crlf and that seemed to break something

Re: [Dovecot] Problems with the pop3 part of dovecot

2008-10-26 Thread Arkadiusz Miskiewicz
On Sunday 26 of October 2008, Arkadiusz Miskiewicz wrote: Also adding 3 is weird. Exim documentation says The blank line that separates the message header from the body is not counted. so it's only 1 line, not 3. Ok, it also says that $message_linecount can be incremented when exim adds some

Re: [Dovecot] imap processes eating IO

2008-07-27 Thread Arkadiusz Miskiewicz
On Sunday 27 July 2008, Timo Sirainen wrote: On Sun, 2008-07-27 at 12:09 -0500, Ryan Rawdon wrote: lstat64(/home/vmail/u13.net/ryan/Maildir/cur/1203440140.P6242Q0M41485.sc arecrow:2,RSc, {st_mode=S_IFREG|0600, st_size=3079, ...}) = 0

[Dovecot] stopping dovecot

2008-07-25 Thread Arkadiusz Miskiewicz
This may be a silly question but how to correctly stop dovecot and be sure that it's possible to start it again? kill -TERM `cat /var/run/dovecot/master.pid` doesn't work well. I have imap-login processes staying arround and occupying port which leads to Fatal: listen(0.0.0.0, 993) failed:

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Arkadiusz Miskiewicz
On Monday 21 July 2008, Timo Sirainen wrote: On Mon, 2008-07-21 at 15:51 +0200, Arkadiusz Miskiewicz wrote: On Monday 21 July 2008, Timo Sirainen wrote: + Maildir: Add ,S=size to maildir filename whenever quota plugin is loaded, even when not using Maildir++ quota. Could S

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Arkadiusz Miskiewicz
On Thursday 12 of July 2007, Timo Sirainen wrote: On 12.7.2007, at 10.22, Arkadiusz Miskiewicz wrote: Although I'm guessing your much more I/O means that Dovecot reads the message contents to calculate the messages' correct virtual size, while tpop3d violates POP3 spec by returning physical

[Dovecot] delivery and quota question

2007-05-25 Thread Arkadiusz Miskiewicz
Hi, I'm considering using delivery for delivering emails. The question is about quota. Does delivery check quota for single maildir or for entire collection of user folders? Example: /var/mail/user/{new,cur,tmp} /var/mail/user/.Some_Folder/{new,cur,tmp}

[Dovecot] permissions on some dovecot directories

2007-05-19 Thread Arkadiusz Miskiewicz
Hello, What smallest permissions are needed on directories: /var/run/dovecot /var/run/dovecot/login /var/lib/dovecot dovecot run as dovecot:dovecot. Currently I have 775 dovecot:dovecot /var/run/dovecot 750 root:dovecot /var/run/dovecot/login 755 root:root /var/lib/dovecot -- Arkadiusz

Re: [Dovecot] ignoring some subfolders [potential wishlist]

2007-03-28 Thread Arkadiusz Miskiewicz
On Wednesday 28 of March 2007, Timo Sirainen wrote: On 28.3.2007, at 11.49, Arkadiusz Miskiewicz wrote: tpop3d allows me to say: maildir-ignore-folders: Spam Trash trash Sent sent-mail POP3-Invisible (would be stupid to fetch own sent-mail via pop3 again 8-) POP3 has only one mailbox, so