Re: [Dovecot] linking problems of dovecot 2.0.3

2010-09-20 Thread Funda Wang
plugins are build with LDFLAGS="-Wl,--as-needed", with --no-defined stripped out. This is done automatically by Mandriva's patch to libtool. But for shared libraries, if there are symbols defined in main program rather than library itself, that means libraries are only likely to work invoking the

Re: [Dovecot] Problem installing latest dovecot w vpopmail

2010-09-20 Thread Timo Sirainen
On 20.9.2010, at 18.47, Joe @ 3ZZZ wrote: > I'm now installing dovecot 1.2.14 on my new server for use with vpopmail - is > this inadvisable; should I seek an alternative to dovecot if I want to stay > with vpopmail? If your vpopmail data is in SQL, you should be able to continue using it with

Re: [Dovecot] Problem installing latest dovecot w vpopmail

2010-09-20 Thread Marcus Rueckert
On 2010-09-20 13:44:01 -0700, Joe @ Omniweb wrote: > I love everything I've seen about dovecot so far - is there a > particular frontend you'd suggest? i run with postfixadmin[1]+mysql+dovecot+postfix but it kinda depends how your vpopmail stuff is stored. darix [1] http://sourceforge.net/pro

Re: [Dovecot] Problem installing latest dovecot w vpopmail

2010-09-20 Thread Joe @ Omniweb
Quoting Stan Hoeppner : Joe @ 3ZZZ put forth on 9/20/2010 12:47 PM: I'm now installing dovecot 1.2.14 on my new server for use with vpopmail - is this inadvisable; should I seek an alternative to dovecot if I want to stay with vpopmail? Hike up your skirt, Grab another front end from the ga

Re: [Dovecot] Problem installing latest dovecot w vpopmail

2010-09-20 Thread Stan Hoeppner
Joe @ 3ZZZ put forth on 9/20/2010 12:47 PM: > I'm now installing dovecot 1.2.14 on my new server for use with vpopmail > - is this inadvisable; should I seek an alternative to dovecot if I want > to stay with vpopmail? Sure, switch (back?) to Courier, Cyrus, or UW-IMAP, assuming vpopmail works wi

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 19:32 +0200, Dieter Knopf wrote: > service auth { > unix_listener auth-master { You need to change auth-userdb, not auth-master > group = vmail > user = vmail > mode = 0600 > > } > } > > Seems like my config part is for the auth-master-sock only. > So i nee

Re: [Dovecot] Problem installing latest dovecot w vpopmail

2010-09-20 Thread Joe @ 3ZZZ
Quoting "Joe @ 3ZZZ" : Quoting Timo Sirainen : On Mon, 2010-09-20 at 08:47 -0700, Joe @ 3ZZZ wrote: configure: error: vpopmail support is broken. fix it or access its db another way. however, vpopmail seems to be working fine, i can add domains from vpopmail/bin/vadddomain and they show up

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Dieter Knopf
2010/9/20 Timo Sirainen : > And when you set those, does auth-userdb socket's owner/group change or > is it still root? Nope :( srw--- 1 rootroot 0 20. Sep 19:28 auth-client srw--- 1 dovecot root 0 20. Sep 19:28 auth-login srw--- 1 vmail vmail 0 20. Sep 19:28 auth-master srw---

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 18:26 +0200, Dieter Knopf wrote: > 2010/9/20 Timo Sirainen : > > No, it's trying to open it as the mail user, and above shows that it's > > vmail. So make the socket accessible to vmail: > > > > service auth { > > unix_listener auth-userdb { > >user = vmail > > } > > } >

Re: [Dovecot] dovecot-2.0.3 - can not upload message, over quota

2010-09-20 Thread LEVAI Daniel
On h, szept 20, 2010 at 17:19:50 +0100, Timo Sirainen wrote: > On Mon, 2010-09-20 at 18:07 +0200, LEVAI Daniel wrote: > > > auth: Debug: sql(daniell,ip): query: SELECT password, home AS > > userdb_home, uid AS userdb_uid, gid AS userdb_gid, username AS user, > > userdb_import FROM userdb WHERE aut

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Dieter Knopf
2010/9/20 Timo Sirainen : > No, it's trying to open it as the mail user, and above shows that it's > vmail. So make the socket accessible to vmail: > > service auth { >  unix_listener auth-userdb { >    user = vmail >  } > } Thanks for the tipp, i added this (again) and still have the error :( I t

Re: [Dovecot] dovecot-2.0.3 - can not upload message, over quota

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 18:07 +0200, LEVAI Daniel wrote: > auth: Debug: sql(daniell,ip): query: SELECT password, home AS > userdb_home, uid AS userdb_uid, gid AS userdb_gid, username AS user, > userdb_import FROM userdb WHERE auth_username = 'daniell' Oh, you're using userdb_import .. and using pr

Re: [Dovecot] Problem installing latest dovecot w vpopmail

2010-09-20 Thread Joe @ 3ZZZ
Quoting Timo Sirainen : On Mon, 2010-09-20 at 08:47 -0700, Joe @ 3ZZZ wrote: configure: error: vpopmail support is broken. fix it or access its db another way. however, vpopmail seems to be working fine, i can add domains from vpopmail/bin/vadddomain and they show up in the database just fine

Re: [Dovecot] dovecot-2.0.3 - can not upload message, over quota

2010-09-20 Thread LEVAI Daniel
On h, szept 20, 2010 at 15:44:46 +0100, Timo Sirainen wrote: > On Mon, 2010-09-20 at 16:24 +0200, LEVAI Daniel wrote: > > > Set mail_debug=yes and show what it logs when logging in? > > > > imap(username): Debug: Quota root: name=User quota backend=maildir args= > > imap(username): Debug: Quota ru

Re: [Dovecot] Problem installing latest dovecot w vpopmail

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 08:47 -0700, Joe @ 3ZZZ wrote: > > configure: error: vpopmail support is broken. fix it or access its db > another way. > > > however, vpopmail seems to be working fine, i can add domains from > vpopmail/bin/vadddomain and they show up in the database just fine. > So

[Dovecot] Problem installing latest dovecot w vpopmail

2010-09-20 Thread Joe @ 3ZZZ
Hello - I am trying to migrate my dovecot installation from an older server running version 1.x to the latest 2.0.3 When I run configure --with-vpopmail, it bombs pretty quick as follows: ./configure --with-vpopmail checking for a BSD-compatible install... /usr/bin/install -c checking whethe

Re: [Dovecot] v2.0.3 released

2010-09-20 Thread Timo Sirainen
On Sat, 2010-09-18 at 21:57 +0200, Patrick Ben Koetter wrote: > > The > add some special code just for these SSL settings, which feels annoyingly > > ugly. > > From a programmers view of point certainly, but it's something > students and > even myself run in all the time setting up Dovecot. Th

Re: [Dovecot] linking problems of dovecot 2.0.3

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 16:10 +0100, Timo Sirainen wrote: > Also besides these, linking plugins will fail with those LDFLAGS. I'm > not sure about that .. seems wrong to have plugins also link to > libraries that the parent binary is required to be linking to anyway.. Oh, and even by linking all of

Re: [Dovecot] linking problems of dovecot 2.0.3

2010-09-20 Thread Timo Sirainen
On Sun, 2010-09-19 at 14:04 +0800, Funda Wang wrote: > I'm currently packaging dovecot 2.0.3 under Mandriva Linux. It has > been using LDFLAGS="-Wl,--as-needed -Wl,--no-undefined" for shared > libraries for over two years[1]. And I've found there are lots of > linking problems with dovecot 2.0.3.

Re: [Dovecot] dovecot-2.0.3 - can not upload message, over quota

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 16:24 +0200, LEVAI Daniel wrote: > > Set mail_debug=yes and show what it logs when logging in? > > imap(username): Debug: Quota root: name=User quota backend=maildir args= > imap(username): Debug: Quota rule: root=User quota mailbox=* bytes=104857600 > messages=0 > imap(user

Re: [Dovecot] replace istream and unref the old one...

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 10:58 -0300, Alex Baule wrote: > //first input, using the input > full_input[0] = i_stream_create_header_filter(input, > HEADER_FILTER_EXCLUDE | HEADER_FILTER_NO_CR, exclude_headers, 1, > filter_callback, imail); > // second input from another file. > full_input[1] = i_stream_

Re: [Dovecot] dovecot-2.0.3 - can not upload message, over quota

2010-09-20 Thread LEVAI Daniel
On Mon, Sep 20, 2010 at 14:57:06 +0100, Timo Sirainen wrote: > On Sun, 2010-09-19 at 18:43 +0200, LEVAI Daniel wrote: > > > Every time I try to upload a message to the server (eg. to a 'Sent' > > folder, while sending a message), it fails with an error saying I'm over > > my quota. > > > > Now th

Re: [Dovecot] Dovecot LDA, virtual users, multiple uids: No luck

2010-09-20 Thread Timo Sirainen
On Sat, 2010-09-18 at 19:59 +0200, Toni Mueller wrote: > I'm trying to get Dovecot's deliver to create and use mailboxen with > one uid per user. Reading the wiki, I decided to go with the sudo > attempt, but I'm stuck because deliver fails to create the > intermediate directories. Yeah, that's n

Re: [Dovecot] 2.0.2 : crashes with LDA

2010-09-20 Thread Timo Sirainen
On Sun, 2010-09-19 at 11:54 +0200, Jakob Curdes wrote: > > Strange, because it is doveconf that is crashing. You mean doveconf -c > > /etc/dovecot2.conf doesn't crash? > No, it parses the config without errrors as far as I can see (below). Can you run it via valgrind? (Just install valgrind and r

Re: [Dovecot] Dovecot 2.0.3

2010-09-20 Thread Timo Sirainen
On Sun, 2010-09-19 at 20:07 +0200, Matthias Quernheim wrote: > I upgraded today to from 1.2.12 to Dovecot 2.0.3 with the dbox format. I > just figured out there are still mail in some users directories with the > maildir format. These mail are not displayed at all. Nether with > roundcube nor wi

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread LEVAI Daniel
On Mon, Sep 20, 2010 at 14:59:20 +0100, Timo Sirainen wrote: > On Mon, 2010-09-20 at 08:55 +0200, LEVAI Daniel wrote: > > > 2010-09-20 06:28:04 lda: Error: userdb lookup: > > > connect(/var/run/dovecot/auth-userdb) failed: Permission denied > > > (euid=5000(vmail) egid=5000(vmail) missing +r perm:

Re: [Dovecot] send HUP when rotating log?

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 11:09 +0200, LEVAI Daniel wrote: > Is it necessary for Dovecot2 to send it a SIGHUP when I rotate its log > files? > I'm asking because then I must turn off the 'shutdown_clients' option, > because then every user gets disconnected while rotating the logs. You can rotate log

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 08:55 +0200, LEVAI Daniel wrote: > > 2010-09-20 06:28:04 lda: Error: userdb lookup: > > connect(/var/run/dovecot/auth-userdb) failed: Permission denied > > (euid=5000(vmail) egid=5000(vmail) missing +r perm: > > /var/run/dovecot/auth-userdb, euid is not dir owner) > > Dovecot

[Dovecot] replace istream and unref the old one...

2010-09-20 Thread Alex Baule
I Build a plugin, that do some stuffs with a email. To get the input istream, i use the "get_stream" function, like zlib does. I create a concat_stream, with the full_input[3]; struct istream *full_input[3]; //this like zlib input = imail->data.stream; //first input, using the input full_input

Re: [Dovecot] dovecot-2.0.3 - can not upload message, over quota

2010-09-20 Thread Timo Sirainen
On Sun, 2010-09-19 at 18:43 +0200, LEVAI Daniel wrote: > Every time I try to upload a message to the server (eg. to a 'Sent' > folder, while sending a message), it fails with an error saying I'm over > my quota. > > Now this is not true, because dovecot-lda can save message to any of my > folders

Re: [Dovecot] kmail-error: can't upload folder (imap-account on dovecot-server)

2010-09-20 Thread Charles Marcus
On 2010-09-20 7:26 AM, cool.chri...@web.de wrote: > dovecot-imap-server on debian etch (dovecot 1.0.rc15-2etch5). > The reason for using debian etch and dovecot 1.0 is the hardware: This is not even 1.0+, this is 1.0rc15, which was notoriously buggy... *Not* upgrading should really not be an

Re: [Dovecot] dovecot-2.0.3 - can not upload message, over quota

2010-09-20 Thread LEVAI Daniel
On Sun, Sep 19, 2010 at 18:43:25 +0200, LEVAI Daniel wrote: > Hi! > > I've upgraded to 2.0.3 from 1.2, and it is so far so good. I especially > like the new doveadm tool. > I have only one tiny problem: > > Every time I try to upload a message to the server (eg. to a 'Sent' > folder, while sendin

Re: [Dovecot] kmail-error: can't upload folder (imap-account on dovecot-server)

2010-09-20 Thread William Blunn
On 20/09/2010 12:26, cool.chri...@web.de wrote: Everytime I try to create a folder under my imap-inbox, I get an error like "can't upload folder...", but after this message I can see a new folder under my inbox-folder, but I can't use it ... With a thundermail-client I can create a subfolder wit

Re: [Dovecot] kmail-error: can't upload folder (imap-account on dovecot-server)

2010-09-20 Thread Ron Leach
cool.chri...@web.de wrote: The reason for using debian etch and dovecot 1.0 is the hardware: it's running on a Fritzbox-Router, and there is actual a littlebit trouble with lenny (often crashing, reboots of the whole box etc.) Though I don't anticipate this will solve your prime issue, we we

[Dovecot] kmail-error: can't upload folder (imap-account on dovecot-server)

2010-09-20 Thread cool . chris65
Hello, I've some trouble with my kmail (Version 1.13.5 / KDE 4.5.1, Kubuntu 10.04 and a dovecot-imap-server on debian etch (dovecot 1.0.rc15-2etch5). Everytime I try to create a folder under my imap-inbox, I get an error like "can't upload folder...", but after this message I can see a new fold

[Dovecot] send HUP when rotating log?

2010-09-20 Thread LEVAI Daniel
Hi! Is it necessary for Dovecot2 to send it a SIGHUP when I rotate its log files? I'm asking because then I must turn off the 'shutdown_clients' option, because then every user gets disconnected while rotating the logs. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Dieter Knopf
2010/9/20 LEVAI Daniel : > Dovecot tries to open that file with the "default_internal_user" user, > which is configurable in dovecot.conf. See > # doveconf -h default_internal_user > what is the current user for you. Default user is dovecot like it was with 1.2, but there is a new user dovenull #