[Dbmail] running as non-root?

2004-10-21 Thread Mikhail Ramendik
E_USER and EFFECTIVE_GROUP settings in /etc/dbmail.conf , yet the process is still shown in top as "root". And if I try to start it from a non-root prompt, it simply does not start. How do I set it to non-root? Yours, Mikhail Ramendik

[Dbmail] sysV init script ?

2004-10-21 Thread Mikhail Ramendik
Hello, Is a SysV script for DbMail available somewhere? I understand it's trivial to write, but I would not want to repeat somebody else's work :) Yours, Mikhail Ramendik

[Dbmail] Strange problem with mailbox2dbmail

2004-10-21 Thread Mikhail Ramendik
gled because it contained locale characters) ../mailbox2dbmail -b zVariousAudio -m somepath/mbox -u local -t mbox -p /usr/local/sbin/dbmail-smtp Yours, Mikhail Ramendik

[Dbmail] Update: Strange problem with mailbox2dbmail

2004-10-21 Thread Mikhail Ramendik
x27;drop in the mail reader? Yours, Mikhail Ramendik

[Dbmail] Sorry: Strange problem with mailbox2dbmail

2004-10-21 Thread Mikhail Ramendik
L queries to check mail presence from the mysql console, so that I could double-check such glitches? Yours, Mikhail Ramendik

Re: [Dbmail] Strange problem with mailbox2dbmail

2004-10-21 Thread Mikhail Ramendik
e the script to be non-recursive. Yours, Mikhail Ramendik

[Dbmail] sylpheed[-claws] and IMAP?

2004-10-22 Thread Mikhail Ramendik
the very same server. It's on a non-standard port (1043). Perhaps this is the reason?.. Yours, Mikhail Ramendik

Re: [Dbmail] running as non-root?

2004-10-22 Thread Mikhail Ramendik
gging in /var/log/maillog, which is olnly accessible to root. Perhaps I can somehow tell it to use another log file? Anyway, can the failure to start be explained by no access to the log file? And: if you run it as non-root, how do you bind it to port 143? Or do you also use a non-standard port? Yours, Mikhail Ramendik

Re: [Dbmail] Strange problem with mailbox2dbmail

2004-10-22 Thread Mikhail Ramendik
Dan Weber wrote: > http://mirrorlynx.com/~dan/mailbox2dbmail-2.0.tar.bz2 > > Updated mailbox2dbmail to fix this. Does not load :( Yours, Mikhail Ramendik

[Dbmail] sylpheed-claws 0.9.12b and dbmail 2.0 : IMAP misunderstanding

2004-10-22 Thread Mikhail Ramendik
son, as Evolution reads these folders all right. But I could not find a log file for Evolution (apparently it does not have one). Can anyone decipher what goes wrong? A cool mail program and a cool IMAP server should work together, after all :) Yours, Mikhail Ramendik

[Dbmail] dbmail-smtp slow

2004-10-22 Thread Mikhail Ramendik
ected slow Python handling of mbox at first. So, I have hacked the script so it only processes the mbox without calling dbmail - and then it was VERY fast. So, it seems that dbmail-smtp is actually quite slow. Why could that be? Perhaps I should change some mysql settings? Yours, Mikhail Ramendik

Re: [Dbmail] running as non-root?

2004-10-23 Thread Mikhail Ramendik
l write about them to the dev list now. Yours, Mikhail Ramendik

Re: [Dbmail] dbmail-smtp slow

2004-10-23 Thread Mikhail Ramendik
rions (i.e. mailbox imports), and then enable them again. This setting could be made separate for the three programs (imapd, lmtpd, smtp). Then, if one uses LMTP for MTA usage, one could keep quotas disabled for dbmail-smtp, and get quick imports with no config change. Yours, Mikhail Ramendik

Re: [Dbmail] 2.0 dbmail-imap slownesss vs 1.X

2004-10-24 Thread Mikhail Ramendik
000 item inbox: Could you please try the attached patch and see if it fixes your problem? Yours, Mikhail Ramendik --- mysql/dbmysql.c.orig 2004-06-03 16:41:55.0 +0400 +++ mysql/dbmysql.c 2004-10-23 16:10:31.0 +0400 @@ -1,6 +1,8 @@ /* Copyright (C) 1999-2004 IC & S [EMAIL PR

Re: [Dbmail] sylpheed[-claws] and IMAP?

2004-10-25 Thread Mikhail Ramendik
the 2.0 debian packages which has a higher priority atm. I think I have it tracked down too; I'll try to make a fix within some hours - it seems quite simple but I'll need to double check. Yours, Mikhail Ramendik

[Dbmail] _ic_fetch() slow because of syslog (!!!) We need a log of our own

2004-10-26 Thread Mikhail Ramendik
ement it as I am not familiar enough with the C library, and with the code (to understand where the file should be opened and closed), and with working with files from forked processes. This is a MAJOR speed issue. I think it's a blocker for 2.0.1. Yours, Mikhail Ramendik

Re: [Dbmail] IMAPD consumes massive cputime and mysql-ressources

2004-10-27 Thread Mikhail Ramendik
I wish I could ask you to get the logs for this, so that I could know what causes this. (It was reported before). However, detailed logging slows the system down about 10 times, and this is not yet resolved. Yours, Mikhail Ramendik --- mysql/dbmysql.c.orig 2004-06-03 16:41:55.0 +0400 +++

[Dbmail] Async logging has fixed performance issues

2004-10-27 Thread Mikhail Ramendik
to write a README.logging for 2.0.1 and further releases. And I agree that we should sort out the log levels in the code; I could write a sensible description of what should be on each level, but I'll need to look into the code to make it as close as possible to the present situation. Yours, Mikhai

Re: [Dbmail] IMAPD consumes massive cputime and mysql-ressources

2004-10-27 Thread Mikhail Ramendik
ge are normal for dbmail. I have made a patch that reduces this to one query per message, but it is as yet untested (except on my local storage); you can use it for testing (and I'd be thankful if you did), but DON'T instal on production systems yet. It is attached to this message. Yours,

[Dbmail] sig11 in search - trying to track

2004-10-31 Thread Mikhail Ramendik
Hello, An IMAP search in one, ond only one, folder always fails - with a "got signal 11" in the log. This seems to mean a segfault during some processing. I am trying to track it down now. Apparently I doo need to try and fix one more bug... Yours, Mikhail Ramendik

[Dbmail] Hold back dbmysql.patch

2004-10-31 Thread Mikhail Ramendik
2.0.1 until I can get this tracked. Yours, Mikhail Ramendik

[Dbmail] Bug in dbmysql.patch fixed

2004-10-31 Thread Mikhail Ramendik
Hello, The new version is attached; I have also updated my website. All who have applied this patch are strongly encouraged to roll it back and put on the new version - or just to add res_changed=1; in the very beginning of db_get_length() . Yours, Mikhail Ramendik --- dbmail-orig/mysql