Re: [Dovecot] shared mailboxes and indexes

2012-11-26 Thread Angel L. Mateo
El 23/11/12 08:07, Timo Sirainen escribió: On 16.11.2012, at 12.11, Angel L. Mateo wrote: We are deploying shared mailboxes in our mail system. We are running 2.1.9 and mail backend is maildir. As described at http://wiki.dovecot.org/SharedMailboxes/Shared when shared

Re: [Dovecot] doveadm fails with passdb authentication binds (dovecot 2.0.16)

2012-11-26 Thread mailing lists
Hello, # doveadm mailbox list -u user001 doveadm(user001): Error: user user001: Auth PASS lookup failed doveadm(user001): Fatal: passdb lookup failed Are you running this on a Dovecot proxy? It looks like doveadm wants to do a passdb lookup to find out which server should handle this

Re: [Dovecot] Dovecot sieve with postfix.

2012-11-26 Thread /#!/JoePea
Hi, thanks for the reply. I'm new to all this. How can I tell if postfix is deferring messages, or if it thinks they've been delieverd? Where is the postfix log? How do I feed a message to dovecot-lda manually, as mailman? How do I use LMTP instead of LDA? */#!/*JoePea On Mon, Nov 19, 2012 at

Re: [Dovecot] Dovecot sieve with postfix.

2012-11-26 Thread /#!/JoePea
Hi, I tried changing dovecot-lda to deliver in master.cf and also added the acl plugin to the lda protocol like yours. It still won't work though. */#!/*JoePea On Mon, Nov 19, 2012 at 9:04 AM, Fi4IT - Daniel Fischer dfisc...@fi4it.dewrote: Hello Joe, i use this: main.cf virtual_transport

Re: [Dovecot] Dovecot sieve with postfix.

2012-11-26 Thread Ben Morrow
At 2AM -0800 on 26/11/12 you (/#!/JoePea) wrote: Hi, thanks for the reply. I'm new to all this. How can I tell if postfix is deferring messages, or if it thinks they've been delieverd? Where is the postfix log? You can tell if a message is still in the queue with 'mailq'. You can find out why

[Dovecot] IMAP proxy - can it detect parodying to itself?

2012-11-26 Thread Graham Leggett
Hi all, I have some IMAP servers fronted with separate perdition processes, and it would be ideal if I could collapse this down to having dovecot do both the IMAP proxying and the IMAP serving at the same time on the same IP addresses. One of the fields in my LDAP entries contains the

Re: [Dovecot] IMAP proxy - can it detect parodying to itself?

2012-11-26 Thread Graham Leggett
On 26 Nov 2012, at 4:24 PM, Graham Leggett minf...@sharp.fm wrote: I have some IMAP servers fronted with separate perdition processes, and it would be ideal if I could collapse this down to having dovecot do both the IMAP proxying and the IMAP serving at the same time on the same IP

Re: [Dovecot] IMAP proxy - can it detect parodying to itself?

2012-11-26 Thread Ben Morrow
At 4PM +0200 on 26/11/12 you (Graham Leggett) wrote: Hi all, I have some IMAP servers fronted with separate perdition processes, and it would be ideal if I could collapse this down to having dovecot do both the IMAP proxying and the IMAP serving at the same time on the same IP addresses.

[Dovecot] lmtp_rcpt_check_quota working somewhere?

2012-11-26 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm running Dovecot v2.1 and enabled the lmtp_rcpt_check_quota option in conf.d/20-lmtp.conf, because I just found it in the sample config. Is this option working somewhere? When I have the option enabled, I get _no_ response in the

[Dovecot] Vacation messages come from POSTMASTER, not user

2012-11-26 Thread cfowler
Problem : All vacation autoreplies come from the postmaster address. Expected behavior : vacation notice comes from the user who set the vacation. Platform : Dovecot 2.1.7 on Debian Squeeze ( See below for example reply, sieve script and dovecot -n output) Any help appreciated!

Re: [Dovecot] Vacation messages come from POSTMASTER, not user

2012-11-26 Thread Robert Schetterer
Am 26.11.2012 18:31, schrieb cfowler: Problem : All vacation autoreplies come from the postmaster address. is not really the postmaster address, its special for the mailer daemon Expected behavior : vacation notice comes from the user who set the vacation. at my knowledge, does not work

Re: [Dovecot] Vacation messages come from POSTMASTER, not user

2012-11-26 Thread Ben Morrow
At 5PM + on 26/11/12 you (cfowler) wrote: Problem : All vacation autoreplies come from the postmaster address. Expected behavior : vacation notice comes from the user who set the vacation. Platform : Dovecot 2.1.7 on Debian Squeeze ( See below for example reply, sieve script and

Re: [Dovecot] Vacation messages come from POSTMASTER, not user

2012-11-26 Thread cfowler
On 26-11-2012 17:59, Ben Morrow wrote: At 5PM + on 26/11/12 you (cfowler) wrote: Problem : All vacation autoreplies come from the postmaster address. Expected behavior : vacation notice comes from the user who set the vacation. Platform : Dovecot 2.1.7 on Debian Squeeze ( See below for

[Dovecot] sieve + dkim

2012-11-26 Thread Николай Клименко
message sent from the sieve-vacation does not contain dkim signature how to configure sieve to send messages via smtp transport with signing?

Re: [Dovecot] Dovecot sieve with postfix.

2012-11-26 Thread Николай Клименко
may be this is the best way dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} -a ${recipient} parameter-a $ {recipient} allow to keep the recipient's address in the headers from: 19.11.12

Re: [Dovecot] sieve + dkim

2012-11-26 Thread Pascal Volk
On 11/26/2012 07:58 PM Николай Клименко wrote: message sent from the sieve-vacation does not contain dkim signature how to configure sieve to send messages via smtp transport with signing? Configure a submission host:

Re: [Dovecot] cannot update mailbox - unable to lock for exclusive access

2012-11-26 Thread 1st WebDesigns
So this is a step in the right direction. But still far less than optimal. The read/write lock contention on mbox is unnecessarily eating up system resources (mainly memory), and causing unnecessary delivery delays to the mailbox. You should really start looking at migrating to maildir.

Re: [Dovecot] memory allocation issues

2012-11-26 Thread Kelsey Cummings
On Fri, Nov 23, 2012 at 08:36:37AM +0200, Timo Sirainen wrote: On 9.11.2012, at 2.49, Kelsey Cummings wrote: One of our dovecot backend servers ran into a problem with it's auth process a few days ago. This doesn't appear to be the error logged when dovecot hits its internal limit so I'm

Re: [Dovecot] sieve + dkim

2012-11-26 Thread Николай Клименко
thx for answer i use 1.x I found the solution in main.cf content_filter=smtp-amavis:[127.0.0.1]:10026 #filter with dkim and in master.cf public_ip_external_user:smtp inet n - - - - smtpd #some smtpd_recipient_restrictions rules #some

Re: [Dovecot] Vacation messages come from POSTMASTER, not user

2012-11-26 Thread Stephan Bosch
On 11/26/2012 6:31 PM, cfowler wrote: Problem : All vacation autoreplies come from the postmaster address. Expected behavior : vacation notice comes from the user who set the vacation. Platform : Dovecot 2.1.7 on Debian Squeeze ( See below for example reply, sieve script and dovecot -n output)

Re: [Dovecot] Vacation messages come from POSTMASTER, not user

2012-11-26 Thread Stephan Bosch
On 11/26/2012 6:59 PM, Ben Morrow wrote: At 5PM + on 26/11/12 you (cfowler) wrote: This setting turns that check off, in which case Pigeonhole will send a vacation response (despite the standard) but sends it from Postmaster. Actually, this shouldn't have happened. Originally, it would

Re: [Dovecot] sieve + dkim

2012-11-26 Thread Charles Marcus
You do know that inline comments as you have below are not supported in postfix config files and WILL cause unexpected behavior depending on where they are and what they contain, right? On 2012-11-26 3:13 PM, Николай Клименко klimenk...@theitidea.ru wrote: thx for answer i use 1.x I found

Re: [Dovecot] sieve + dkim

2012-11-26 Thread Николай Клименко
yes of course this is only remarks for easily understanding 27.11.12 0:33, Charles Marcus пишет: You do know that inline comments as you have below are not supported in postfix config files and WILL cause unexpected behavior depending on where they are and what they contain, right? On

Re: [Dovecot] Dovecot sieve with postfix.

2012-11-26 Thread /#!/JoePea
Hi Ben, Indeed, the mailq command shows my test messages sitting there with mail transport unavailable. ┌─[11:48:22/hypership/root/~] └─╼ mailq -Queue ID- --Size-- Arrival Time -Sender/Recipient--- 2DCCB580C01 1901 Mon Nov 26 11:45:02 trus...@gmail.com

Re: [Dovecot] cannot update mailbox - unable to lock for exclusive access

2012-11-26 Thread Stan Hoeppner
On 11/26/2012 1:58 PM, 1st WebDesigns wrote: So this is a step in the right direction. But still far less than optimal. The read/write lock contention on mbox is unnecessarily eating up system resources (mainly memory), and causing unnecessary delivery delays to the mailbox. You should

Re: [Dovecot] cannot update mailbox - unable to lock for exclusive access

2012-11-26 Thread 1st WebDesigns
Thanks, all your comments are noted. As I said, you can migrate users individually. You could easily do 10 users a day during coffee breaks etc and be done in a month plus. Do 40 a day and you're done in 10 days. The only time you'll burn is in the learning curve, not the actual mailbox

Re: [Dovecot] Vacation messages come from POSTMASTER, not user

2012-11-26 Thread Ben Morrow
At 6PM + on 26/11/12 you (cfowler) wrote: On 26-11-2012 17:59, Ben Morrow wrote: At 5PM + on 26/11/12 you (cfowler) wrote: Problem : All vacation autoreplies come from the postmaster address. Expected behavior : vacation notice comes from the user who set the vacation.

Re: [Dovecot] cannot update mailbox - unable to lock for exclusive access

2012-11-26 Thread Stan Hoeppner
On 11/26/2012 3:39 PM, 1st WebDesigns wrote: Thanks, all your comments are noted. As I said, you can migrate users individually. You could easily do 10 users a day during coffee breaks etc and be done in a month plus. Do 40 a day and you're done in 10 days. The only time you'll burn is in

Re: [Dovecot] lmtp_rcpt_check_quota working somewhere?

2012-11-26 Thread Timo Sirainen
On 26.11.2012, at 18.07, Steffen Kaiser wrote: I'm running Dovecot v2.1 and enabled the lmtp_rcpt_check_quota option in conf.d/20-lmtp.conf, because I just found it in the sample config. Is this option working somewhere? When I have the option enabled, I get _no_ response in the RCPT

Re: [Dovecot] shared mailboxes and indexes

2012-11-26 Thread Timo Sirainen
On 23.11.2012, at 17.53, Sven Hartge wrote: BTW. Do you have multiple Dovecot backend servers? Director works only when you're not using shared mailboxes.. You can't reliably do it if the mailboxes are accessed directly via NFS. The current idea to solve this is to use imapc backend with

Re: [Dovecot] shared mailboxes and indexes

2012-11-26 Thread Timo Sirainen
On 27.11.2012, at 3.00, Timo Sirainen wrote: Now the mentioned quirk: Because all connections on the shared-server are made to the same user shared and are coming from very few IPs (the 1 to X user-servers), you need to set a very high mail_max_userip_connections value. I set mine to 1000

Re: [Dovecot] Default fallback behaviour

2012-11-26 Thread Timo Sirainen
On 23.11.2012, at 9.46, Nikita Koshikov wrote: Hello list, Here is the problem: I have few: passdb { #1 } passdb { #2 } And relative userdb sections. If user not found in 1) section it fallbacks to next one - it's expected and right, IMHO. But when the user exists in both section

Re: [Dovecot] Plugin help, number of messages in mailbox

2012-11-26 Thread Timo Sirainen
On 22.11.2012, at 17.06, Richard Platel wrote: We use Dovecot for IMAP and POP (but not LDA), we want to do something when a user has an INBOX that becomes empty, or becomes not empty (set a flag in memcached, but that's not really important). I'm writing a plugin (for Dovecot 2.1.7).

Re: [Dovecot] Filesystem quotas

2012-11-26 Thread Timo Sirainen
On 21.11.2012, at 19.34, Andreas Kasenides wrote: I could not determine if when using filesystem quotas (http://wiki2.dovecot.org/Quota/FS) Dovecot will use the reported quota and limits without the need of configuring them via quota_rules. Is this possible somehow? Such a feature would

Re: [Dovecot] shared mailboxes and indexes

2012-11-26 Thread Sven Hartge
Timo Sirainen t...@iki.fi wrote: On 23.11.2012, at 17.53, Sven Hartge wrote: BTW. Do you have multiple Dovecot backend servers? Director works only when you're not using shared mailboxes.. You can't reliably do it if the mailboxes are accessed directly via NFS. The current idea to solve

Re: [Dovecot] panic fts_solr for bad attachment

2012-11-26 Thread Timo Sirainen
On 18.11.2012, at 16.54, Robert Strötgen wrote: Nov 18, 2012 2:59:09 PM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: Invalid UTF-8 start byte 0xfc (at char #25214836, byte #26687495) Annoying. I guess these fix it:

Re: [Dovecot] shared mailboxes and indexes

2012-11-26 Thread Timo Sirainen
On 27.11.2012, at 3.24, Sven Hartge wrote: For implementing shared mailboxes between all user servers, I think what would need to be developed is: imapc_host = m-st-sh-01.example.com imapc_master_user = %u imapc_user = shared Somehow being able to set imapc_user = %%u where %%u expands

Re: [Dovecot] Dovecot director doveadm with switch -A error

2012-11-26 Thread Timo Sirainen
On 21.11.2012, at 15.05, Ramon Frontera wrote: we have a problem with our director proxy configuration. When we run on proxy server the doveadm command with -A switch, fails with the error: # doveadm -D quota get -A doveadm(user1): Debug: auth input: user=user1 proxy starttls=any-cert

Re: [Dovecot] panic fts_solr for bad attachment

2012-11-26 Thread Daniel L. Miller
On 11/26/2012 5:50 PM, Timo Sirainen wrote: On 18.11.2012, at 16.54, Robert Strötgen wrote: Nov 18, 2012 2:59:09 PM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: Invalid UTF-8 start byte 0xfc (at char #25214836, byte #26687495) Annoying. I guess these

Re: [Dovecot] panic fts_solr for bad attachment

2012-11-26 Thread Daniel L. Miller
On 11/26/2012 5:50 PM, Timo Sirainen wrote: On 18.11.2012, at 16.54, Robert Strötgen wrote: Nov 18, 2012 2:59:09 PM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: Invalid UTF-8 start byte 0xfc (at char #25214836, byte #26687495) Annoying. I guess these

Re: [Dovecot] panic fts_solr for bad attachment

2012-11-26 Thread Timo Sirainen
On 27.11.2012, at 6.51, Daniel L. Miller wrote: On 11/26/2012 5:50 PM, Timo Sirainen wrote: On 18.11.2012, at 16.54, Robert Strötgen wrote: Nov 18, 2012 2:59:09 PM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: Invalid UTF-8 start byte 0xfc (at char

Re: [Dovecot] panic fts_solr for bad attachment

2012-11-26 Thread Timo Sirainen
On 27.11.2012, at 7.50, Timo Sirainen wrote: Nov 26, 2012 8:49:29 PM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: Illegal character ((CTRL-CHAR, code 8)) at [row,col {unknown-source}]: [1011144,197790] Something's wrong. The Solr code was already

Re: [Dovecot] Dovecot sieve with postfix.

2012-11-26 Thread Николай Клименко
1. clear the log 2. Send message 3. show mail.log mail.err you should add following in main.cf dovecot_destination_recipient_limit = 1 27.11.12 1:15, /#!/JoePea пишет: Hi, thanks for the reply, What's the difference between dovecot-lda and deliver? Are they the same? The manpages are

Re: [Dovecot] memory allocation issues

2012-11-26 Thread Timo Sirainen
On 26.11.2012, at 22.03, Kelsey Cummings wrote: auth: Error: malloc: 58012: Cannot allocate memory auth: Error: Unable to allocate memory for mutexes from the region auth: Error: PANIC: Cannot allocate memory auth: passwd(test,1.1.1.1,8HTlNHzNIQBAjhKC): unknown user .. Memory leak maybe?

Re: [Dovecot] memory allocation issues

2012-11-26 Thread Timo Sirainen
On 27.11.2012, at 8.39, Timo Sirainen wrote: userdb { driver = passwd } Both of these lookups should be done by auth-worker processes. So why is it the auth process that complains? Because of a bug in v2.0.16+ :( http://hg.dovecot.org/dovecot-2.1/rev/8e5d9d88e250 As a workaround you

[Dovecot] Dovecot IMAP/POP3 auto creating maildir

2012-11-26 Thread Dominic Malolepszy
Hi I have observed that after deleting a mailbox and removing the user from the userdb, immediately accessing the mail account via POP3/IMAP causes Dovecot to auto create an empty mailbox, because the userdb/passdb details are still cached for 10minutes. Is there any option to tell Dovecot

Re: [Dovecot] Dovecot IMAP/POP3 auto creating maildir

2012-11-26 Thread Timo Sirainen
On 27.11.2012, at 8.48, Dominic Malolepszy wrote: I have observed that after deleting a mailbox and removing the user from the userdb, immediately accessing the mail account via POP3/IMAP causes Dovecot to auto create an empty mailbox, because the userdb/passdb details are still cached for

Re: [Dovecot] Feature request: add information to error message: client doesn't have lookup permissions for this user: userdb reply doesn't contain uid (change userdb socket permissions)

2012-11-26 Thread Timo Sirainen
On 2.11.2012, at 17.55, Steffen Kaiser wrote: Please add the information to this error, which socket has the problem and which uid access is and what is expected. For instance, when the quota dict request fails, because of permission problems, you get a very detailed info about the

Re: [Dovecot] imap-login hanging when firewall blocks ssl handshaking

2012-11-26 Thread Timo Sirainen
Could you try with the attached patch, and with only the problematic client running? What does it log (the beginning of the session until it starts repeating the same lines)? On Sat, 2012-11-24 at 00:16 -0800, Erik A Johnson wrote: Thanks, Timo. Nope, still an infinite loop. Anything I can try

Re: [Dovecot] Default fallback behaviour

2012-11-26 Thread Nikita Koshikov
On Tue, Nov 27, 2012 at 3:04 AM, Timo Sirainen t...@iki.fi wrote: On 23.11.2012, at 9.46, Nikita Koshikov wrote: Hello list, Here is the problem: I have few: passdb { #1 } passdb { #2 } And relative userdb sections. If user not found in 1) section it fallbacks to next

Re: [Dovecot] Default fallback behaviour

2012-11-26 Thread Timo Sirainen
On 27.11.2012, at 9.37, Nikita Koshikov wrote: Here is the problem: I have few: passdb { #1 } passdb { #2 } And relative userdb sections. If user not found in 1) section it fallbacks to next one - it's expected and right, IMHO. But when the user exists in both section and password