Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Timo Sirainen
On 31.12.2010, at 6.55, Seasoul wrote: > auth_debug = yes > auth_verbose = yes .. > When I try to login to dovecot via telnet, here's what the log records: >

Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Seasoul
Hi, Now running Dovecot 2.0.8 and still having the same issue: Postfix sends emails to /var/mail/vmail/username (username is u...@domain.com) but Dovecot looks for email in /var/mail/vmail/user How to alignt he two ? Dovecot -n gives: -

[Dovecot] user x...@mydomain.com doesn't exist

2010-12-30 Thread G.Nau
new setup of Dovecot 2.0.8 with postfix local users are simply defined as Linux users named xxx, yyy et cetera; IMAP access is fine with that users. Postfix is delivering mails with two domains (to x...@mydomain.com or x...@mydomain.org) and these are rejected by dovecot with 550: user doesn't exis

Re: [Dovecot] Can doveadm rebuild thread indexes?

2010-12-30 Thread Timo Sirainen
On 30.12.2010, at 23.45, David Warden wrote: > I'm already using "doveadm search" to update my squat fts indexes > (dovecot.index.search and dovecot.index.search.uids) but I'd like to > also update dovecot's thread index file (dovecot.index.thread) using > doveadm. I checked the new wiki and the a

[Dovecot] Can doveadm rebuild thread indexes?

2010-12-30 Thread David Warden
I'm already using "doveadm search" to update my squat fts indexes (dovecot.index.search and dovecot.index.search.uids) but I'd like to also update dovecot's thread index file (dovecot.index.thread) using doveadm. I checked the new wiki and the archives but didn't see any option for this. (I'm run

Re: [Dovecot] LDAP binds

2010-12-30 Thread Trever L. Adams
On 12/30/2010 02:55 AM, Timo Sirainen wrote: > > So you're only talking about using ldap for userdb? Can't you just set > dn and dnpass to whatever user (that has access to list all users)? > Correct, ldap only for userdb. I found some old documentation that used "bind" and "bind_pw" I think it was

[Dovecot] doveadm search

2010-12-30 Thread dovecot
I would like to have soem information added to this page: http://wiki2.dovecot.org/Tools/Doveadm/Fetch Under 'Arguments'/fields is mentioned that 'hdr' could be used. But i wanted doveadm to just return the header of my message I found out, by simply trying, that next statement works: $ dovead

Re: [Dovecot] sdbox to mdbox

2010-12-30 Thread Joan Moreau
Actually, the directory created by dsync contains correctly all the folders of the original IMAP account. but they are empty ! (just one file "dovecot.index.log" ) What do I do wrong ? Thanks again On Fri, 24 Dec 2010 17:57:35 -0600, Stan Hoeppner wrote: > Joan Moreau put forth on 12/24

Re: [Dovecot] dovecot-keywords problem with MDN

2010-12-30 Thread Timo Sirainen
On 30.12.2010, at 17.33, Mauro D. wrote: >> Did it used to work previously? What changed? > > I have copied mails from outlook express. When I load a mail with disposition > confirmation I have the request to confirm.. I choose to ignore. > > I move mail in another folder and client ask me agai

Re: [Dovecot] namespaces and noselect

2010-12-30 Thread Kyle Wheeler
On Thursday, December 30 at 12:33 PM, quoth Timo Sirainen: On Sun, 2010-12-26 at 14:40 -0600, Kyle Wheeler wrote: I am trying to use two namespaces to create an "archival" directory that is stored as mboxes (the rest of my tree is all stored as maildirs). However, when I add the second namespac

Re: [Dovecot] dovecot-keywords problem with MDN

2010-12-30 Thread Mauro D.
Il 30/12/2010 12.50, Timo Sirainen ha scritto: On Wed, 2010-12-22 at 11:06 +0100, Mauro D. wrote: I take a look into dovecot-keywords file and I see that: 1) I have only one row 0 NonJunk 2) dovecot-keywords file is not present inside every directory. How I can restore normal status? W

Re: [Dovecot] Error: User doesn't have home dir set, disabling duplicate database

2010-12-30 Thread fila
> > No. The problem is that plugin { home } no longer works. Use mail_home > instead. > Thank you Timo. Setting mail_home solves my problem. I have added to the wiki ( http://wiki2.dovecot.org/VirtualUsers/Home ) an example. It was very difficult to find something about mail_home .

Re: [Dovecot] IMAP messages not being marked read

2010-12-30 Thread void372
> On Sun, 2010-12-26 at 17:38 -0500, void...@transientvoid.com wrote: > > I have maildir folders to which mail is delivered using procmail recipes > > directly to the appropriate dovecot folder. In these folders, I notice > > that the "cur" directory has a matching number of messages that do not >

Re: [Dovecot] Doveadm search in public namespaces

2010-12-30 Thread Thomas Leuxner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 30.12.2010 um 14:07 schrieb Timo Sirainen: > The mailbox GUID isn't generated until it's requested for the first > time. Only dsync and doveadm request it. It gets rewritten on every search in my setup. As I did searches before it should have a G

Re: [Dovecot] Doveadm search in public namespaces

2010-12-30 Thread Timo Sirainen
On Thu, 2010-12-30 at 13:56 +0100, Thomas Leuxner wrote: > > It's because there is no easy way to access mailbox GUIDs, so it has to > > open each mailbox and get its GUID. > > Right. I wanted to use the GUIDs because they are spit out on searches. Guess > will have to use names then if faster.

Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Timo Sirainen
On Thu, 2010-12-30 at 20:53 +0800, Seasoul wrote: > Do you mean the dovecot-auth errors ? I mean if you have auth_debug=yes enabled, and assuming you also use sql (it wasn't clear if you're using pam, sql or both since you had both enabled in dovecot.conf), you should see messages such as: Dec 30

Re: [Dovecot] Doveadm search in public namespaces

2010-12-30 Thread Thomas Leuxner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 30.12.2010 um 13:43 schrieb Timo Sirainen: >> It takes considerably longer when using 'mailbox-guid' compared to mailbox >> name, wonder why that is… > > It's because there is no easy way to access mailbox GUIDs, so it has to > open each mailbox

[Dovecot] Renaming IMAP folders does not affect children

2010-12-30 Thread Johannes Simon
Hi, we're using dovecot2.0 since August and very happy with it. Just recently Thunderbird users reported problems when renaming folders, and it seems that RFC 2060 (sec. 6.3.5) requires children of a renamed folder to be renamed, too. This however does not happen: Talking IMAP I get: * LIST

Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Seasoul
Do you mean the dovecot-auth errors ? the only one I have in the auth log is: dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=user1 rhost=127.0.0.1 user=user1 That was when i typed my password wrongly. Aside from that and a bunch of random atta

Re: [Dovecot] Doveadm search in public namespaces

2010-12-30 Thread Timo Sirainen
On Thu, 2010-12-30 at 13:25 +0100, Thomas Leuxner wrote: > Did some tests with the fix, not sure it works correct/as expected: > > $ time doveadm fetch -u u...@domain.tld hdr mailbox > Public/Mailing-Lists/Dovecot uid 1039 > real0m0.053s > > $ time doveadm fetch -u u...@domain.tld hdr mailbo

[Dovecot] Dovecot consulting companies

2010-12-30 Thread Timo Sirainen
Once in a while someone asks about companies who could help installing / running / etc. their mail server. I don't really know many, so I thought I'd add a wiki page about it. Feel free to add your company on the list if you offer some Dovecot related services. Write also a few words what type of s

Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Timo Sirainen
On Thu, 2010-12-30 at 20:14 +0800, Seasoul wrote: > When I try to get pop access via telnet, this is what the log records: > > dovecot: pop3-login: Login: user=, method=PLAIN, rip=127.0.0.1, > lip=127.0.0.1, secured The auth_debug logs are missing above. They're the most important ones in figuri

Re: [Dovecot] Reverting from 2.0. to 1.2

2010-12-30 Thread Charles Marcus
On 2010-12-30 6:19 AM, Timo Sirainen wrote: > On Thu, 2010-12-23 at 16:32 +0100, Thomas Hummel wrote: >> Also, if we change the separator, do we have to change it on the subscription >> file ? Could it be the source of my problem ? > No. TB just seems to break down if separator is changed. Recreat

Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Seasoul
Thanks Charles for the advice, it "came" with Webmin like that so didn't try to change it. But you're right, maybe installing a more recent version will help.. On Thu, Dec 30, 2010 at 8:21 PM, Charles Marcus wrote: > On 2010-12-29 9:40 PM, Seasoul wrote: > > Hi, > > I am running Dovecot Version 1

Re: [Dovecot] Doveadm search in public namespaces

2010-12-30 Thread Thomas Leuxner
Am 30.12.2010 um 11:41 schrieb Timo Sirainen: > On Sun, 2010-12-26 at 14:58 +0100, Thomas Leuxner wrote: > >> Say I want to create a script to perform some 'doveadm' tasks. Is there any >> particular reason why "mailbox-guids" would not work for public namespaces? > > Fixed: http://hg.dovecot.

Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Charles Marcus
On 2010-12-29 9:40 PM, Seasoul wrote: > Hi, > I am running Dovecot Version 1.0.15on a Debian server, with postfix and > postfixadmin. The very first thinmg you should do is upgrade... 1.0.15 is very old... I'm sure there are other issues involved, but you will get much more meaningful help if you

Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Seasoul
Hi, When I try to get pop access via telnet, this is what the log records: dovecot: pop3-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: POP3(user1): Effective uid=***, gid=*** dovecot: POP3(user1): maildir: data=/var/mail/vmail//user1 dovecot: POP3(user1): maild

Re: [Dovecot] Fetch without setting flags

2010-12-30 Thread Timo Sirainen
On Tue, 2010-12-21 at 15:56 +0330, Behrooz Afghahi wrote: > Hello, > > I'm customizing squirrelmail and I want to print a line from the message > in front of the subject in mailbox listing (like gmail). > the problem is, when I use 'FETCH {SOME_ID} BODY[]' the message gets > marked as seen. How ca

Re: [Dovecot] How incoming emails are routed to public shared mailboxes ?

2010-12-30 Thread Timo Sirainen
On Tue, 2010-12-21 at 15:29 +0100, Frank Bonnet wrote: > Hello > > I'm setting up few public shared maiboxes ( maildir format ) > but I'm wondering how are they routed into the right ? However you want. If you're using dovecot-lda you could deliver it as some user who has write access to them and

Re: [Dovecot] doveadm "-S " option enabled in 2.0.8?

2010-12-30 Thread Timo Sirainen
On Tue, 2010-12-21 at 14:55 -0500, David Warden wrote: > But when I try to get my quota on a different local IP using the -S flag to > doveadm: > > doveadm quota get -u warden -S 137.238.2.244:143 The purpose of -S is completely different. It's about connecting to another doveadm instance. Ther

Re: [Dovecot] dovecot-keywords problem with MDN

2010-12-30 Thread Timo Sirainen
On Wed, 2010-12-22 at 11:06 +0100, Mauro D. wrote: > Hi all, > I have Dovecot 1.2.13 installed. > My clients ask why Disposition-Notification is requested every time the > mail is moved on a new IMAP folder... Well, I know there is a $MDNSent keyword defined by RFC 3503, but I have no idea how (a

Re: [Dovecot] Shared Folders via Symlinking

2010-12-30 Thread Timo Sirainen
On Wed, 2010-12-22 at 11:02 +, Adrian Mardlin wrote: > I've managed to fix this initial problem by using INDEX=MEMORY. However, > there's another side-effect. When deleting a symlinked folder, it leaves > behind a file called ..DOVECOT-TRASHED, which is still symlinked. This then > prevents

Re: [Dovecot] over quota issue

2010-12-30 Thread Timo Sirainen
On Tue, 2010-12-21 at 16:40 -0500, PA wrote: > I have a situation where if a user is over quota and sending through postfix > I get an error, now this error only happens if the user is over quota, > otherwise it works with no problem. However if sending using > /usr/local/libexec/dovecot/dovecot-ld

Re: [Dovecot] Reverting from 2.0. to 1.2

2010-12-30 Thread Timo Sirainen
On Thu, 2010-12-23 at 16:32 +0100, Thomas Hummel wrote: > Also, if we change the separator, do we have to change it on the subscription > file ? Could it be the source of my problem ? No. TB just seems to break down if separator is changed. Recreating the account should be an easy solution. si

Re: [Dovecot] Dovecot 1.2.12+Postfix+Active Directory: virtual domain name dropped.

2010-12-30 Thread Timo Sirainen
On Thu, 2010-12-23 at 16:53 -0700, Ran Talbott wrote: > I have the active directory query set as: > user_filter = (&(objectClass=user)(samaccountname=%n)) > user_attrs = =home=/var/mailstore/%d/%n. =uid=501, =gid=501, \ > =mail=maildir:/var/mailstore/%d/%n/Maildir/ Would be nicer

Re: [Dovecot] 'Doveadm user' could use better error codes

2010-12-30 Thread Thomas Leuxner
Am 30.12.2010 um 10:53 schrieb Timo Sirainen: > On Tue, 2010-12-28 at 14:39 +0100, Thomas Leuxner wrote: >> $ doveadm user foo >> userdb lookup: user foo doesn't exist >> $ echo $? >> 0 > > How about: http://hg.dovecot.org/dovecot-2.0/rev/c9b3716e56f7 Looking good. Thanks. PGP.sig Description

Re: [Dovecot] Dovecot 1.2.12 + Postfix + virtual domains: delivering to system users

2010-12-30 Thread Timo Sirainen
On Sat, 2010-12-25 at 20:49 -0700, Ran Talbott wrote: > As mentioned in my previous posting, I've set up a mailserver for a domain of > Winboxen, authenticated through Active Directory. After some struggles, I > finally got that working. But I also need to receive emails for a few system > u

Re: [Dovecot] doveadm quota get -u segmentation fault

2010-12-30 Thread Timo Sirainen
On Fri, 2010-12-24 at 14:16 +0300, subscri...@viliar.net.ru wrote: > I get segfault error with "doveadm quota get -u user" Fixed the crash by having it give error message instead: http://hg.dovecot.org/dovecot-2.0/rev/a293626e09e2 Then fix your config: > plugin { quota = maildir > autocrea

Re: [Dovecot] Doveadm search in public namespaces

2010-12-30 Thread Timo Sirainen
On Sun, 2010-12-26 at 14:58 +0100, Thomas Leuxner wrote: > Say I want to create a script to perform some 'doveadm' tasks. Is there any > particular reason why "mailbox-guids" would not work for public namespaces? Fixed: http://hg.dovecot.org/dovecot-2.0/rev/15c32384817b signature.asc Descrip

Re: [Dovecot] namespaces and noselect

2010-12-30 Thread Timo Sirainen
On Sun, 2010-12-26 at 14:40 -0600, Kyle Wheeler wrote: > I am trying to use two namespaces to create an "archival" directory > that is stored as mboxes (the rest of my tree is all stored as > maildirs). However, when I add the second namespace, suddenly Dovecot > starts emitting, in response to

Re: [Dovecot] Dovecot Quota plugin as Couier quota

2010-12-30 Thread Timo Sirainen
On Mon, 2010-12-27 at 12:08 +0100, Antonio Perez-Aranda wrote: > I get a similar behavior between dovecot quota plugin and courier > quota with the attached patch. > > When the client change flags, then is forced to recalc. This is > because I don't know how to get the changed flags on quota sync

Re: [Dovecot] Is this really a user agent issue?

2010-12-30 Thread Timo Sirainen
On Thu, 2010-12-23 at 15:08 -0700, Willie Gillespie wrote: > The IMAP protocol has no way to "push" to the MUA that a folder > (mailbox) has been freshly created. It has actually. NOTIFY extension makes it explicit, but it's possible to do that even in standard protocol. It's just that no server

Re: [Dovecot] Dovecot - AllowGroups option

2010-12-30 Thread Timo Sirainen
On Tue, 2010-12-28 at 00:15 +0100, Jacob Neergaard Pedersen wrote: > I'm trying to control access to different services on an Debian server using > /etc/group. So that a user I create for FTP usage doesn't fill up my server > with IMAP folders or samba garbage. Assuming you use passdb pam, I thi

Re: [Dovecot] vpopmail disabled services fix

2010-12-30 Thread Timo Sirainen
On Mon, 2010-12-27 at 15:04 -0800, Calvin wrote: > I noticed that disabling services using vpopmail was not being recognized by > dovecot. Using "vmoduser -swip u...@domain.com" should disable all services, > but both pop and imap logins were still allowed. After a bit of digging in > the code

Re: [Dovecot] IMAP messages not being marked read

2010-12-30 Thread Timo Sirainen
On Sun, 2010-12-26 at 17:38 -0500, void...@transientvoid.com wrote: > I have maildir folders to which mail is delivered using procmail recipes > directly to the appropriate dovecot folder. In these folders, I notice that > the "cur" directory has a matching number of messages that do not have an

Re: [Dovecot] Error: User doesn't have home dir set, disabling duplicate database

2010-12-30 Thread Timo Sirainen
On Wed, 2010-12-29 at 09:42 +0100, f...@pruda.com wrote: > I have googled little bit. According to this article > http://wiki2.dovecot.org/VirtualUsers/Home Yes. > I think the problem is: > mail_location = maildir:/home/vmail/%u and plugin { home = /home/vmail/%u } > is the same directory. > I

Re: [Dovecot] LDAP binds

2010-12-30 Thread Timo Sirainen
On Tue, 2010-12-28 at 10:32 -0700, Trever L. Adams wrote: > I am using 2.0.8. Anonymous binds are no longer supported in the > environment I am using. I need to change my userdb ldap setup to bind. I > believe the ldap server does Kerberos (or can) authentication. My users > are authenticating usin

Re: [Dovecot] 'Doveadm user' could use better error codes

2010-12-30 Thread Timo Sirainen
On Tue, 2010-12-28 at 14:39 +0100, Thomas Leuxner wrote: > $ doveadm user foo > userdb lookup: user foo doesn't exist > $ echo $? > 0 How about: http://hg.dovecot.org/dovecot-2.0/rev/c9b3716e56f7 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Telnet access creates new maildir folders

2010-12-30 Thread Timo Sirainen
On Thu, 2010-12-30 at 12:20 +0800, Seasoul wrote: > Hi, > > I'm a bit confused now, I though Dovecot was the MDA ? Only if you've configured it that way: http://wiki.dovecot.org/LDA > >> mail_location: maildir:/var/mail/vmail/%d/%u So Dovecot should see the domain.. Set mail_debug=yes to see wh