[Dovecot] SQL Server

2010-05-21 Thread Bryan Vyhmeister
Is there any support for using Microsoft SQL Server 2005 or 2008 as the SQL database for users? Although I would prefer to do it other ways, the company I work for has all of their virtual hosting authentication tied into a SQL Server. Any ideas? Thank you. Bryan

Re: [Dovecot] SQL Server

2010-05-21 Thread Bryan Vyhmeister
On Fri, May 21, 2010 at 4:10 PM, Jerry wrote: > > If you can access the Microsoft SQL Server from the machine hosting > Dovecot, there should be no problem at all. I have used Microsoft's SQL > sever for for several projects and it is an extremely fast and robust > piece of software. > > Perhaps y

Re: [Dovecot] SQL Server

2010-05-27 Thread Bryan Vyhmeister
I appreciate all the responses. I will look into the different options. Thanks again. Bryan

[Dovecot] Dovecot and SSD

2010-07-28 Thread Bryan Vyhmeister
I'm considering setting up my own mailserver with Dovecot 2.0 (as soon as it's out) and SSD. I'm debating whether it's worth it or not. I have been running a mailserver with the Dovecot 1.1 train for a couple of years and it's been flawless and amazing. I'm thinking about using either FreeBSD 8.1 w

Re: [Dovecot] Dovecot and SSD

2010-07-28 Thread Bryan Vyhmeister
On Wed, Jul 28, 2010 at 7:46 PM, Marcus Rueckert wrote: > > maybe dont put the whole FS on the SSD. > > we had great speed ups when we just moved the FS journal onto the SSD. You're referring to the ZFS ZIL or other filesystem journal? Bryan

Re: [Dovecot] Dovecot and SSD

2010-07-28 Thread Bryan Vyhmeister
On Wed, Jul 28, 2010 at 7:19 PM, Timo Sirainen wrote: > > I'd think that with SSD mdbox would make less sense, since fragmentation > isn't so much of a problem with SSDs. I've no benchmarks, but I wouldn't be > surprised if sdbox performance was faster. In any case mdbox requires an > extra ind

Re: [Dovecot] Dovecot and SSD

2010-07-29 Thread Bryan Vyhmeister
On Thu, Jul 29, 2010 at 5:16 AM, Stan Hoeppner wrote: > > How many users? > To start with, about 20 users. It will grow to around 100 users at the max. Bryan

Re: [Dovecot] Dovecot and SSD

2010-07-29 Thread Bryan Vyhmeister
On Thu, Jul 29, 2010 at 9:57 PM, Chris Hoogendyk wrote: > > Curtis Maloney wrote: >> >> Umm... apart from "shiney toys", is there any legitemate reason for such >> expense on performance tuning? >> >> I ask because we have about 30 users using our IMAP server (Dovecot 1.1), >> which also serves as

Re: [Dovecot] relay access denied problem thru iphone imap auth

2010-07-29 Thread Bryan Vyhmeister
Here is the relevant portions of my postconf -n output. I am using dovecot 1.1 as LDA which is a little different than your setup. I am using the iPhone with this and it works perfectly. Never had a problem. broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_sasl_authenticated re

Re: [Dovecot] relay access denied problem thru iphone imap auth

2010-07-30 Thread Bryan Vyhmeister
On Fri, Jul 30, 2010 at 6:53 AM, Charles Marcus wrote: > Bryan Vyhmeister wrote: >> In my situation, all SMTP AUTH is sent through port 465 (smtps) using >> TLS. I hope that helps. > > First, smtps (port 465) is deprecated, so you should use the > STARTTLS+submission port

[Dovecot] cluster with dsync mirror

2010-08-15 Thread Bryan Vyhmeister
I have an idea for running a pair of redundant dovecot mail servers that may be odd but it might work. I'm interested in any thoughts on the topic. Would it work to run 'dsync mirror' every minute against either mdbox or sdbox mailbox on a dedicated network connection between two (or potentially t

Re: [Dovecot] cluster with dsync mirror

2010-08-16 Thread Bryan Vyhmeister
On Mon, Aug 16, 2010 at 5:15 AM, Timo Sirainen wrote: > On 16.8.2010, at 7.33, Bryan Vyhmeister wrote: > >> Would it work to run 'dsync mirror' every minute against either mdbox >> or sdbox mailbox on a dedicated network connection between two (or >> potentiall

Re: [Dovecot] cluster with dsync mirror

2010-08-17 Thread Bryan Vyhmeister
On Mon, Aug 16, 2010 at 9:27 AM, Patrick Domack wrote: > I used a setup like this, to sync mail between 3 different datacenters, in a > multimaster setup. > > For this I used unison, running every 28seconds. And it worked well for two > years, before I changed to a better approach. Older versions

[Dovecot] LDAP for Virtual Domains

2007-05-16 Thread Bryan Vyhmeister
Is anyone using LDAP along with Dovecot where mail is being accessed in the form of /var/vmail/${domain}/${user}? I have not figured out how to extract the domain from LDAP in order to make this work. I know this is sparse information but maybe there is an easy fix. If not, I can post more

Re: [Dovecot] LDAP for Virtual Domains

2007-05-17 Thread Bryan Vyhmeister
On May 16, 2007, at 10:29 PM, razor wrote: 17.05.07 в 05:06 Bryan Vyhmeister в своём письме писал(а): Is anyone using LDAP along with Dovecot where mail is being accessed in the form of /var/vmail/${domain}/${user}? I have not figured out how to extract the domain from LDAP in order to

Re: [Dovecot] LDAP for Virtual Domains

2007-05-17 Thread Bryan Vyhmeister
On May 17, 2007, at 12:06 AM, Gavin Henry wrote: Is anyone using LDAP along with Dovecot where mail is being accessed in the form of /var/vmail/${domain}/${user}? I have not figured out how to extract the domain from LDAP in order to make this work. I know this is sparse information but maybe

Re: [Dovecot] LDAP for Virtual Domains

2007-05-17 Thread Bryan Vyhmeister
On May 17, 2007, at 4:44 AM, Pascal S. de Kloe wrote: The attachments contain my configuration. Maybe you could document some more on the wiki? If I understand your config correctly, you set your home directory in LDAP and then just deliver to ~/Maildir/ which goes to the correct / var/sp

Re: [Dovecot] LDAP for Virtual Domains

2007-05-18 Thread Bryan Vyhmeister
On May 18, 2007, at 2:14 AM, Pascal S. de Kloe wrote: That is correct. All mail goes into the Maildir folder and the SIEVE scripts are at ~/.dovecot.sieve. It seemed like the most portable and extendable configuration. You could modify the LDAP homeDirectory at a later time with a simple que

Re: [Dovecot] LDAP for Virtual Domains

2007-05-18 Thread Bryan Vyhmeister
On May 18, 2007, at 7:34 AM, Daniel L. Miller wrote: I am using almost this exact setup. What I love about this is my LDAP config is minimal - no special schemas required (just core, cosine, nis, and inetorgperson). Everything is driven by the "mail" field - you store the full mail addres

Re: [Dovecot] LDAP for Virtual Domains

2007-05-20 Thread Bryan Vyhmeister
On May 18, 2007, at 11:33 PM, Daniel L. Miller wrote: Thank you for that info. Do you mind posting the relevant portions of your Postfix config? main.cf: virtual_mailbox_base = /var/mail virtual_mailbox_domains = virtual_mailbox_maps = ldap:/etc/postfix/maps/ldap-virtual.cf virtual_uid_m

Re: [Dovecot] LDAP for Virtual Domains

2007-05-20 Thread Bryan Vyhmeister
On May 18, 2007, at 11:33 PM, Daniel L. Miller wrote: Thank you for that info. Do you mind posting the relevant portions of your Postfix config? main.cf: virtual_mailbox_base = /var/mail virtual_mailbox_domains = virtual_mailbox_maps = ldap:/etc/postfix/maps/ldap-virtual.cf virtual_uid_m

Re: [Dovecot] LDAP for Virtual Domains

2007-05-20 Thread Bryan Vyhmeister
On May 17, 2007, at 4:44 AM, Pascal S. de Kloe wrote: The attachments contain my configuration. Maybe you could document some more on the wiki? dn: dc=mail,dc=quies,dc=net objectClass: top objectClass: dcObject objectClass: organizationalRole dc: mail cn: Quies Net mail division dn: cn=dove

Re: [Dovecot] LDAP for Virtual Domains

2007-05-21 Thread Bryan Vyhmeister
On May 20, 2007, at 10:17 PM, Daniel L. Miller wrote: This is a problem in basic understanding of Postfix's (or just about any LDAP enabled program, for that matter) LDAP handling. The docs reference mailacceptinggeneralid in the examples (and I still don't know what LDAP schema Wietse may

[Dovecot] OpenBSD and too many open files

2007-08-01 Thread Bryan Vyhmeister
I posted some questions a few months back and received lots of great help in getting my dovecot/postfix/LDAP setup working. Initially, I ran into the pipe failed too many open files error. I am running this setup on OpenBSD/sparc64 4.1-stable and so I put dovecot in its own class and upped

Re: [Dovecot] OpenBSD and too many open files

2007-08-01 Thread Bryan Vyhmeister
On Aug 1, 2007, at 9:25 AM, Quentin Garnier wrote: Sounds more like a file descriptor leak. Check fstat output so see what kind of descriptors are leaked, how fast, etc. Thank you for your quick response. Unfortunately, I restarted dovecot this morning and so this probably isn't very help

Re: [Dovecot] OpenBSD and too many open files

2007-08-01 Thread Bryan Vyhmeister
On Aug 1, 2007, at 9:41 AM, Timo Sirainen wrote: You didn't say which process got the "too many files" error, but usually it's the Dovecot master process. Could you show the exact error message so I can be sure? Here you showed only imap, imap- login and pop3-login processes, not dovecot pro

Re: [Dovecot] OpenBSD and too many open files

2007-08-01 Thread Bryan Vyhmeister
On Aug 1, 2007, at 9:52 AM, Timo Sirainen wrote: On 1.8.2007, at 19.43, Quentin Garnier wrote: FWIW, I've stopped using dovecot's kqueue code quite some time ago because it would leak one fd almost every login, leading to the kind of situation you experience. I wish I had the time to debug

Re: [Dovecot] OpenBSD and too many open files

2007-08-01 Thread Bryan Vyhmeister
On Aug 1, 2007, at 10:37 AM, Quentin Garnier wrote: On Wed, Aug 01, 2007 at 07:01:35PM +0200, Quentin Garnier wrote: [...] Which does look like what is experienced here. Now, I don't know if we can locate easily what fix needs to be applied to OpenBSD. Check if this applies to OpenBSD: ht

Re: [Dovecot] OpenBSD and too many open files

2007-08-01 Thread Bryan Vyhmeister
On Aug 1, 2007, at 11:09 AM, Quentin Garnier wrote: Well, the problem is Christos did some other stuff in that commit than just fixing the bug. Try the attached patch. Thank you for the patch. It applied cleanly and I have a kernel that reflects the patch running right now. So far so good.

Re: [Dovecot] OpenBSD and too many open files

2007-08-07 Thread Bryan Vyhmeister
On Aug 1, 2007, at 4:22 PM, Bryan Vyhmeister wrote: On Aug 1, 2007, at 11:09 AM, Quentin Garnier wrote: Well, the problem is Christos did some other stuff in that commit than just fixing the bug. Try the attached patch. Thank you for the patch. It applied cleanly and I have a kernel

Re: [Dovecot] OpenBSD and too many open files

2007-08-07 Thread Bryan Vyhmeister
On Aug 7, 2007, at 10:29 AM, Quentin Garnier wrote: Well, I have not had a single instance of the "Too many files" error since. Everything is working smoothly. I'll see about getting the patch into OpenBSD if possible. I'll get that tutorial done as well. I'll send a mail to [EMAIL PROTECTED]

Re: [Dovecot] OpenBSD and too many open files

2007-08-07 Thread Bryan Vyhmeister
On Aug 7, 2007, at 11:15 AM, Brad wrote: I already passed this around for review and it has been commited. http://marc.info/?l=openbsd-cvs&m=118648637312063&w=2 Great! Thank you very much. Bryan