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

Re: [Dovecot] Default fallback behaviour

2012-11-26 Thread Nikita Koshikov
On Tue, Nov 27, 2012 at 3:04 AM, Timo Sirainen 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 > fallback

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] 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 cu

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

[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 PO

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 workaroun

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

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 identic

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

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 >>> 0

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 f

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 f

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-ce

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"

Re: [Dovecot] fs_flush_file_handle_cache_dir: rmdir(/var/mail) AGAIN

2012-11-26 Thread Timo Sirainen
On 19.11.2012, at 16.02, Ken Mandelberg wrote: > We are running Dovecot 2.0.12. It runs on only one server and /var/mail is > local where all the INBOX's are stored. Users other IMAP folders are NFS > mounted on the server. > > We see frequent > > Error: nfs_flush_file_handle_cache_dir: rmdir(

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: http://hg.dovecot.org/dovecot-2.1

Re: [Dovecot] shared mailboxes and indexes

2012-11-26 Thread Sven Hartge
Timo Sirainen 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

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 wo

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] Folder layout after Cyrus to Dovecot migration

2012-11-26 Thread Timo Sirainen
On 23.11.2012, at 13.54, Keith Edmunds wrote: > Problem: We have some folders (eg, Trash) appearing both as sibling folders > to INBOX and as subfolders to INBOX. We want them only to appear at the > sibling level. You're breaking all the assumptions that IMAP clients can make about mailbox name

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 > bot

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

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 ba

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

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 bur

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 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 migra

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 s

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] 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 2012-1

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, Николай Клименко wrote: thx for answer i use 1.x I found the solution in main.cf c

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] 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] 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 smtpd_sender_rest

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

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. It's

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: http://hg.dovecot.org/dovecot-2.1/file/e95479f439aa/doc/example-config/c

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 2

[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] 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 exam

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 do

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

[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! -

[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 RCPT

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 address

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 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 addresses. A heartfel

[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 canonical

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 w

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 wrote: > Hello Joe, > > i use this: > main.cf > virtual_transport = dovecot > >

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] 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 t

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 namespa