Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Michael Monnerie
On Dienstag 15 September 2009 Jorge Bastos wrote: IMAPD crashed, and when I go to start him this happen. Then the diff seems that the TCP connections are not closed on crash in the one version, while the other does. Or the crash happens in a different path, leaving the connections open.

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Jorge Bastos
On Dienstag 15 September 2009 Jorge Bastos wrote: IMAPD crashed, and when I go to start him this happen. Then the diff seems that the TCP connections are not closed on crash in the one version, while the other does. Or the crash happens in a different path, leaving the connections open.

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Jonathan Feally
Jorge Bastos wrote: On Dienstag 15 September 2009 Jorge Bastos wrote: IMAPD crashed, and when I go to start him this happen. Then the diff seems that the TCP connections are not closed on crash in the one version, while the other does. Or the crash happens in a different path,

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Jorge Bastos
My tree is for bug testing only, but still it does not have the IPv6 changes I think. Probably something with the IPv6 stuff is causing an issue. REUSE flag is probably missing. -Jon I see, Could you write a patch with that? I know nothing about that matter! If that's possible, I thank you,

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Paul Stevens
Jorge, please try the latest revision. Jorge Bastos wrote: My tree is for bug testing only, but still it does not have the IPv6 changes I think. Probably something with the IPv6 stuff is causing an issue. REUSE flag is probably missing. -Jon I see, Could you write a patch with that? I

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Jorge Bastos
Jorge, please try the latest revision. Just tried and no, same symptom. Steps were: Compiled new source. Killed imapd Started IMAPD (lots of LAST_ACK connections), but it complains about the same ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Jonathan Feally
I'm working on the more correct way to handle getaddrinfo as it can return more than 1 address that should have a socket on it. This should have the sockets with the REUSE flag on it and work correctly. Since the IPv6 code, my box is completely unhappy with those and SEGFAULTS upon start up. I

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Jorge Bastos
I'm working on the more correct way to handle getaddrinfo as it can return more than 1 address that should have a socket on it. This should have the sockets with the REUSE flag on it and work correctly. Since the IPv6 code, my box is completely unhappy with those and SEGFAULTS upon start up.

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Jonathan Feally
Your multiple IP's could be handled better with my testing branch. It all depends on what you are putting in bindip. My patch make no attempt to detect that we are already listening on an IP:port pair, so some adjustment may be needed on bindip in some cases. I was able to test a simple bindip

Re: [Dbmail-dev] IMAP Fails to start on GIT HEAD

2009-09-15 Thread Michael Monnerie
On Dienstag 15 September 2009 Jorge Bastos wrote: Compiled new source. Killed imapd Started IMAPD (lots of LAST_ACK connections), but it complains about the same For the first time, this is expected, as you killed the old imapd which leaves the connections open. Once the new compiled imapd

Re: [Dbmail] IMAP quick resync?

2009-09-15 Thread Shane Kerr
Ug... reading this in the light of morning and it is confused. :-P When I say it's in I mean CONDSTORE support is in the following clients! It's in the Thunderbird trunk: http://www.rumblingedge.com/2008/10/05/2008-10-05-thunderbird-trunk-builds/ That's pretty big - don't know when it

Re: [Dbmail] MySQL tweaks?

2009-09-15 Thread Michael Monnerie
On Montag 14 September 2009 Jonathan Feally wrote: innodb_flush_log_at_trx_commit=2 Note: Everybody who care about their data, you should leave this setting on it's default 1: innodb_flush_log_at_trx_commit=1 mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at //

Re: [Dbmail] IMAP quick resync?

2009-09-15 Thread George Vieira
Hey Shane, I'm looking for a way to rsync mail to a second server for mail migration.. I've worked out how to have multiple servers serving the same domain so you could have users in different locations and either mail server acting as a MX to the other for failover but need the ability to

Re: [Dbmail] MySQL tweaks?

2009-09-15 Thread Simon Gray
Michael Monnerie wrote: Note: Everybody who care about their data, you should leave this setting on it's default 1: innodb_flush_log_at_trx_commit=1 Also, this will only affect writes - rather than reads. S ___ DBmail mailing list

[Dbmail] LDAP workflow

2009-09-15 Thread Peter Rabbitson
Hi, I am toying with the idea to migrate all my services (login, web, samba, dbmail) to a centralized ldap setup. While I read a lot about ldap design and general operation principles, I can't quite wrap my head around it. So here goes: Is there some recommended/best practice way of seting up

Re: [Dbmail] MySQL tweaks?

2009-09-15 Thread Jonathan Feally
Simon Gray wrote: Michael Monnerie wrote: Note: Everybody who care about their data, you should leave this setting on it's default 1: innodb_flush_log_at_trx_commit=1 Also, this will only affect writes - rather than reads. If you have minimal writes and the server is on a

Re: [Dbmail] MySQL tweaks?

2009-09-15 Thread Simon Gray
Jonathan Feally wrote: Simon Gray wrote: Michael Monnerie wrote: Note: Everybody who care about their data, you should leave this setting on it's default 1: innodb_flush_log_at_trx_commit=1 Also, this will only affect writes - rather than reads. If you

Re: [Dbmail] MySQL tweaks?

2009-09-15 Thread Michael Monnerie
On Dienstag 15 September 2009 Jonathan Feally wrote: If you have minimal writes and the server is on a UPS, this setting won't make too much difference I have a home server on UPS, and can tell you from real experience what crashes I hade despite all this: 1) Broken power supply - UPS doesn't

[Dbmail] use dbmail-deliver instead of dbmail-lmtpd

2009-09-15 Thread Jorge Bastos
Howdy people, Does anyone has a document on how put postfix delivering messages to dbmail with dbmail-deliver instead of using LMTPD on both sides? Thanks in advanced, Jorge, ___ DBmail mailing list DBmail@dbmail.org

Re: [Dbmail] use dbmail-deliver instead of dbmail-lmtpd

2009-09-15 Thread tabris
Jorge Bastos wrote: Howdy people, Does anyone has a document on how put postfix delivering messages to dbmail with dbmail-deliver instead of using LMTPD on both sides? Thanks in advanced, Why? I'm not aware of an overwhelming advantage to using LMTP. signature.asc Description:

Re: [Dbmail] use dbmail-deliver instead of dbmail-lmtpd

2009-09-15 Thread Jorge Bastos
Does anyone has a document on how put postfix delivering messages to dbmail with dbmail-deliver instead of using LMTPD on both sides? Thanks in advanced, Why? I'm not aware of an overwhelming advantage to using LMTP. I may explained myself wrong, I'm using LMTPD now, and I'd like to

Re: [Dbmail] use dbmail-deliver instead of dbmail-lmtpd

2009-09-15 Thread Jorge Bastos
Why? why do you want to use pipe delivery? I'm not aware of an overwhelming advantage of pipe delivery over LMTP, including my understanding that LMTP is faster than pipe delivery. There's a problem on LMTPD and until it's fixed I need to get rid of the consequences of that problem. For day,

Re: [Dbmail] use dbmail-deliver instead of dbmail-lmtpd

2009-09-15 Thread Paul Stevens
docs/README.postfix has it all: 3. Using the Pipe interface (dbmail-deliver) in /etc/postfix/master.cf add: dbmail-deliverunix - n n - - pipe flags= user=dbmailuser:dbmailgroup

Re: [Dbmail] use dbmail-deliver instead of dbmail-lmtpd

2009-09-15 Thread Jorge Bastos
Ops, dumb me! I didn't even thinked on going check that, sorry for that. Checking this, I have one question on this: If you want to decide whether or not to send to DBMail per domain, add this in /etc/postfix/transport: domaindbmail-deliver: If this

Re: [Dbmail] use dbmail-deliver instead of dbmail-lmtpd

2009-09-15 Thread tabris
Jorge Bastos wrote: Howdy people, Does anyone has a document on how put postfix delivering messages to dbmail with dbmail-deliver instead of using LMTPD on both sides? Thanks in advanced, disregard my previous message... Why? why do you want to use pipe delivery? I'm not aware of an

Re: [Dbmail] DBMAIL error on SELECT

2009-09-15 Thread Michael Monnerie
On Donnerstag 10 September 2009 Michael Monnerie wrote: So, this is the query you posted stripped down: SELECT k.messageblk FROM dbmail_messageblks k WHERE k.messageblk ILIKE '%multipart/encrypted%'; He's right, that query doesn't work on PG 8.1 either. OK, this is a bug in dbmail, which

Re: [Dbmail] use dbmail-deliver instead of dbmail-lmtpd

2009-09-15 Thread Michael Monnerie
On Dienstag 15 September 2009 Jorge Bastos wrote: If this needed? I mean, I REALLY have to add a line per domain? Can I skip that part and stay only with the parts on main.cf master.cf ? Jorge, please read each word: To send all email to DBMail, add this in /etc/postfix/main.cf