Re: [Dovecot] backing up emails

2010-06-29 Thread Noel Butler
On Tue, 2010-06-29 at 22:28 +0800, Angelo Chen wrote: > Hi Noel, > > > I use exim4 and it delivers right into ~/.Maildir, so I assume /home contains > all the emails, right? why we need to back up /etc and /var/mail? Thanks, > No real experience with Exim, last time I looked at it was 10 y

Re: [Dovecot] system v. virtual mailboxes, was Re: Thunderbird problem

2010-06-29 Thread Phil Howard
On Tue, Jun 29, 2010 at 16:16, /dev/rob0 wrote: > On Tue, Jun 29, 2010 at 07:28:52AM -0400, Charles Marcus wrote: >> On 2010-06-28 9:05 PM, Stan Hoeppner wrote: >> > I guess this is different with virtual users than with system >> > users?  Are you using virtual or system users Charles? >> >> Virt

Re: [Dovecot] Thunderbird problem

2010-06-29 Thread Brent Bloxam
Stan Hoeppner wrote: Charles Marcus put forth on 6/27/2010 11:37 AM: I think what matters is that the number of connections that TB is expecting to be able to use be *less* than the max supported by the IMAP server. I do know that as soon as I changed the MAX number of connections per IP in Cou

[Dovecot] system v. virtual mailboxes, was Re: Thunderbird problem

2010-06-29 Thread /dev/rob0
On Tue, Jun 29, 2010 at 07:28:52AM -0400, Charles Marcus wrote: > On 2010-06-28 9:05 PM, Stan Hoeppner wrote: > > I guess this is different with virtual users than with system > > users? Are you using virtual or system users Charles? > > Virtual of course... doesn't everyone? ;) Virtual mailbox

Re: [Dovecot] Thunderbird problem

2010-06-29 Thread Stan Hoeppner
Charles Marcus put forth on 6/29/2010 6:28 AM: > On 2010-06-28 9:05 PM, Stan Hoeppner wrote: >> Charles Marcus put forth on 6/28/2010 4:19 PM: >>> On 2010-06-28 3:30 PM, Dave Brenner wrote: On 6/28/2010 11:58 AM, Charles Marcus wrote: > Hmmm.. care to share a good set of command-line switc

Re: [Dovecot] Expunge email Plugin

2010-06-29 Thread Timo Sirainen
On Tue, 2010-06-29 at 11:23 -0300, Alex Baule wrote: > There is some function like this mail_get_special, to get a header value ? > > like "get_header_value(mail,"HEADERFIELD", &value);" ?? lib-storage/mail-storage.h and http://wiki.dovecot.org/Design/Storage/Mail describe different ways of gett

[Dovecot] NFS(4) IMAP Quota

2010-06-29 Thread Martin Schanzenbach
Hi *, We use nfs4 in combination with dovecot. Also (hard)quotas are used on the exports. Using the dovecot quota fs plugin things did not work at all. There were a few issues we encountered: 1. Nfs4 is not recognized. The problem is that the mount type is only checked for "nfs" and not nfs4. Thi

Re: [Dovecot] Work with auth socket

2010-06-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Jun 2010, Неворотин Вадим wrote: my $base64 = encode_base64("\0$login\0$passwd"); $sock->send("AUTH\t1\tPLAIN\tservice=$service\tsecured\tresp=$base64\n") or die "Can't write to $socket"; There is a wicked side effect of encode_base64()

Re: [Dovecot] Thunderbird and shared mailboxes

2010-06-29 Thread Keith Edmunds
> > namespace: > > type: shared > > separator: / > > prefix: shared/%%u/ > > location: > > maildir:/home/imapmail/%%u/Maildir:INDEX=~/Maildir/shared/%%u list: > > children > > You should have subscriptions=no here. Other than that, it looks ok to > me. I actually do have "subscriptions=no

Re: [Dovecot] backing up emails

2010-06-29 Thread Angelo Chen
Hi Noel, I use exim4 and it delivers right into ~/.Maildir, so I assume /home contains all the emails, right? why we need to back up /etc and /var/mail? Thanks, Angelo > > >> auth default: >> passdb: >>driver: pam >> userdb: >>driver: passwd >> > > You're using system accounts

Re: [Dovecot] Error that I don't understand

2010-06-29 Thread Andre
On 29/giu/2010, at 15.57, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tue, 29 Jun 2010, Andre wrote: > >> IMAP(usern...@cubeholding.com): Error: read(mail, uid=58284) failed: Is a >> directory >> >> I’ve looked at sources and found this message in >> src/li

Re: [Dovecot] Expunge email Plugin

2010-06-29 Thread Alex Baule
Great... its work Now i need a header value too, i see in mail_log plugin, some functions to get headers value... but it's a enum with some know fields. There is some function like this mail_get_special, to get a header value ? like "get_header_value(mail,"HEADERFIELD", &value);" ?? 2010/6/2

Re: [Dovecot] Error that I don't understand

2010-06-29 Thread Andre
On 29/giu/2010, at 15.57, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tue, 29 Jun 2010, Andre wrote: > >> IMAP(usern...@cubeholding.com): Error: read(mail, uid=58284) failed: Is a >> directory >> >> I’ve looked at sources and found this message in >> src/li

Re: [Dovecot] Work with auth socket

2010-06-29 Thread Неворотин Вадим
Yes, but this module doesn't work with my dovecot)) So I've tried to manually debug it - and it really does not work and has an error somewhere. Dovecot 1.2.10 from Debian backports. 2010/6/29 Anton Dollmaier > Hi, > > > > I've wrote such script: >> > > use Authen::SASL::Authd, as suggested b

Re: [Dovecot] Use both SQL and LDAP

2010-06-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Jun 2010, Shayne Jellesma wrote: I am just wondering if it is possible to use both SQL and LDAP queries at the same time to get information. Example on why I want to do this: I work at a school where we have the need for 2 separate type

Re: [Dovecot] Work with auth socket

2010-06-29 Thread Anton Dollmaier
Hi, I've wrote such script: use Authen::SASL::Authd, as suggested by Steffen. This code-snippet should help you: http://search.cpan.org/~sasha/Authen-SASL-Authd-0.04/lib/Authen/SASL/Authd.pm #!/usr/bin/perl use Authen::SASL::Authd qw(auth_cyrus auth_dovecot); $login = "test"; $passwd

Re: [Dovecot] Error that I don't understand

2010-06-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Jun 2010, Andre wrote: IMAP(usern...@cubeholding.com): Error: read(mail, uid=58284) failed: Is a directory I’ve looked at sources and found this message in src/lib-storage/index/index-mail.c, function static int index_mail_stream_chec

[Dovecot] Work with auth socket

2010-06-29 Thread Неворотин Вадим
-- Forwarded message -- From: Неворотин Вадим Date: 2010/6/29 Subject: Re: [Dovecot] Work with auth socket To: Steffen Kaiser Hmm, I have some problems with realization of authentication throw dovecot socket. I've wrote such script: #!/usr/bin/perl $login = "test"; $passwd =

Re: [Dovecot] system_groups_user=%u seem not to be considered by deliver

2010-06-29 Thread Timo Sirainen
Yeah, it doesn't work. Fixed in v2.0 though.

[Dovecot] Use both SQL and LDAP

2010-06-29 Thread Shayne Jellesma
Hey guys, I am just wondering if it is possible to use both SQL and LDAP queries at the same time to get information. Example on why I want to do this: I work at a school where we have the need for 2 separate types of mailbox configuration (better wording is eluding me at the moment). Staf

[Dovecot] Error that I don't understand

2010-06-29 Thread Andre
I’ve noticed lines like this in error log: IMAP(usern...@cubeholding.com): Error: read(mail, uid=58284) failed: Is a directory I’ve looked at sources and found this message in src/lib-storage/index/index-mail.c, function static int index_mail_stream_check_failure(struct index_mail *mail) but I

Re: [Dovecot] %d/%n doesn't work... why?

2010-06-29 Thread Timo Sirainen
On Mon, 2010-06-21 at 10:32 -0400, William Ottley wrote: > > Where do I look to figure out why its not putting it into the %d/%n > location? > does it have to do with the fact that AUTH graps the username, and NOT the > domain name? (via mysql)? Maybe your problem is http://wiki.dovecot.org/Doma

Re: [Dovecot] help with global ACL

2010-06-29 Thread Timo Sirainen
On Tue, 2010-06-22 at 16:12 +0530, Piyush Joshi wrote: > Dear All, >I am willing to know can i restrict all my users to > delete some general folders like Drafts, Sent, SPAM, Trash etc. I am > using autocreate plugin to create these folders and using Maildir to > store my mails. ac

Re: [Dovecot] Expunge email Plugin

2010-06-29 Thread Timo Sirainen
On Sat, 2010-06-26 at 12:59 -0300, Alex Baule wrote: > I use the notify plugin as a base to my plugin. > > So, i need the filename from the expunged mail, to use to search my other > file to erase. > > What's the way to find the filename ? I thy to get by i_stream_get_name, but > i'm lost with th

Re: [Dovecot] Upgrade Too 1.2.11 Broke Everything

2010-06-29 Thread Charles Marcus
On 2010-06-29 6:11 AM, Marcel Grandemange wrote: > I have had dovecot working successfully for years now, however after a > system update , dovecot refused to start up complaing that im not using > absolute paths. What version were you upgrading from? -- Best regards, Charles

Re: [Dovecot] Thunderbird problem

2010-06-29 Thread Charles Marcus
On 2010-06-28 9:05 PM, Stan Hoeppner wrote: > Charles Marcus put forth on 6/28/2010 4:19 PM: >> On 2010-06-28 3:30 PM, Dave Brenner wrote: >>> On 6/28/2010 11:58 AM, Charles Marcus wrote: Hmmm.. care to share a good set of command-line switches for top that will let me see per user proces

Re: [Dovecot] Compile error sieve plugin for dovecot2

2010-06-29 Thread Christian Kivalo
Christian Kivalo wrote: Timo Sirainen wrote: On Sun, 2010-06-27 at 23:38 +0200, Christian Kivalo wrote: Hello, I'm trying to compile the sieve plugin for dovecot2 Dovecot2-beta6 is allready running and working. i did a hg clone http://hg.renamie-it.nl/dovecot-2.0-pigeonhole and ran the a

[Dovecot] Upgrade Too 1.2.11 Broke Everything

2010-06-29 Thread Marcel Grandemange
Good Day. I have had dovecot working successfully for years now, however after a system update , dovecot refused to start up complaing that im not using absolute paths. It took a bit of hacking to get it working again as can be seen by the sql query, however now imap doesn't work anymore because o

Re: [Dovecot] Compile error sieve plugin for dovecot2

2010-06-29 Thread Christian Kivalo
Timo Sirainen wrote: On Sun, 2010-06-27 at 23:38 +0200, Christian Kivalo wrote: Hello, I'm trying to compile the sieve plugin for dovecot2 Dovecot2-beta6 is allready running and working. i did a hg clone http://hg.renamie-it.nl/dovecot-2.0-pigeonhole and ran the autogen.sh script as mention

Re: [Dovecot] Dovecot-2.0 conf misc questions

2010-06-29 Thread Thomas Hummel
On Fri, Jun 25, 2010 at 09:06:53PM +0100, Timo Sirainen wrote: > > > This was caused by the old settings translator. What was in line 176? > > > > login_max_processes_count = 1024 > > That alone doesn't break it with my tests. Could you send me the entire > config file so I could get this fixed

Re: [Dovecot] pop passd for changing passwords in squirrelmail

2010-06-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Jun 2010, Rajesh M wrote: when i migrated from courier to dovecot my password change plugin in squirrelmail stopped working since courierpassd was being used in poppassd Hmm, http://www.arda.homeunix.net/store/ "courierpassd is a utili

Re: [Dovecot] Thunderbird problem

2010-06-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 28 Jun 2010, Charles Marcus wrote: With ps aux, I can see all connections, but they are all pretty much at zero with the exception of those where people are moving messages around and such... ps xua|perl -e 'while(<>) { @a=split(/\s+/, $