RE: [Dbmail] Large Sites

2004-12-18 Thread Mark Mackay - Orcon
Hi Paul - We're running a reasonably large site on MySQL. Approx 400GB of mail storage, with 100k users. Currently Dbmail 1.x; although likely to move to 2.0 when I get back from holiday. Won't say it hasn't been without its challenges. We've tried both MyISAM and Innodb tables and due to

RE: [Dbmail] Mirroring DBMail

2004-11-29 Thread Mark Mackay - Orcon
So, instead of 2 DBMail boxes, I will have one Cyrus box (which the users will connect to), and a DBMail box which will only be used for statistical analysis and archive purposes. DBMail is perfectly suited for that purpose; it saves me a lot of coding. Unless you've got a particular need to

RE: [Dbmail-dev] MySQL 4.1 and dbmail 1.3

2004-11-21 Thread Mark Mackay - Orcon
MySQL 4.1 will only be supported starting in DBMail 2.0.1, which will be released next week. If you follow the directions for CVS checkout of dbmail_2_0_branch, you'll be in good shape. Been waiting for 2.0 to get stable (been following the list, and seeing all the patches) before deploying

[Dbmail-dev] MySQL 4.1 and dbmail 1.3

2004-11-20 Thread Mark Mackay - Orcon
Hi Guys - We've just taken the plunge to go to mysql 4.1 on our dbmail database; and all went extremely well except for one little glitch I've discovered. This query, in mysql/dbmysql.c: select message_idnr from messages where unique_id != '' order by message_idnr desc limit 0,1

RE: [Dbmail] dbmail-smtp slow

2004-10-27 Thread Mark Mackay - Orcon
We've disabled the quota checks in a 1.x version and it has produced a major speed gain in the database. Previously our database was spiking to high loads doing the SUM() calcs, so I wouldn't underestimate the cost of this when you get to large message stores. If possible - it would be great to

[Dbmail] MySQL MERGE tables with dbmail

2004-09-12 Thread Mark Mackay - Orcon
Hi all - I was wondering whether anyone had played using MERGE tables for dbmail? I've currently got a MyISAM table that's about 171G for messageblks - and was looking at converting it back to Innodb -- but the size of course is horendous, so will take hours. I've also been wanting to setup a

RE: [Dbmail] Two MX servers updating/inserting into 1 dbmail database

2004-07-23 Thread Mark Mackay - Orcon
My question is: Can I have two MX hosts updating the same database? What if there is an insert at precisely the same time from both MX hosts? Will each seperate message that is inserted get it's own message_idnr? Will it all stay consistent? We have had up to 9 MX hosts inserting into one

RE: [Dbmail] dbmail causing excessive server load?

2004-04-14 Thread Mark Mackay - Orcon
Try disabling dns lookups in the config file /Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriel Ricard Sent: Wednesday, 14 April 2004 11:53 a.m. To: Dbmail@dbmail.org Subject: [Dbmail] dbmail causing excessive server load? I've got

RE: [Dbmail] Large sites using dbmail?

2004-03-26 Thread Mark Mackay - Orcon
Ever think about trying postgresql? It is my understanding that it scales up better with lots of concurrent access. Anyone have any good experience comparing the two for dbmail? We have tried postgresql (not for dbmail), and I guess all I can say is MySQL 'feels nicer' to me, and it's

RE: [Dbmail-dev] Cached Headers (was NNTP)

2004-03-18 Thread Mark Mackay - Orcon
Surely for webmail applications, etc you're after a join where you get the headers as columns for displaying a message list; to avoid having nested queries. E.g. avoid select * from messages; then for each message select * from headers where messageid=X I know the goal is to have the headers

RE: [Dbmail-dev] Cached Headers

2004-03-18 Thread Mark Mackay - Orcon
A flag on the messageblks field would certainly help, and allow webmail applications to generate message lists with one query E.g.select messages.*, messageblks.messageblk as headers from messages,messageblks where messages.message_idnr=messageblks.messageblks_idnr and messageblks.isheader=1

RE: [Dbmail-dev] dbmail 2.0 rc4

2004-03-18 Thread Mark Mackay - Orcon
Having a flag on the messageblks is great for joins (see previous post); but if there is the possibility of multiple header blocks that may pose a problem. However -- you could set the value to 1 for 1 header block, 2 for multiple header blocks (or qty, etc) -- and then if when you do the simple

RE: [Dbmail-dev] Bunch of fixes and improvements, but with a catch

2004-03-15 Thread Mark Mackay - Orcon
! Aaron Mark Mackay - Orcon [EMAIL PROTECTED] said: Using MySQL 4.0 already, but I'm pretty there are some people still using 3.x. Maybe until 2.1 or (2.0.x) there could be two sourcefiles or a patch you could apply which introduced the 'not-so-efficient' code back again

RE: [Dbmail-dev] Bunch of fixes and improvements, but with a catch

2004-03-15 Thread Mark Mackay - Orcon
Fine by me. As long as we don't require anything ahead of the current Debian 'testing' MySQL version ;) /Mark

RE: [Dbmail-dev] Bunch of fixes and improvements, but with a catch

2004-03-15 Thread Mark Mackay - Orcon
Or add the following line to at the top of /etc/apt/sources.list deb http://packages.dotdeb.org Way cool! Thanks for the info. Much easier than my way :) /Mark

RE: [Dbmail-dev] Bunch of fixes and improvements, but with a catch

2004-03-14 Thread Mark Mackay - Orcon
Using MySQL 4.0 already, but I'm pretty there are some people still using 3.x. Maybe until 2.1 or (2.0.x) there could be two sourcefiles or a patch you could apply which introduced the 'not-so-efficient' code back again until people are given a chance to upgrade. It may not be worth the effort

RE: [Dbmail] What to do with POP3 spammers

2004-03-11 Thread Mark Mackay - Orcon
While it's definitely annoying, that's one thing I love about dbmail: It's an indexed SQL lookup, rather than a mbox-style trudge-through-a-10Mb-file-to-fine-there-is-no-new-mail approach. With enough memory, and especially with the MySQL 4.0 query-cache; it barely causes a performance hit.

RE: [Dbmail] Suggestion for a-minute-pop3-users

2004-03-11 Thread Mark Mackay - Orcon
Expanding on this idea -- is there any way to do a 'status' message with POP? E.g. if doing server maintenance have the users download a message from a bastion server saying 'server undergoing maintanance or offline/etc' Problem I believe is the UIDL handling -- if you simply do a fake POP3

RE: [Dbmail] Date of mails without date

2004-03-02 Thread Mark Mackay - Orcon
Hi Pablo - Are you by chance using procmail to deliver your messages? If so, procmail adds another line to the start of each message which would be present when piped through to dbmail, and would either confuse the parser or email clients. We had a problem similar to what you're describing in

RE: [Dbmail] Date of mails without date

2004-03-02 Thread Mark Mackay - Orcon
Re: procmail -- never mind :) /Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pablo León Sent: Wednesday, 3 March 2004 7:33 a.m. To: dbmail@dbmail.org Subject: Re: [Dbmail] Date of mails without date I'm using qmail, don't remember then

RE: [Dbmail-dev] DBMail Evaluation Questions

2004-02-17 Thread Mark Mackay - Orcon
1. DBMail doesn't support shared mailboxes well -- where multiple users can access the same mailbox. However I would assume it allows multiple IMAP clients owned by the same user to access the same folder at the same time. This isn't explicitly stated, and I just want to make sure.

RE: [Dbmail] dbmail-smtp and imap folders

2004-02-03 Thread Mark Mackay - Orcon
For mailbox delivery it must be a username, not an email alias - from memory. I don't know whether mailbox selection is enabled via alias expansion yet -- may need to wait for the Sieve work to be complete. /Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Dbmail-dev] Re: table prefix

2004-01-08 Thread Mark Mackay - Orcon
best scenario will be to have only DB settings and table names in the conf file.. and moving all the bulk like AUTO_* EFFECTIVE_* BIND into the database , there's no point for them being there, anyway without the DB dbmail* is useless, also consider the fact the dbmail-smtp doesn't

RE: [Dbmail] 2.0 and header-cache

2003-12-06 Thread Mark Mackay - Orcon
A few questions, - What should the table structure be? - What about automatic rebuilding the table cache, if you get a query for a new header? If you change the syntax, then as Jesse pointed out, dbmail-maintenance would be a logical place. Failing that, based on the lifetime of most email

RE: [Dbmail] trackrecord + (Scalability REPOST)

2003-12-04 Thread Mark Mackay - Orcon
- you need a clusterable database (For 2.0 you should be able to write a oracle driver in about 4 hours). (real clustered databases partition automatically). Heard scary things about Oracle from an admin point-of-view, but expect unfortuantely I'll need to look at that in the future.

[Dbmail] 2.0 and header-cache

2003-12-04 Thread Mark Mackay - Orcon
Hi guys - Another quick question (first time I've really looked at 2.0 other than listening to the list). Is 2.0 going to have any type of header cache (something that's suited to the native-webmail clients everyone's no-doubt hacking away at? We implemented some patches to 1.x and posted them

RE: [Dbmail] 2.0 and header-cache

2003-12-04 Thread Mark Mackay - Orcon
Subject: Re: [Dbmail] 2.0 and header-cache Em Quarta 03 Dezembro 2003 20:27, Mark Mackay - Orcon escreveu: Is 2.0 going to have any type of header cache (something that's suited to the native-webmail clients everyone's no-doubt hacking away at? We implemented some patches to 1.x

RE: [Dbmail] 2.0 and header-cache

2003-12-04 Thread Mark Mackay - Orcon
), it has to think about it. A table join is pretty efficient (with the right keys). Just my humble opinion :) /Mark /Magnus Mark Mackay - Orcon wrote: Hi guys - Another quick question (first time I've really looked at 2.0 other than listening to the list). Is 2.0 going

RE: [Dbmail] trackrecord + (Scalability REPOST)

2003-12-03 Thread Mark Mackay - Orcon
From a recent post I made for the trackrecord list: Status: O We're currently running dbmail with: - Dual Xeon 2.4G processors / SCSI Disks - MySQL/InnoDB - roughly 90k mailboxes - 100G of mail data - alias selection offloaded to smtp servers (we don't use aliases table we deliver straight

RE: [Dbmail-dev] adding option to support anti-spam filters

2003-11-25 Thread Mark Mackay - Orcon
Hi Feargal - Christian Warden suggested using the -m flag of dbmail-smtp to deliver it to a seperate mailbox. I wasn't actually aware of that option as it's not mentioned in the man page, and it does the job pretty well (although it'll hurt my head to figure out the sendmail config...).

[Dbmail] Scalability

2003-11-18 Thread Mark Mackay - Orcon
Hi all - I'm just looking ahead now and trying to see how well dbmail will scale with larger deployments. We're currently running dbmail with: - Dual Xeon 2.4G processors / SCSI Disks - MySQL/InnoDB - roughly 90k mailboxes - 100G of mail data - alias selection offloaded to smtp servers (we

RE: [Dbmail] messagblks is full...

2003-11-07 Thread Mark Mackay - Orcon
Hi Robert - If you're not, you should probably switch to using InnoDB tables; as from memory on linux the maximum MyISAM table size is 4G (FS limatation - can get around this by using XFS/etc). Then just go alter table messageblks type=Innodb; Keep an eye on show table status like

RE: Re[2]: [Dbmail] Usage question...

2003-10-14 Thread Mark Mackay - Orcon
We do something similar - 24 hour grace period. I'd like to make it 7 days for any message from deletion, not just say every 7 days. With the size of our database, I need to run the purge every day unfortunately - so the deleted timestamp would be more helpful. It would also allow us to

RE: [Dbmail] Usage question...

2003-10-13 Thread Mark Mackay - Orcon
I totally second this idea! Also on deletions - it would be great to have a 'deleted timestamp' (forgive me if this is in the upcoming 2.0 release, I haven't checked the code). That way you can purge messages from the database once they've been *marked as deleted* for more than user configurable

RE: [Dbmail] feature solicitation

2003-10-11 Thread Mark Mackay - Orcon
N! Having the config info in the main database was the first method - but unless you provide a per-client identifier (so that when the pop/imap/smtp daemon connects you can give it a particular config); you can't differentiate services, etc. For example on some lower-spec'd servers I run

Re: [Dbmail] Multiple copies of every email

2003-03-06 Thread Mark Mackay - Orcon Internet
Check the unique_id column of the database. We had the same problem and it was because the UIDLs were stuffed up.From memory i think we fixed it by doing the following query: update messages set unique_id=concat(message_idnr,'A',unix_timestamp()); i don't think it matters what the values are

Re: [Dbmail] Postgresql remote connections

2002-08-11 Thread Mark Mackay / Orcon
I just did a make dist-clean, then compiled it and it seemed to fix it. But I'd definitely did recompile it the before emailing the list (2-3 times), so dunno why it didn't work. Oh well -- working now. Thanks for the email replies. /Mark On 10/8/02 8:39 PM, Eelco van Beek - ICS [EMAIL