[Dovecot] Configuring Dovecot & Snarf plugin for the first time

2012-10-20 Thread Jeffrey Ross
I've been using uw-imap for some time on my linux system and have been running into issues with it so I've decided to move to Dovecote, so far it seems to have solved the issues I've been having however I need/want to move the incoming emails out of /var/spool/mail/{user} in the same (or simila

Re: [Dovecot] LDA without lookup as non-root?

2012-10-20 Thread E.B.
>> 3) The interesting part -- I am invoking LDA from Maildrop. See: >> http://thread.gmane.org/gmane.mail.imap.dovecot/65473 >> So >> when invoked, Maildrop has already dropped to the destination UID/GID >> and the needed paths are available in the environment.  However, using >> as many p

Re: [Dovecot] still having difficulties with per-user quotas

2012-10-20 Thread Daniel Parthey
David Mehler wrote: > Thanks for your reply. So with the extending of the query to return a > default quota rule, do you have an example of that by the way, does > that mean I only have to put the overrided users in the quota table? Assuming that quota values are in the dovecot_users table... # p

Re: [Dovecot] LDA without lookup as non-root?

2012-10-20 Thread E.B.
> 1) If LDA is invoked without > lookups, is it correct to assume that the "service auth" and > "service > auth-worker" can be completely removed from dovecot master > configuration? (I have tried commenting them out and logging into IMAP, > which seems to work, not sure if anyone else needs

Re: [Dovecot] still having difficulties with per-user quotas

2012-10-20 Thread Daniel Parthey
David Mehler wrote: > My first issue is from what it is looking like I have to define all my > users in the quota database not just the ones whose values I want to > override the global quota declaration in 90-quota.conf. If I just add > the user@domain to the database the bytes and messages column

Re: [Dovecot] Dovecot 2 and TCP-Keepalive

2012-10-20 Thread Sven Hartge
Timo Sirainen wrote: > On 20.10.2012, at 19.39, Sven Hartge wrote: >> My question is: does Dovecot2 use TCP-Keepalive on its sockets per >> default or do I need to enable it some way I have not yet discovered? > It's the default yes. Of course Linux's default keepalive interval is > something li

Re: [Dovecot] still having difficulties with per-user quotas

2012-10-20 Thread David Mehler
Hello, Thank you for your reply. Adding mail_uid and mail_gid fixed it. I now have quotas going but I don't know if I have them right or just don't like my setup. My first issue is from what it is looking like I have to define all my users in the quota database not just the ones whose values I wa

Re: [Dovecot] Dovecot 2 and TCP-Keepalive

2012-10-20 Thread Timo Sirainen
On 20.10.2012, at 19.39, Sven Hartge wrote: > I am about to migrate a perdition-based IMAP/POP3 proxy to Dovecot. > > Unfortunately some users are behind a firewall/NAT setup which throws > away seemingly idle TCP connections sooner than the established default > of 24 hours (more likely after 30

[Dovecot] Dovecot 2 and TCP-Keepalive

2012-10-20 Thread Sven Hartge
Hi! I am about to migrate a perdition-based IMAP/POP3 proxy to Dovecot. Unfortunately some users are behind a firewall/NAT setup which throws away seemingly idle TCP connections sooner than the established default of 24 hours (more likely after 30 minutes ...) resulting in all kinds of weird clie

Re: [Dovecot] trash plugin not doing it's job

2012-10-20 Thread Daniel Parthey
Jan-Frode Myklebust wrote: > $ cat /etc/dovecot/dovecot-trash.conf.ext > # Spam mailbox is emptied before Trash > 1 INBOX.Spam > # Trash mailbox is emptied before Sent > 2 INBOX.Trash Are you sure the Trash Folder of the affected users is located below "INBOX"? doveadm mailbox list -u user@domain

Re: [Dovecot] still having difficulties with per-user quotas

2012-10-20 Thread Daniel Parthey
David Mehler wrote: > Oct 19 15:23:52 imap(xxx): Error: user xxx: Couldn't drop privileges: User is > missing UID (see mail_uid setting) Set the following options in your dovecot.conf: mail_uid = vmail mail_gid = vmail Also see section "Mail users" at http://wiki2.dovecot.org/UserIds Regards D

Re: [Dovecot] Dovecot 2 quota limit and actual size (mysql)

2012-10-20 Thread Daniel Parthey
Use LMTP instead of lda. The dovecot lmtp service automatically cares about updating quota values in mysql database when mail arrives through the lmtp socket. Regards Daniel wamp wrote: > Hello, > Can You explain to me how dovecot-lda knows actual size of virtual user > directory? I want to keep