From chris@madingley.org Thu Apr 12 18:00:37 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nkST-00049I-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 18:00:37 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id SAA17428; Thu, 12 Apr 2001 18:00:36 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id SAA06902; Thu, 12 Apr 2001 18:00:36 +0100 Date: Thu, 12 Apr 2001 18:00:36 +0100 From: Chris Lightfoot To: vmail-discuss@lists.beasts.org Message-ID: <20010412180036.A6789@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us X-Mail-Author: me Subject: [Vmail-discuss] vmail-sql mailing list Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion OK, this is essentially to test that this works. I've passed the list details on to Jeff who asked for help compiling Exim for Debian. Mark-- am I correct in thinking that mysql is not in the Debian package archive? apt-get install mysql doesn't find anything, and I have non-free in `sources.list'. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``I wouldn't call Civil Service delays `tactics', Minister,'' he replied smoothly. ``That would be to mistake lethargy for strategy.'' (Humphrey Appleby, from `Yes, Minister', Jonathan Lynn and Anthony Jay) From cputek@home.com Thu Apr 12 18:14:00 2001 Received: from femail6.sdc1.sfba.home.com ([24.0.95.86]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nkfQ-0004Dt-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 18:14:00 +0100 Received: from jeff ([24.3.249.184]) by femail6.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010412171358.XKUR26465.femail6.sdc1.sfba.home.com@jeff> for ; Thu, 12 Apr 2001 10:13:58 -0700 From: "Jeff" To: Date: Thu, 12 Apr 2001 12:13:09 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] Debian Packages for Exim 3.22 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I found these today: ftp://ftp.valinux.com/pub/people/merlin/exim-3.22 From mhl@pobox.com Thu Apr 12 18:16:37 2001 Received: from mailhost1.dircon.co.uk ([194.112.32.65]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nkhx-0004FC-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 18:16:37 +0100 Received: from starfruit.iw3d.co.uk (starfruit.iw3d.co.uk [195.157.148.202]) by mailhost1.dircon.co.uk (8.9.3/8.9.3) with ESMTP id SAA92781 for ; Thu, 12 Apr 2001 18:16:42 +0100 (BST) Received: from mark by starfruit.iw3d.co.uk with local (Exim 3.12 #1) id 14nkdh-0006Qp-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 18:12:13 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15061.57837.319655.189239@starfruit.iwks.multi.local> Date: Thu, 12 Apr 2001 18:12:13 +0100 (BST) From: Mark Longair To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] vmail-sql mailing list In-Reply-To: <20010412180036.A6789@aquila.esc.cam.ac.uk> References: <20010412180036.A6789@aquila.esc.cam.ac.uk> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-Face: $d5`nE*gX!tu15'JQ'#.U=+_T8%xC^Ds_|1{AU'8FV|>kvm6h.29& Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thursday 12 April, Chris Lightfoot wrote: [...] > Mark-- am I correct in thinking that mysql is not in the > Debian package archive? apt-get install mysql doesn't find > anything, and I have non-free in `sources.list'. I installed these packages: mysql-client mysql-doc mysql-server libmysqlclient6-dev libmysqlclient6 libdbd-mysql-perl BTW, if you're looking for a package name of something you're pretty sure is in the distribution, you can search /var/lib/dpkg/available. There's also a grep-dctrl package which provides a nice interface to that, so you can do: grep-available -i mysql If you want to know what package a particular file is in, you can search the Contents file for that release: ftp://ftp.uk.debian.org/debian/dists/stable/Contents-i386.gz From info@omahapc.com Thu Apr 12 18:22:00 2001 Received: from cx581129-a.blvue1.ne.home.com ([24.3.249.184] helo=blvue1.ne.home.com ident=root) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 14nkn9-0004HL-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 18:21:59 +0100 Received: from jeff (192.168.1.2) by blvue1.ne.home.com (24.3.249.184) with [XMail 0.68 (Linux/Ix86) SMTP Server] for from ; Thu, 12 Apr 2001 11:21:00 -0500 From: "Jeff" To: Date: Thu, 12 Apr 2001 12:20:57 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] (no subject) Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion do you have a complete example of /etc/exim.conf file ? rather than just the 'sketch' on the vmail site ? From chris@ex-parrot.com Thu Apr 12 18:40:43 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nl5H-0004Ol-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 18:40:43 +0100 Received: from caesious.cold.local ([62.253.134.204]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA29645; Thu, 12 Apr 2001 18:32:46 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 14nl5F-0006TS-00; Thu, 12 Apr 2001 18:40:41 +0100 Date: Thu, 12 Apr 2001 18:40:41 +0100 From: Chris Lightfoot To: Mark Longair Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] vmail-sql mailing list Message-ID: <20010412184041.B24722@caesious.cold.local> References: <20010412180036.A6789@aquila.esc.cam.ac.uk> <15061.57837.319655.189239@starfruit.iwks.multi.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15061.57837.319655.189239@starfruit.iwks.multi.local>; from mhl@pobox.com on Thu, Apr 12, 2001 at 06:12:13PM +0100 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Apr 12, 2001 at 06:12:13PM +0100, Mark Longair wrote: > On Thursday 12 April, Chris Lightfoot wrote: > [...] > > Mark-- am I correct in thinking that mysql is not in the > > Debian package archive? apt-get install mysql doesn't find > > anything, and I have non-free in `sources.list'. > > I installed these packages: > > mysql-client > mysql-doc [...] D'oh. OK. I'm not used to this package-management thing :) [off topic] How does the stable/unstable thing work? If I want to install, say, a version of OpenSSH that doesn't suck, I presumably need one from unstable; but I expect that if I do that apt will want to fetch innumerable new shared libraries etc. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ Most photographers have learned the hard way that satisfactory results cannot be obtained without loading the camera with film (Philip Greenspun) From mhl@pobox.com Thu Apr 12 18:48:12 2001 Received: from mailhost1.dircon.co.uk ([194.112.32.65]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nlCW-0004Qt-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 18:48:12 +0100 Received: from starfruit.iw3d.co.uk (starfruit.iw3d.co.uk [195.157.148.202]) by mailhost1.dircon.co.uk (8.9.3/8.9.3) with ESMTP id SAA06904 for ; Thu, 12 Apr 2001 18:48:17 +0100 (BST) Received: from mark by starfruit.iw3d.co.uk with local (Exim 3.12 #1) id 14nl8G-0006VR-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 18:43:48 +0100 To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Debian Packages for Exim 3.22 References: From: Mark Longair In-Reply-To: "Jeff"'s message of "Thu, 12 Apr 2001 12:13:09 -0500" User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Capitol Reef) Date: 12 Apr 2001 18:43:48 +0100 Message-ID: <87k84qrp2j.fsf@starfruit.iwks.multi.local> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion "Jeff" writes: > > I found these today: > > ftp://ftp.valinux.com/pub/people/merlin/exim-3.22 Is there a particular reason why you need 3.22? These packages do seem to have been built with mysql support, however, which is useful. OTOH, if you just want a 3.12 with the appropriate support built in you could try this one: http://iw3d.co.uk/~mark/debian/exim_3.12-10_i386.deb No warranty, etc. etc. From mhl@pobox.com Thu Apr 12 19:03:39 2001 Received: from mailhost1.dircon.co.uk ([194.112.32.65]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nlRT-0004Ux-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 19:03:39 +0100 Received: from starfruit.iw3d.co.uk (starfruit.iw3d.co.uk [195.157.148.202]) by mailhost1.dircon.co.uk (8.9.3/8.9.3) with ESMTP id TAA09609; Thu, 12 Apr 2001 19:03:44 +0100 (BST) Received: from mark by starfruit.iw3d.co.uk with local (Exim 3.12 #1) id 14nlND-0006WL-00; Thu, 12 Apr 2001 18:59:15 +0100 To: Chris Lightfoot Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] vmail-sql mailing list References: <20010412180036.A6789@aquila.esc.cam.ac.uk> <15061.57837.319655.189239@starfruit.iwks.multi.local> <20010412184041.B24722@caesious.cold.local> From: Mark Longair Date: 12 Apr 2001 18:59:15 +0100 In-Reply-To: Chris Lightfoot's message of "Thu, 12 Apr 2001 18:40:41 +0100" Message-ID: <87eluyrocs.fsf@starfruit.iwks.multi.local> Lines: 22 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Chris Lightfoot writes: [...] > [off topic] > How does the stable/unstable thing work? If I want to > install, say, a version of OpenSSH that doesn't suck, I > presumably need one from unstable; but I expect that if I > do that apt will want to fetch innumerable new shared > libraries etc. Indeed, this is the case with the version of apt in stable, and it's very annoying. Later versions of apt have this sorted out in a fairly good way. Basically, you can specify your default release in /etc/apt/apt.conf (say, "stable") and then type: apt-get install gnapster/testing ... to start tracking the gnapster from "testing". I just tried this today for the first time, and it seems to work well. Unfortunately, to start using this feature, you really want to do `apt-get install apt/testing'. :-( From cputek@home.com Thu Apr 12 19:34:22 2001 Received: from femail6.sdc1.sfba.home.com ([24.0.95.86]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nlvB-0004bq-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 19:34:21 +0100 Received: from jeff ([24.3.249.184]) by femail6.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010412183419.DEO26465.femail6.sdc1.sfba.home.com@jeff> for ; Thu, 12 Apr 2001 11:34:19 -0700 From: "Jeff" To: Date: Thu, 12 Apr 2001 13:33:31 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] exim.conf from debian system Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion It would be really helpful to see a complete exim.conf from a debian system as there are many inconsistencies between a regular install of exim from source and the debian packages. From cputek@home.com Thu Apr 12 19:43:41 2001 Received: from femail6.sdc1.sfba.home.com ([24.0.95.86]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nm4D-0004dV-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 19:43:41 +0100 Received: from jeff ([24.3.249.184]) by femail6.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010412184339.LAB26465.femail6.sdc1.sfba.home.com@jeff> for ; Thu, 12 Apr 2001 11:43:39 -0700 From: "Jeff" To: Date: Thu, 12 Apr 2001 13:42:50 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] Complete Package Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Are there any plans to make a 'complete package' which wich will install everything, the changes to exim.conf installing the pop3 server, etc. I've tried to follow along with 'out of date' instructions on the vmail site and the readme inside the current archived file, the instructions on building the pop3 servers, either of them, are not very clear and doing ./configure, make, make install simply doesn't work for me and there is nowhere to search for help. From mhl@pobox.com Thu Apr 12 19:57:16 2001 Received: from mailhost2.dircon.co.uk ([194.112.32.66]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nmHM-0004gn-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 19:57:16 +0100 Received: from starfruit.iw3d.co.uk (starfruit.iw3d.co.uk [195.157.148.202]) by mailhost2.dircon.co.uk (8.9.3/8.9.3) with ESMTP id TAA84383 for ; Thu, 12 Apr 2001 19:57:21 +0100 (BST) Received: from mark by starfruit.iw3d.co.uk with local (Exim 3.12 #1) id 14nmD5-0006em-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 19:52:51 +0100 To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] exim.conf from debian system References: From: Mark Longair Date: 12 Apr 2001 19:52:51 +0100 In-Reply-To: "Jeff"'s message of "Thu, 12 Apr 2001 13:33:31 -0500" Message-ID: <8766garlvg.fsf@starfruit.iwks.multi.local> Lines: 27 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion "Jeff" writes: [..] > It would be really helpful to see a complete exim.conf from a debian > system as there are many inconsistencies between a regular install of > exim from source and the debian packages. In fact, the only changes you have to make are those mentioned here: http://www.ex-parrot.com/~chris/vmail-sql/README Some further useful hints might be: - You need a line like this at the top of exim.conf: mysql_servers = "localhost/virtualemail/vmail/xxxxxx" - The bits that go in the directors configuration should be at the top of that section. - The bits that go in the transports configuration can go anywhere in that section. Why don't you try that, and then let us know what problems you have? They really are the only changes you should need from a vanilla Debian exim.conf.... Have you already set up the tables in MySQL? From chris@ex-parrot.com Thu Apr 12 20:07:09 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nmQv-0004ks-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 20:07:09 +0100 Received: from caesious.cold.local ([62.253.134.204]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA10813; Thu, 12 Apr 2001 19:59:07 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 14nmQn-0007LC-00; Thu, 12 Apr 2001 20:07:01 +0100 Date: Thu, 12 Apr 2001 20:07:01 +0100 From: Chris Lightfoot To: Jeff Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Complete Package Message-ID: <20010412200701.A28044@caesious.cold.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cputek@home.com on Thu, Apr 12, 2001 at 01:42:50PM -0500 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Apr 12, 2001 at 01:42:50PM -0500, Jeff wrote: > Are there any plans to make a 'complete package' which wich will install > everything, the changes to exim.conf installing the pop3 server, etc. No, though it would be quite easy to write a shell script to do this if you plan on deploying the software on numerous machines. > I've tried to follow along with 'out of date' instructions on the vmail site > and the readme inside the current archived file, the instructions on > building the pop3 servers, either of them, are not very clear and doing > ./configure, make, make install simply doesn't work for me and there is > nowhere to search for help. tpop3d is not built with autoconf; you need to edit the Makefile in the package. I believe that Mark did some work on `autoconfiscation' but the presently released version does not incorporate it. For reference, here are the settings we use (on a RedHat system, but we use lockfiles &c. so there should not be any significant difference): MAILSPOOL_DIR = /var/spool/mail CFLAGS += -DAUTH_PAM LDLIBS += -lpam -ldl CFLAGS += -DWITH_FCNTL_LOCKING -DWITH_DOTFILE_LOCKING CFLAGS += -DWITH_CCLIENT_LOCKING CFLAGS += -DIGNORE_CCLIENT_METADATA and also CFLAGS += -DCCLIENT_USES_FCNTL but this probably does not apply on Debian. I'm sorry if the instructions for building tpop3d are unclear; I would welcome suggestions for improvements. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ God is a comedian, playing to an audience that's too afraid to laugh (Voltaire) From cputek@home.com Thu Apr 12 21:11:27 2001 Received: from femail7.sdc1.sfba.home.com ([24.0.95.87]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nnR9-000584-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 21:11:27 +0100 Received: from jeff ([24.3.249.184]) by femail7.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010412201124.BMRO16281.femail7.sdc1.sfba.home.com@jeff> for ; Thu, 12 Apr 2001 13:11:24 -0700 From: "Jeff" To: Date: Thu, 12 Apr 2001 15:10:30 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] Concerns Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Here are the problems I have: Still unable to 'build' the gnu-pop3d vmail-sql.c:30: unterminated `#if' conditional make: *** [vmail-sql.o] Error 1 4. User Configuration Clearly this is a matter of site policy, but however you handle it you will need a set of scripts to manipulate records in the database. VE-* in this distribution handle this, in a fairly naive way. You will need the DBI and DBD::mysql modules for perl to make these go. What do i do with these files ? "The contents of docs should be at the DocumentRoot for the web server." There are only two files in docs/ std.css and vmail-logo.jpg no index files, also why would i want this as my document root when that would essentially disable my website ? Just doesn't make sense to me. "The lib and cgi-bin directories must be at the same level." Can you explain this (maybe draw a picture) debian puts the /cgi-bin for apache in /usr/lib/cgi-bin I just get internal server error when accessing any /cgi-bin/vmail/files From cputek@home.com Thu Apr 12 21:23:13 2001 Received: from femail7.sdc1.sfba.home.com ([24.0.95.87]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nncX-0005BS-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 21:23:13 +0100 Received: from jeff ([24.3.249.184]) by femail7.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010412202310.BVTA16281.femail7.sdc1.sfba.home.com@jeff> for ; Thu, 12 Apr 2001 13:23:10 -0700 From: "Jeff" To: "vmail" Date: Thu, 12 Apr 2001 15:22:16 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] Success Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Well I seem to have made some progress I have a vmail login screen at /cgi-bin/vmail/login I had to install libdigest-md5-perl and i put the css in /var/www along with the logo so how do i create the domains, users, etc I assume with the VE- scripts, I don't understand what to do with them. Or do i just us phpMyAdmin or something to insert valuse into the databas, that seems tedious. From chris@ex-parrot.com Thu Apr 12 21:24:59 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nneF-0005CX-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 21:24:59 +0100 Received: from caesious.cold.local ([62.253.134.204]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA20583; Thu, 12 Apr 2001 21:17:02 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 14nneD-0008Aq-00; Thu, 12 Apr 2001 21:24:57 +0100 Date: Thu, 12 Apr 2001 21:24:57 +0100 From: Chris Lightfoot To: Jeff Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Concerns Message-ID: <20010412212457.A30988@caesious.cold.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cputek@home.com on Thu, Apr 12, 2001 at 03:10:30PM -0500 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Apr 12, 2001 at 03:10:30PM -0500, Jeff wrote: > Here are the problems I have: > > Still unable to 'build' the gnu-pop3d > > vmail-sql.c:30: unterminated `#if' conditional > make: *** [vmail-sql.o] Error 1 I *strongly* recommend that you use tpop3d, not gnu-pop3d. gnu-pop3d is badly broken, and should not be used for any purpose. If you have a very good reason not to, I will have a look at the patch and see why it is not doing its thing correctly, but you should not take this as suggesting that the gnu-pop3d patch is supported. > 4. User Configuration > > Clearly this is a matter of site policy, but however you handle it you > will need a set of scripts to manipulate records in the database. VE-* in > this distribution handle this, in a fairly naive way. You will need the DBI > and DBD::mysql modules for perl to make these go. > > What do i do with these files ? VE-* are a set of command-line tools for configuring things. For instance, to set up a new virtual domain, you would do something like VE-domain add example.com then E-passwd example.com to set a password; having done this, the domain can be configured from the web control panel. The DBI and DBD modules are libraries which add support to perl for accessing the MySQL database. > "The contents of docs should be at the DocumentRoot for the > web server." > > There are only two files in docs/ > std.css and vmail-logo.jpg no index files, also why would i want this as my > document root when that would essentially disable my website ? Just doesn't > make sense to me. No, you've misunderstood this. std.css and vmail-logo.jpg are referenced by the CGI scripts; they should be at the root of your webserver (i.e., so that they can be referenced as http://example.com/std.css etc.) but this does not affect the existing files. Unless you already have files called std.css and vmail-logo.jpg, of course. There is no reason to alter the existing content on your web server (other than to include links to the control panel application). These files exist so that you can customise the `look and feel' of the web control panel for your site. You can also edit the script to alter the HTML which is generated. You may well wish to set up a virtual web server for this stuff anyway, but you do not need to. > "The lib and cgi-bin directories must be at the same level." > Can you explain this (maybe draw a picture) debian puts the /cgi-bin for > apache in /usr/lib/cgi-bin So, for instance, you might put the files in /web/SERVERS/mailconfig.example.com/lib and /web/SERVERS/mailconfig.example.com/cgi-bin All the requirement means is that, in /some/path/lib, `../cgi-bin/' refers to a directory containing the CGI scripts. > I just get internal server error when accessing any /cgi-bin/vmail/files What is in /var/log/apache/error.log? Have you set up the files as described above? -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``Smile,'' someone said. ``It could be worse.'' So I did, and it was. From chris@ex-parrot.com Thu Apr 12 21:26:48 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nng0-0005Dc-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 21:26:48 +0100 Received: from caesious.cold.local ([62.253.134.204]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA20776; Thu, 12 Apr 2001 21:18:51 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 14nnfz-0008CR-00; Thu, 12 Apr 2001 21:26:47 +0100 Date: Thu, 12 Apr 2001 21:26:47 +0100 From: Chris Lightfoot To: Jeff Cc: vmail Subject: Re: [Vmail-discuss] Success Message-ID: <20010412212647.B30988@caesious.cold.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cputek@home.com on Thu, Apr 12, 2001 at 03:22:16PM -0500 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Apr 12, 2001 at 03:22:16PM -0500, Jeff wrote: > Well I seem to have made some progress > > I have a vmail login screen at /cgi-bin/vmail/login > > I had to install libdigest-md5-perl and i put the css in /var/www along with > the logo > > so how do i create the domains, users, etc > > I assume with the VE- scripts, I don't understand what to do with them. Or They are fairly self-explanatory :) For instance, $ VE-domain VE-domain: add or remove virtual email domains VE-domain add [unix user] VE-domain remove VE-domain list VE-domain popboxes (max popboxes|unlimited) $ VE-domain add example.com [...] > do i just us phpMyAdmin or something to insert valuse into the databas, that > seems tedious. You can certainly do that, or write your own scripts to do it. We find that VE-* work well for `admin' functions, and we let users do whatever they like with the web interface. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ Space Food Hideous -- But It Costs A Lot (newspaper headline) From cputek@home.com Thu Apr 12 21:28:57 2001 Received: from femail7.sdc1.sfba.home.com ([24.0.95.87]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14nni5-0005El-00 for vmail-discuss@lists.beasts.org; Thu, 12 Apr 2001 21:28:57 +0100 Received: from jeff ([24.3.249.184]) by femail7.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010412202855.CABL16281.femail7.sdc1.sfba.home.com@jeff> for ; Thu, 12 Apr 2001 13:28:55 -0700 From: "Jeff" To: "vmail" Date: Thu, 12 Apr 2001 15:28:01 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] INSERT DSN HERE Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion what goes here ? (example) # get database handle $dbh = DBI->connect(); # INSERT YOUR DSN HERE From chris@ex-parrot.com Fri Apr 13 03:23:12 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14ntEu-0006Bt-00 for vmail-discuss@lists.beasts.org; Fri, 13 Apr 2001 03:23:12 +0100 Received: from caesious.cold.local ([62.253.134.204]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA25527; Fri, 13 Apr 2001 03:15:15 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 14ntEt-000335-00; Fri, 13 Apr 2001 03:23:11 +0100 Date: Fri, 13 Apr 2001 03:23:11 +0100 From: Chris Lightfoot To: Jeff Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Complete Package Message-ID: <20010413032311.B31571@caesious.cold.local> References: <20010412200701.A28044@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cputek@home.com on Thu, Apr 12, 2001 at 06:37:18PM -0500 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Apr 12, 2001 at 06:37:18PM -0500, Jeff wrote: > What about this section in the tpop3d Makefile, what are the settings for it > since there is no mysql root, no as far as i can tell and do the lines need > to be uncommented ? After the changes are made to the Makefile what are the > remaining steps ? > > #MYSQLROOT = /software > #CFLAGS += -DAUTH_MYSQL -I$(MYSQLROOT)/include/mysql > #LDFLAGS += -L$(MYSQLROOT)/lib/mysql > #LDLIBS += -lmysqlclient I imagine that /usr is the appropriate MYSQLROOT for a package-installed copy of MySQL. What it means is simply that the include files are in MYSQLROOT/include/mysql, and the libraries in MYSQLROOT/lib/mysql. You can check this using (I think) dpkg -L libmysqlclient. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ God is a comedian, playing to an audience that's too afraid to laugh (Voltaire) From chris@ex-parrot.com Fri Apr 13 03:24:05 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14ntFl-0006CZ-00 for vmail-discuss@lists.beasts.org; Fri, 13 Apr 2001 03:24:05 +0100 Received: from caesious.cold.local ([62.253.134.204]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA25603; Fri, 13 Apr 2001 03:16:09 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 14ntFk-000344-00; Fri, 13 Apr 2001 03:24:04 +0100 Date: Fri, 13 Apr 2001 03:24:04 +0100 From: Chris Lightfoot To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Success Message-ID: <20010413032404.C31571@caesious.cold.local> References: <20010412212647.B30988@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cputek@home.com on Thu, Apr 12, 2001 at 03:44:32PM -0500 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Apr 12, 2001 at 03:44:32PM -0500, Jeff wrote: > Every time i post to the list i get two messages back that are identical > except where they came from. You could configure your mail system to discard the duplicates. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``It's is not, it isn't ain't, and it's it's, not its, if you mean it is. If you don't, it's its. Then too, it's hers. It isn't her's. It isn't our's either. It's ours, and likewise yours and theirs.'' (From `Edpress News') From chris@ex-parrot.com Fri Apr 13 03:28:26 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 14ntJy-0006EY-00 for vmail-discuss@lists.beasts.org; Fri, 13 Apr 2001 03:28:26 +0100 Received: from caesious.cold.local ([62.253.134.204]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA25894; Fri, 13 Apr 2001 03:20:30 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 14ntJx-00037U-00; Fri, 13 Apr 2001 03:28:25 +0100 Date: Fri, 13 Apr 2001 03:28:25 +0100 From: Chris Lightfoot To: Jeff Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] INSERT DSN HERE Message-ID: <20010413032825.E31571@caesious.cold.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cputek@home.com on Thu, Apr 12, 2001 at 03:28:01PM -0500 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Apr 12, 2001 at 03:28:01PM -0500, Jeff wrote: > what goes here ? (example) > > # get database handle > $dbh = DBI->connect(); # INSERT YOUR DSN HERE The DSN of the database, obviously. man DBD::mysql would help you here. I quote: | SYNOPSIS | use DBI; | | $driver = "mSQL"; # or "mSQL1"; | $dsn = "DBI:$driver:database=$database;host=$hostname"; | | $dbh = DBI->connect($dsn, undef, undef); | | or | | $driver = "mysql"; | $dsn = "DBI:$driver:database=$database;host=$hostname;port=$port"; | | $dbh = DBI->connect($dsn, $user, $password); So, a good guess would be $dbh = DBI->connect("DBI:mysql:database=DATABASE;host=localhost;user=USER;password=PASSWORD"); -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``... the reason soldiers retire early is that, at about age 40 - 45, they realise that war is dangerous.'' (anon.) From mpacyna@nexvision.com Thu May 17 21:57:37 2001 Received: from mail.nexvision.net ([216.220.40.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 150Uq1-0003sg-00 for vmail-discuss@lists.beasts.org; Thu, 17 May 2001 21:57:37 +0100 Received: from [216.191.156.146] (helo=sirius) by mail.nexvision.net with smtp (Exim 3.21 #3) id 150Upy-0000dA-00 for vmail-discuss@lists.beasts.org; Thu, 17 May 2001 16:57:34 -0400 From: "Marcin Pacyna" To: Date: Thu, 17 May 2001 16:57:38 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I'm trying to migrate my 600+ users from a regular POP3 setup (1 unix system account per POP3 mailbox) to vmail-sql (mysql + tpop3d + exim) setup. One of the concerns I have is migrating the passwords which are currently stored in /etc/shadow as (AFAIK) MD5 hashes: (this is a RedHat 6.2 box BTW): example entry from /etc/shadow: domainvm1:$1$dsBlPaKU$OQ45C8IlRjE2GBq1uK.Qi.:11439:0:99999:7:-1:-1:114550524 however if I put that password hash string ($1$dsBlPaKU$OQ45C8IlRjE2GBq1uK.Qi.) into the popbox table - I can't authenticate. If I generate the password using the sample VE-passwd script then auth works fine. The hash strings in /etc/shadow all start with '$1$' which I think is the salt but I'm not sure what to do with it. In short - does anyone know how can I migrate/convert all the hashes from /etc/shadow to something that tpop3d understands? Regards, Marcin Pacyna System Administrator Nexvision Interactive From chris@ex-parrot.com Fri May 18 01:54:57 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 150YXg-0004df-00 for vmail-discuss@lists.beasts.org; Fri, 18 May 2001 01:54:56 +0100 Received: from caesious.cold.local ([62.253.134.204]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA23241; Fri, 18 May 2001 01:46:09 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 150YXe-0000Xx-00; Fri, 18 May 2001 01:54:54 +0100 Date: Fri, 18 May 2001 01:54:54 +0100 From: Chris Lightfoot To: Marcin Pacyna Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Message-ID: <20010518015454.A2082@caesious.cold.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mpacyna@nexvision.com on Thu, May 17, 2001 at 04:57:38PM -0400 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, May 17, 2001 at 04:57:38PM -0400, Marcin Pacyna wrote: > I'm trying to migrate my 600+ users from a regular POP3 setup (1 unix system > account per POP3 mailbox) to vmail-sql (mysql + tpop3d + exim) setup. One > of the concerns I have is migrating the passwords which are currently stored > in /etc/shadow as (AFAIK) MD5 hashes: (this is a RedHat 6.2 box BTW): > > example entry from /etc/shadow: > > domainvm1:$1$dsBlPaKU$OQ45C8IlRjE2GBq1uK.Qi.:11439:0:99999:7:-1:-1:114550524 > > however if I put that password hash string > ($1$dsBlPaKU$OQ45C8IlRjE2GBq1uK.Qi.) into the popbox table - I can't > authenticate. If I generate the password using the sample VE-passwd script > then auth works fine. The hash strings in /etc/shadow all start with '$1$' > which I think is the salt but I'm not sure what to do with it. > > In short - does anyone know how can I migrate/convert all the hashes from > /etc/shadow to something that tpop3d understands? A brief look at the PAM source code indicates that this will not be possible directly; unfortunately, the PAM md5crypt passwords contain a salt (the `$1$' is a magic number; the salt is separate) and the vmail-sql ones do not (probably an oversight). There are three possibilities: 1. Get your users to change their passwords. Evidently you don't want to do this, otherwise you wouldn't be asking this question :) 2. Modify tpop3d and vmail-sql to implement the crypt-md5 algorithm. mysql_crypt.patch in the distribution would probably serve as a starting point; you'll also need to link against crypt_md5 from the PAM distribution. You'll also need to implement a perl version of this to make the vmail-sql admin scripts work. 3. Modify tpop3d to migrate the passwords (with a little bit of help). (This is the solution I recommend.) The basic game here is to alter the auth_pam auth_pam_new_user_pass function so that when a user is correctly authenticated it emits some line to the syslog which you can then grep for, something like MIGRATE: update popbox set password = '' where user = '' which you can then feed in to the database. This way, once all the users have successfully logged in once, you will have enough information to migrate all their passwords. Observe also that this obeys the privacy constraint of never revealing users' passwords in plain text. The problem here is that if you have users who check their mail only infrequently, you may spend a long time waiting for all users to be migrated across. The patch is fairly simple. In v1.3.1, add after line 109 of auth_pam.c the following: (untested) { MD5_CTX ctx; unsigned char buf1[16], *p; char buf2[33], *q; MD5Init(&ctx); MD5Update(&ctx, (unsigned char*)pass, strlen(pass); MD5Final(buf1, &ctx); for (p = buf1, q = buf2; p < buf1 + 16; ++p, q += 2) sprintf(q, "%02x", (unsigned int)*p); print_log(LOG_INFO, "MIGRATE update popbox set password = '%s' where user = '%s'", buf2, user); } Also insert after line 30: #include "md5.h" Test this using a known password in /etc/shadow to verify that I've got it right! -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``The only reason [George W. Bush] gets lost in thought is because it is unfamiliar territory.'' (newspaper editorial) From pdw@sphinx.mythic-beasts.com Fri May 18 08:59:33 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 150fAb-0005oR-00; Fri, 18 May 2001 08:59:33 +0100 Date: Fri, 18 May 2001 08:59:33 +0100 From: Paul Warren To: Chris Lightfoot Cc: Marcin Pacyna , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Message-ID: <20010518085933.A20893@sphinx.mythic-beasts.com> References: <20010518015454.A2082@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518015454.A2082@caesious.cold.local>; from chris@ex-parrot.com on Fri, May 18, 2001 at 01:54:54AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, May 18, 2001 at 01:54:54AM +0100, Chris Lightfoot wrote: > On Thu, May 17, 2001 at 04:57:38PM -0400, Marcin Pacyna wrote: > > In short - does anyone know how can I migrate/convert all the hashes from > > /etc/shadow to something that tpop3d understands? > > 2. Modify tpop3d and vmail-sql to implement the > crypt-md5 algorithm. > > mysql_crypt.patch in the distribution would > probably serve as a starting point; Indeed, although it doesn't patch cleanly ATM. > you'll also > need to link against crypt_md5 from the PAM > distribution. Actually, later versions of glibc have "smart" crypt()s, which if salted with a string of the form "$1$xxxxx$" (check the info page for how many x's you need) will generate MD5 passwords, as used in shadow. > You'll also need to implement a perl > version of this to make the vmail-sql admin scripts > work. True, but as above, you'll be able to use the crypt() function, so it's pretty straightforward. > 3. Modify tpop3d to migrate the passwords (with a > little bit of help). I don't really see the need to migrate - there is nothing actually wrong with the password hashes produced by crypt(). I understand that LDAP users have a similar problem. The way I would like to see this fixed is consistent with LDAP whereby straight MD5 hex hashes are stored as: {md5}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx and anything produced by crypt() is stored as: {crypt}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx We could of course have MD5 as the default, to maintain compatibility with existing vmail users. I think that the above constitutes useful functionality - the ability to cut and paste passwords from /etc/passwd or /etc/shadow is a Good Thing. I intend to implement this in the Perl scripts. To implement this in the C is going to requiring replacing one SELECT with two, because we need to some smart processing of the hash, but I don't think that two SELECTs is criminal... Paul From pdw@sphinx.mythic-beasts.com Fri May 18 10:03:01 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 150gA1-00063m-00; Fri, 18 May 2001 10:03:01 +0100 Date: Fri, 18 May 2001 10:03:01 +0100 From: Paul Warren To: Chris Lightfoot Cc: Marcin Pacyna , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Message-ID: <20010518100301.C20893@sphinx.mythic-beasts.com> References: <20010518015454.A2082@caesious.cold.local> <20010518085933.A20893@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518085933.A20893@sphinx.mythic-beasts.com>; from pdw@ex-parrot.com on Fri, May 18, 2001 at 08:59:33AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, May 18, 2001 at 08:59:33AM +0100, Paul Warren wrote: > I intend to implement this in the Perl scripts. To implement this in > the C is going to requiring replacing one SELECT with two, because we > need to some smart processing of the hash, but I don't think that two > SELECTs is criminal... Of course, if you're using crypt() style passwords, you'll always need two selects because you need to get the salt... Paul From chris@madingley.org Fri May 18 10:41:16 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 150gl1-0006LT-00 for vmail-discuss@lists.beasts.org; Fri, 18 May 2001 10:41:15 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id KAA28783; Fri, 18 May 2001 10:41:15 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id KAA07236; Fri, 18 May 2001 10:41:15 +0100 Date: Fri, 18 May 2001 10:41:15 +0100 From: Chris Lightfoot To: Paul Warren Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Message-ID: <20010518104115.A7052@aquila.esc.cam.ac.uk> References: <20010518015454.A2082@caesious.cold.local> <20010518085933.A20893@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010518085933.A20893@sphinx.mythic-beasts.com> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, May 18, 2001 at 08:59:33AM +0100, Paul Warren wrote: > On Fri, May 18, 2001 at 01:54:54AM +0100, Chris Lightfoot wrote: > > On Thu, May 17, 2001 at 04:57:38PM -0400, Marcin Pacyna wrote: > > > In short - does anyone know how can I migrate/convert all the hashes from > > > /etc/shadow to something that tpop3d understands? > > > > 2. Modify tpop3d and vmail-sql to implement the > > crypt-md5 algorithm. > > > > mysql_crypt.patch in the distribution would > > probably serve as a starting point; > > Indeed, although it doesn't patch cleanly ATM. OK. That's not surprising, though I didn't know about it :) > > you'll also > > need to link against crypt_md5 from the PAM > > distribution. > > Actually, later versions of glibc have "smart" crypt()s, which if salted > with a string of the form "$1$xxxxx$" (check the info page for how many > x's you need) will generate MD5 passwords, as used in shadow. Yeah, but this won't be available on the non-Linux systems on which tpop3d runs, so I think including crypt_md5 in the distribution is probably a good bet. > > You'll also need to implement a perl > > version of this to make the vmail-sql admin scripts > > work. > > True, but as above, you'll be able to use the crypt() function, so it's > pretty straightforward. Well.... I'll do a straight perl one anyway. > > 3. Modify tpop3d to migrate the passwords (with a > > little bit of help). > > I don't really see the need to migrate - there is nothing actually wrong > with the password hashes produced by crypt(). I understand that LDAP > users have a similar problem. The way I would like to see this fixed is > consistent with LDAP whereby straight MD5 hex hashes are stored as: > > {md5}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > and anything produced by crypt() is stored as: > > {crypt}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ... with the proviso that on non-Linux systems we'll need to look for {crypt}$1$...$. > We could of course have MD5 as the default, to maintain compatibility > with existing vmail users. Yeah. > I think that the above constitutes useful functionality - the ability to > cut and paste passwords from /etc/passwd or /etc/shadow is a Good Thing. Yes-- I agree, this is a good idea, and I will implement it. > I intend to implement this in the Perl scripts. To implement this in > the C is going to requiring replacing one SELECT with two, because we > need to some smart processing of the hash, but I don't think that two > SELECTs is criminal... No, you don't need two SELECTs. You do something like SELECT domain.path, popbox.mbox_name, domain.unix_user, popbox.password FROM popbox, domain WHERE popbox.local_part = $local_part AND popbox.domain_name = $domain AND popbox.domain_name = domain.domain_name ... then you compare the passwords you've retrieved, as in the APOP authenticator. In fact, we could use this to remove the separate apop_password field, which is not yet used, and replace it with {plaintext}.... -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``Unacknowledged poets are the legislators of the world.'' (quoted from New Statesman by A. Monkhouse, 1933) From pdw@sphinx.mythic-beasts.com Fri May 18 11:32:32 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 150hYd-0006a3-00 for vmail-discuss@lists.beasts.org; Fri, 18 May 2001 11:32:31 +0100 Date: Fri, 18 May 2001 11:32:31 +0100 From: Paul Warren To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Message-ID: <20010518113231.D20893@sphinx.mythic-beasts.com> References: <20010518015454.A2082@caesious.cold.local> <20010518085933.A20893@sphinx.mythic-beasts.com> <20010518104115.A7052@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518104115.A7052@aquila.esc.cam.ac.uk>; from chris@ex-parrot.com on Fri, May 18, 2001 at 10:41:15AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, May 18, 2001 at 10:41:15AM +0100, Chris Lightfoot wrote: > > Actually, later versions of glibc have "smart" crypt()s, which if salted > > with a string of the form "$1$xxxxx$" (check the info page for how many > > x's you need) will generate MD5 passwords, as used in shadow. > > Yeah, but this won't be available on the non-Linux systems > on which tpop3d runs, so I think including crypt_md5 in > the distribution is probably a good bet. Possibly. I think that implementing a straight "use the system crypt()" is a useful thing to do. It just means that people who don't have smart crypt()s won't be able to cut and paste directly from /etc/shadow (assuming that shadow is using something other than system crypt()) > > True, but as above, you'll be able to use the crypt() function, so it's > > pretty straightforward. > > Well.... I'll do a straight perl one anyway. OK. The libc info page is the only page I have found that documents what a valid salt is if you want MD5 passwords. > > I don't really see the need to migrate - there is nothing actually wrong > > with the password hashes produced by crypt(). I understand that LDAP > > users have a similar problem. The way I would like to see this fixed is > > consistent with LDAP whereby straight MD5 hex hashes are stored as: > > > > {md5}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > > > and anything produced by crypt() is stored as: > > > > {crypt}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > ... with the proviso that on non-Linux systems we'll need > to look for {crypt}$1$...$. Why? IMHO, if it starts {crypt} we just chuck it at crypt(). > > I think that the above constitutes useful functionality - the ability to > > cut and paste passwords from /etc/passwd or /etc/shadow is a Good Thing. > > Yes-- I agree, this is a good idea, and I will implement > it. Excellent. I believe this needs to go in: tpop3d VE-passwd cgi-bin/setpasswd (or whatever it's called) I'll do the Perl if you don't beat me to it (I'm pretty busy this w/e) > > I intend to implement this in the Perl scripts. To implement this in > > the C is going to requiring replacing one SELECT with two, because we > > need to some smart processing of the hash, but I don't think that two > > SELECTs is criminal... > > No, you don't need two SELECTs. You do something like > > SELECT domain.path, popbox.mbox_name, domain.unix_user, popbox.password > FROM popbox, domain > WHERE popbox.local_part = $local_part > AND popbox.domain_name = $domain > AND popbox.domain_name = domain.domain_name > > ... then you compare the passwords you've retrieved, as in > the APOP authenticator. Yes of course - I'm being exceptionally dense. Excuse: I was writing that before 9am, and nothing works right before 9am :-) > In fact, we could use this to remove the separate > apop_password field, which is not yet used, and replace it > with {plaintext}.... Even better. Paul From chris@madingley.org Fri May 18 11:37:09 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 150hd7-0006bn-00 for vmail-discuss@lists.beasts.org; Fri, 18 May 2001 11:37:09 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id LAA29010; Fri, 18 May 2001 11:37:08 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id LAA11396; Fri, 18 May 2001 11:37:08 +0100 Date: Fri, 18 May 2001 11:37:08 +0100 From: Chris Lightfoot To: Paul Warren Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Message-ID: <20010518113708.A11287@aquila.esc.cam.ac.uk> References: <20010518015454.A2082@caesious.cold.local> <20010518085933.A20893@sphinx.mythic-beasts.com> <20010518104115.A7052@aquila.esc.cam.ac.uk> <20010518113231.D20893@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010518113231.D20893@sphinx.mythic-beasts.com> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, May 18, 2001 at 11:32:31AM +0100, Paul Warren wrote: > On Fri, May 18, 2001 at 10:41:15AM +0100, Chris Lightfoot wrote: > > > > Yeah, but this won't be available on the non-Linux systems > > on which tpop3d runs, so I think including crypt_md5 in > > the distribution is probably a good bet. > > Possibly. I think that implementing a straight "use the system crypt()" > is a useful thing to do. It just means that people who don't have smart > crypt()s won't be able to cut and paste directly from /etc/shadow > (assuming that shadow is using something other than system crypt()) On the argument that crypt_md5 passwords are superior to ours, we should make them available everywhere :) > OK. The libc info page is the only page I have found that documents > what a valid salt is if you want MD5 passwords. I expect the code does too, though I haven't checked in detail :) > > > and anything produced by crypt() is stored as: > > > > > > {crypt}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > > > ... with the proviso that on non-Linux systems we'll need > > to look for {crypt}$1$...$. > > Why? IMHO, if it starts {crypt} we just chuck it at crypt(). No, the way magic smart crypt works is to use the $1$ as a magic number, so on non-Linux systems we need to check for this explicitly. > > > I think that the above constitutes useful functionality - the ability to > > > cut and paste passwords from /etc/passwd or /etc/shadow is a Good Thing. > > > > Yes-- I agree, this is a good idea, and I will implement > > it. > > Excellent. I believe this needs to go in: > > tpop3d > VE-passwd > cgi-bin/setpasswd (or whatever it's called) > > I'll do the Perl if you don't beat me to it (I'm pretty busy this w/e) OK. Dunno when I'll get round to that, but I'll probably do the tpop3d stuff this pm. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``The Fifth Law of Pipes: The outside diameter must exceed the inside diameter; otherwise the hole will be on the outside of the pipe.'' From pdw@sphinx.mythic-beasts.com Fri May 18 11:48:15 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 150hnr-0006fd-00; Fri, 18 May 2001 11:48:15 +0100 Date: Fri, 18 May 2001 11:48:15 +0100 From: Paul Warren To: Chris Lightfoot Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Message-ID: <20010518114815.F20893@sphinx.mythic-beasts.com> References: <20010518015454.A2082@caesious.cold.local> <20010518085933.A20893@sphinx.mythic-beasts.com> <20010518104115.A7052@aquila.esc.cam.ac.uk> <20010518113231.D20893@sphinx.mythic-beasts.com> <20010518113708.A11287@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518113708.A11287@aquila.esc.cam.ac.uk>; from chris@ex-parrot.com on Fri, May 18, 2001 at 11:37:08AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, May 18, 2001 at 11:37:08AM +0100, Chris Lightfoot wrote: > > Possibly. I think that implementing a straight "use the system crypt()" > > is a useful thing to do. It just means that people who don't have smart > > crypt()s won't be able to cut and paste directly from /etc/shadow > > (assuming that shadow is using something other than system crypt()) > > On the argument that crypt_md5 passwords are superior to > ours, we should make them available everywhere :) What do you mean by "ours" ? Our straight MD5 passwords? If so, why are they better? > > OK. The libc info page is the only page I have found that documents > > what a valid salt is if you want MD5 passwords. > > I expect the code does too, though I haven't checked in > detail :) Seems likely. > > > > and anything produced by crypt() is stored as: > > > > > > > > {crypt}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > > > > > ... with the proviso that on non-Linux systems we'll need > > > to look for {crypt}$1$...$. > > > > Why? IMHO, if it starts {crypt} we just chuck it at crypt(). > > No, the way magic smart crypt works is to use the $1$ as a > magic number, so on non-Linux systems we need to check for > this explicitly. Yeah. My point was that if a password is prefixed with {crypt} it should mean "this password was created by and can be checked with the system crypt()". So we really don't care what comes after the {crypt}, we just chuck it at crypt(). If it happens that the password is MD5 crypt'ed rather than UNIX-crappy-crypted then all the better. Doing this means that people on crummy UNIX systems that still haven't developed shadow passwords and better crypt() functions can cut and paste passwords from /etc/passwd. We may also want to implement a {crypt-md5}... > > Excellent. I believe this needs to go in: > > > > tpop3d > > VE-passwd > > cgi-bin/setpasswd (or whatever it's called) > > > > I'll do the Perl if you don't beat me to it (I'm pretty busy this w/e) > > OK. Dunno when I'll get round to that, but I'll probably > do the tpop3d stuff this pm. OK. Paul From chris@madingley.org Tue May 22 11:56:07 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 1529pf-0007NK-00; Tue, 22 May 2001 11:56:07 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id LAA12623; Tue, 22 May 2001 11:56:05 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id LAA28794; Tue, 22 May 2001 11:56:05 +0100 Date: Tue, 22 May 2001 11:56:05 +0100 From: Chris Lightfoot To: Marcin Pacyna Cc: vmail-discuss@lists.beasts.org, tpop3d-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] migrating MD5 hash used in /etc/shadow to vmail-sql Message-ID: <20010522115605.A28568@aquila.esc.cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, May 17, 2001 at 04:57:38PM -0400, Marcin Pacyna wrote: > I'm trying to migrate my 600+ users from a regular POP3 setup (1 unix system > account per POP3 mailbox) to vmail-sql (mysql + tpop3d + exim) setup. One > of the concerns I have is migrating the passwords which are currently stored > in /etc/shadow as (AFAIK) MD5 hashes: (this is a RedHat 6.2 box BTW): > > example entry from /etc/shadow: > > domainvm1:$1$dsBlPaKU$OQ45C8IlRjE2GBq1uK.Qi.:11439:0:99999:7:-1:-1:114550524 > > however if I put that password hash string > ($1$dsBlPaKU$OQ45C8IlRjE2GBq1uK.Qi.) into the popbox table - I can't > authenticate. If I generate the password using the sample VE-passwd script > then auth works fine. The hash strings in /etc/shadow all start with '$1$' > which I think is the salt but I'm not sure what to do with it. > > In short - does anyone know how can I migrate/convert all the hashes from > /etc/shadow to something that tpop3d understands? OK, there is now a new tpop3d, 1.3.2, which supports various different sorts of password hashes in the MySQL database. This is a not-quite-released version, but it has been tested. Get it from http://www.ex-parrot.com/~chris/tpop3d/tpop3d-1.3.2.tar.gz You will need to alter your vmail-sql table with a command like ALTER TABLE popbox MODIFY password_hash VARCHAR(255) to accomodate the longer password hash strings. Then you can use {crypt}... system crypt {crypt_md5}... crypt_md5 as in Linux PAM {md5}... MD5 password {plaintext}... plaintext password used for APOP ... old-style untagged MD5 password Vmail-sql itself does not yet support these -- but it will shortly. Thus, to migrate your existing passwords, you should be able to simply copy the second field from /etc/shadow into the database, prefixing it with `{crypt}' or `{crypt_md5}'. (The two are equivalent on Linux because the system crypt(3) function detects the special $1$...$ syntax of crypt_md5 passwords and uses the right version of the crypt function accordingly. But this is not the case on other systems, so both options are provided in tpop3d.) -- Chris Lightfoot -- www.ex-parrot.com/~chris/ All human actions are equivalent, and all are doomed to failure. (Sartre) From wanted@gnu.univ.gda.pl Tue May 29 15:22:15 2001 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 154kNw-0006GR-00 for vmail-discuss@lists.beasts.org; Tue, 29 May 2001 15:22:15 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 154kNd-0001x4-00 for ; Tue, 29 May 2001 16:21:53 +0200 Date: Tue, 29 May 2001 16:21:53 +0200 From: Marcin Sochacki To: vmail-discuss@lists.beasts.org Message-ID: <20010529162153.A7462@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [Vmail-discuss] vmail and local username conflict Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi! I've been using vmail with exim for quite some time now. Currently one problem bothers me: I've got a local (/etc/passwd) user called 'xyz' and vmail user (in MySQL) 'xyz@example.com'. Whenever a mail is sent to xyz@example.com, the first user takes precedence and mail is delivered to his spool file. In my setup I'd prefer delivery to virtual user. How can it be done? Marcin From mpacyna@nexvision.com Tue May 29 15:39:55 2001 Received: from mail.nexvision.net ([216.220.40.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 154kf4-0006M4-00 for vmail-discuss@lists.beasts.org; Tue, 29 May 2001 15:39:54 +0100 Received: from [216.191.156.146] (helo=sirius) by mail.nexvision.net with smtp (Exim 3.21 #3) id 154ka4-00017l-00; Tue, 29 May 2001 10:34:44 -0400 From: "Marcin Pacyna" To: "Marcin Sochacki" , Subject: RE: [Vmail-discuss] vmail and local username conflict Date: Tue, 29 May 2001 10:34:43 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-to: <20010529162153.A7462@gnu.univ.gda.pl> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion It all depends on exim setup - I'd suggest that you look into the "include_domain" directive in exim or change the order of directors in exim's config file. ps. rodak? :) Regards, Marcin Pacyna System Administrator Nexvision Interactive -----Original Message----- From: vmail-discuss-admin@lists.beasts.org [mailto:vmail-discuss-admin@lists.beasts.org]On Behalf Of Marcin Sochacki Sent: Tuesday, May 29, 2001 10:22 AM To: vmail-discuss@lists.beasts.org Subject: [Vmail-discuss] vmail and local username conflict Hi! I've been using vmail with exim for quite some time now. Currently one problem bothers me: I've got a local (/etc/passwd) user called 'xyz' and vmail user (in MySQL) 'xyz@example.com'. Whenever a mail is sent to xyz@example.com, the first user takes precedence and mail is delivered to his spool file. In my setup I'd prefer delivery to virtual user. How can it be done? Marcin _______________________________________________ vmail-discuss mailing list vmail-discuss@lists.beasts.org http://lists.beasts.org/mailman/listinfo/vmail-discuss From mpacyna@nexvision.com Tue Jul 17 17:25:03 2001 Received: from mail.nexvision.net ([216.220.40.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15MXeh-0007W8-00 for vmail-discuss@lists.beasts.org; Tue, 17 Jul 2001 17:25:03 +0100 Received: from [216.191.156.146] (helo=sirius) by mail.nexvision.net with smtp (Exim 3.21 #3) id 15MXeW-0003ph-00 for vmail-discuss@lists.beasts.org; Tue, 17 Jul 2001 12:24:52 -0400 From: "Marcin Pacyna" To: Date: Tue, 17 Jul 2001 12:24:56 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Subject: [Vmail-discuss] POP-and-SEND with vmail Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hey, I'm wondering what others are doing for POP-and-SEND when using vmail (w/tpop3d) setup. I'm thinking of switching to vmail but that's one of the reasons that I haven't done it yet. Regards, Marcin Pacyna System Administrator Nexvision Interactive From chris@madingley.org Tue Jul 17 17:35:40 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15MXox-0007aj-00 for vmail-discuss@lists.beasts.org; Tue, 17 Jul 2001 17:35:39 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id QAA24607; Mon, 17 Jul 2000 16:33:02 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id RAA18065; Tue, 17 Jul 2001 17:35:32 +0100 Date: Tue, 17 Jul 2001 17:35:32 +0100 From: Chris Lightfoot To: Marcin Pacyna Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] POP-and-SEND with vmail Message-ID: <20010717173532.A17887@aquila.esc.cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 17, 2001 at 12:24:56PM -0400, Marcin Pacyna wrote: > Hey, > > I'm wondering what others are doing for POP-and-SEND when using vmail > (w/tpop3d) setup. I'm thinking of switching to vmail but that's one of the > reasons that I haven't done it yet. I guess you mean what I think of as `POP-before-SMTP relaying'? AFAIAA, there are two basic approaches: 1. have some long-running process which watches the log files, and then writes into a table of hosts allowed to relay when it sees an incoming connection to tpop3d get authenticated; 2. some sort of event-driven scheme; this can be done (for instance) by modifying the code in tpop3d's main.c to authorise relaying immediately before the daemon forks and drops privileges; or use auth_perl or auth_other to do the same thing. In the latter case you'd (obviously) need to write an authenticator. A number of people have asked me about things of this sort, and I suspect I will introduce a way to hook the functionality in to tpop3d in a neat way. Meanwhile, I believe that previous posters have had success with the first (ugly) approach above. Out of interest, how do you set up permission to relay? How does it get revoked (presumably a little while after it is granted)? (If I've missed the point completely, well, I hope this email has been informative anyway....) -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``What men are poets who can speak of Jupiter as if he were a man, but if he is an immense spinning sphere of methane and ammonia must be silent?'' (Richard Feynman) From mpacyna@nexvision.com Tue Jul 17 18:01:47 2001 Received: from mail.nexvision.net ([216.220.40.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15MYEE-0007iM-00 for vmail-discuss@lists.beasts.org; Tue, 17 Jul 2001 18:01:46 +0100 Received: from [216.191.156.146] (helo=sirius) by mail.nexvision.net with smtp (Exim 3.21 #3) id 15MYEB-0004Xk-00; Tue, 17 Jul 2001 13:01:43 -0400 From: "Marcin Pacyna" To: "Chris Lightfoot" Cc: Subject: RE: [Vmail-discuss] POP-and-SEND with vmail Date: Tue, 17 Jul 2001 13:01:47 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20010717173532.A17887@aquila.esc.cam.ac.uk> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion That's exactly what I meant by POP-and-SEND. Currently I'm redirecting the log output from my POP3 daemon into a named pipe (via syslog) which in turn gets parsed by a perl script (which I found somewhere on a sendmail site) which puts authenticated IPs as files into a spool directory which then gets compiled into a table which is read by exim... etc. That same script checks the creation time of each file and removes the appropriate files from the spool after a specified time. I could use the same method with tpop3d however the log output from tpop3d is quite different - my current pop3 daemon spits out easily parsable lines such as: Jul 17 12:54:27 mail ipop3d[16983]: Login user=someuser host=somehost.domain.com [10.10.10.10] nmsgs=0/0 so all I need to look for is a line that has a "Login" and I grab the IP from it. tpop3d has slightly more verbose output usually spanning multiple lines which isn't as easy to parse. Maybe it'd be useful to add an option to have a more compact logging in tpop3d? (if there isn't one in place already) Regards, Marcin Pacyna System Administrator Nexvision Interactive -----Original Message----- From: vmail-discuss-admin@lists.beasts.org [mailto:vmail-discuss-admin@lists.beasts.org]On Behalf Of Chris Lightfoot Sent: Tuesday, July 17, 2001 12:36 PM To: Marcin Pacyna Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] POP-and-SEND with vmail On Tue, Jul 17, 2001 at 12:24:56PM -0400, Marcin Pacyna wrote: > Hey, > > I'm wondering what others are doing for POP-and-SEND when using vmail > (w/tpop3d) setup. I'm thinking of switching to vmail but that's one of the > reasons that I haven't done it yet. I guess you mean what I think of as `POP-before-SMTP relaying'? AFAIAA, there are two basic approaches: 1. have some long-running process which watches the log files, and then writes into a table of hosts allowed to relay when it sees an incoming connection to tpop3d get authenticated; 2. some sort of event-driven scheme; this can be done (for instance) by modifying the code in tpop3d's main.c to authorise relaying immediately before the daemon forks and drops privileges; or use auth_perl or auth_other to do the same thing. In the latter case you'd (obviously) need to write an authenticator. A number of people have asked me about things of this sort, and I suspect I will introduce a way to hook the functionality in to tpop3d in a neat way. Meanwhile, I believe that previous posters have had success with the first (ugly) approach above. Out of interest, how do you set up permission to relay? How does it get revoked (presumably a little while after it is granted)? (If I've missed the point completely, well, I hope this email has been informative anyway....) -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``What men are poets who can speak of Jupiter as if he were a man, but if he is an immense spinning sphere of methane and ammonia must be silent?'' (Richard Feynman) _______________________________________________ vmail-discuss mailing list vmail-discuss@lists.beasts.org http://lists.beasts.org/mailman/listinfo/vmail-discuss From chris@ex-parrot.com Tue Jul 17 19:05:04 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15MZDU-00080I-00 for vmail-discuss@lists.beasts.org; Tue, 17 Jul 2001 19:05:04 +0100 Received: from caesious.cold.local ([62.253.134.38]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA13251; Tue, 17 Jul 2001 18:54:50 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 15MZDR-0006WG-00; Tue, 17 Jul 2001 19:05:01 +0100 Date: Tue, 17 Jul 2001 19:05:01 +0100 From: Chris Lightfoot To: Marcin Pacyna Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] POP-and-SEND with vmail Message-ID: <20010717190501.A25036@caesious.cold.local> References: <20010717173532.A17887@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mpacyna@nexvision.com on Tue, Jul 17, 2001 at 01:01:47PM -0400 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 17, 2001 at 01:01:47PM -0400, Marcin Pacyna wrote: > That's exactly what I meant by POP-and-SEND. > > Currently I'm redirecting the log output from my POP3 daemon into a named > pipe (via syslog) which in turn gets parsed by a perl script (which I found > somewhere on a sendmail site) which puts authenticated IPs as files into a > spool directory which then gets compiled into a table which is read by > exim... etc. That same script checks the creation time of each file and > removes the appropriate files from the spool after a specified time. > > I could use the same method with tpop3d however the log output from tpop3d > is quite different - my current pop3 daemon spits out easily parsable lines > such as: > > Jul 17 12:54:27 mail ipop3d[16983]: Login user=someuser > host=somehost.domain.com [10.10.10.10] nmsgs=0/0 > > so all I need to look for is a line that has a "Login" and I grab the IP > from it. > > tpop3d has slightly more verbose output usually spanning multiple lines > which isn't as easy to parse. Indeed. I have added for the next version (1.3.4) a single logging line which should be suitable for your purposes. Sorry no patch yet, but manually, in file main.c around line 719, after _exit(0); } add /* Began session; log something useful in case of POP-before-SMTP * relaying. */ print_log(LOG_INFO, _("fork_child: %s: successfully authenticated with auth_%s"), c->idstr, c->a->auth); This will then output something like ... fork_child: [42]fish@soup.com(123.45.67.89): successfully authenticated with auth_mysql or whatever. A suitable perl regexp to parse this: ($user, $ipaddr, $authdrv) = ($line =~ /fork_child: \[\d+\]([^(]+)\(([^)]+)\): successfully authenticated with (.+)$/); (Not tested but should work.) Note that this is not in any way secure (it's not secure with ipop3d either). In particular, I could write a program which outputs syslog lines as above for arbitrary IP addresses. But this is not a problem unless users on your POP host have shell access, in which case they can probably send mail through your host by other means anyway. > Maybe it'd be useful to add an option to have a more compact logging in > tpop3d? (if there isn't one in place already) This is probably a good idea, but may not happen very soon. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ Curiosity kills more mice than cats. From pdw@ex-parrot.com Tue Jul 17 21:26:35 2001 Received: from cmailg3.svr.pol.co.uk ([195.92.195.173]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15MbQR-0000pe-00 for vmail-discuss@lists.beasts.org; Tue, 17 Jul 2001 21:26:35 +0100 Received: from [195.92.168.141] (helo=tmailb1.svr.pol.co.uk) by cmailg3.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 15MbQM-0003iL-00; Tue, 17 Jul 2001 21:26:30 +0100 Received: from modem-4.javanese.dialup.pol.co.uk ([217.134.80.4] helo=mythic-beasts.freeserve.co.uk) by tmailb1.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 15MbQ9-0007zo-00; Tue, 17 Jul 2001 21:26:17 +0100 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 15MbQ8-0000Pc-00; Tue, 17 Jul 2001 21:26:16 +0100 Date: Tue, 17 Jul 2001 21:26:16 +0100 From: Paul Warren To: Chris Lightfoot Cc: Marcin Pacyna , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] POP-and-SEND with vmail Message-ID: <20010717212616.A1577@cerberus.grovehouse.local> References: <20010717173532.A17887@aquila.esc.cam.ac.uk> <20010717190501.A25036@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <20010717190501.A25036@caesious.cold.local>; from chris@ex-parrot.com on Tue, Jul 17, 2001 at 07:05:01PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 17, 2001 at 07:05:01PM +0100, Chris Lightfoot wrote: > or whatever. A suitable perl regexp to parse this: > > ($user, $ipaddr, $authdrv) = ($line =~ /fork_child: \[\d+\]([^(]+)\(([^)]+)\): successfully authenticated with (.+)$/); > > (Not tested but should work.) > > Note that this is not in any way secure (it's not secure > with ipop3d either). In particular, I could write a > program which outputs syslog lines as above for arbitrary > IP addresses. But this is not a problem unless users on > your POP host have shell access, in which case they can > probably send mail through your host by other means > anyway. Even without shell access, I wouldn't like to bet that you couldn't get that message into syslog anyway. Writing a regexp that is tied to the beginning of the line might help, but it might be worth considering a more "serious" solution to this problem, as it seems to be reasonably popular amongst users of virtual email software. We could do an execute-command-on-auth, or logging to a separate file. I will include our password based solution to this problem in the next distribution of vmail. Paul From wanted@gnu.univ.gda.pl Wed Jul 18 06:02:11 2001 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15MjTP-0002oz-00 for vmail-discuss@lists.beasts.org; Wed, 18 Jul 2001 06:02:11 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 15MeQi-0004Dw-00; Wed, 18 Jul 2001 01:39:04 +0200 Date: Wed, 18 Jul 2001 01:39:04 +0200 From: Marcin Sochacki To: Paul Warren Cc: Chris Lightfoot , Marcin Pacyna , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] POP-and-SEND with vmail Message-ID: <20010718013904.A16208@gnu.univ.gda.pl> References: <20010717173532.A17887@aquila.esc.cam.ac.uk> <20010717190501.A25036@caesious.cold.local> <20010717212616.A1577@cerberus.grovehouse.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010717212616.A1577@cerberus.grovehouse.local>; from pdw@ex-parrot.com on Tue, Jul 17, 2001 at 09:26:16PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 17, 2001 at 09:26:16PM +0100, Paul Warren wrote: > I will include our password based solution to this problem in the next > distribution of vmail. BTW: is there some planned timeframe for releasing Vmail-SQL with support for new schemes of passwords (crypt etc.) as in tpop3d? Actually all I need is a read-only access, so users could change their passwords through WWW interface. The new password should be properly encrypted with MD5. Wanted -- +-------------------------------------------------+ | Sekcja Obslugi Informatycznej Biblioteki Glownej !!! !!! .!!!!!! + | Uniwersytet Gdanski !!! !!! !!! | + tel. (058) 5509436 !!! !!! !!! `!! | `!!!!!!' `!!!!!!' | +-----------------+ From pdw@sphinx.mythic-beasts.com Wed Jul 18 08:59:33 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15MmF3-0003Ce-00; Wed, 18 Jul 2001 08:59:33 +0100 Date: Wed, 18 Jul 2001 08:59:33 +0100 From: Paul Warren To: Marcin Sochacki Cc: Paul Warren , Chris Lightfoot , Marcin Pacyna , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] POP-and-SEND with vmail Message-ID: <20010718085933.B12159@sphinx.mythic-beasts.com> References: <20010717173532.A17887@aquila.esc.cam.ac.uk> <20010717190501.A25036@caesious.cold.local> <20010717212616.A1577@cerberus.grovehouse.local> <20010718013904.A16208@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010718013904.A16208@gnu.univ.gda.pl>; from wanted@gnu.univ.gda.pl on Wed, Jul 18, 2001 at 01:39:04AM +0200 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jul 18, 2001 at 01:39:04AM +0200, Marcin Sochacki wrote: > On Tue, Jul 17, 2001 at 09:26:16PM +0100, Paul Warren wrote: > > I will include our password based solution to this problem in the next > > distribution of vmail. > > BTW: is there some planned timeframe for releasing Vmail-SQL > with support for new schemes of passwords (crypt etc.) as in tpop3d? > Actually all I need is a read-only access, so users could change their > passwords through WWW interface. The new password should be properly encrypted > with MD5. Unfortunately this release has dragged on for much longer that is desirable. Perhaps if I advertise a release date on this list it will pressure me into stopping fiddling and actually getting the thing out the door. It will be released this Friday evening, at the latest :-) Paul From pdw@sphinx.mythic-beasts.com Wed Jul 25 13:41:44 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15PNyy-0007Hx-00 for vmail-discuss@lists.beasts.org; Wed, 25 Jul 2001 13:41:44 +0100 Date: Wed, 25 Jul 2001 13:41:43 +0100 From: Paul Warren To: vmail-discuss@lists.beasts.org Message-ID: <20010725134143.C23194@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [Vmail-discuss] Finally... vmail-0.4 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion vmail-sql 0.4 is now available from: http://www.ex-parrot.com/~chris/vmail-sql/ Changes are listed below. Apologies for the delay in getting this out. The alert amongst you will note that this is not Friday night. Unfortunately the day job has been taking up rather more of my spare time than is appropriate over the last few days. Paul CHANGES: 0.4 * Added support for multiple addresses per alias * Fixed various bugs in email_setup * POP box limit temporarily removed * Added support for multiple password hashing methods (as per tpop3d) * Administrator may choose to let users select "plaintext" hashing * Added installation script * No longer prompts for a separate name for the popbox, when creating popboxes From Paul.Makepeace@realprogrammers.com Tue Jul 31 08:52:37 2001 Received: from tantrix.realprogrammers.com ([216.228.5.63] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15RUKS-0000m7-00 for vmail-discuss@lists.beasts.org; Tue, 31 Jul 2001 08:52:37 +0100 Received: from paulm by tantrix.realprogrammers.com with local (Exim 3.22 #1 (Debian)) id 15RUKR-0003Z1-00; Tue, 31 Jul 2001 00:52:35 -0700 Date: Tue, 31 Jul 2001 00:52:35 -0700 To: Paul Warren Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Finally... vmail-0.4 Message-ID: <20010731005235.Y28907@tantrix.realprogrammers.com> References: <20010725134143.C23194@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010725134143.C23194@sphinx.mythic-beasts.com> User-Agent: Mutt/1.3.18i From: Paul Makepeace Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jul 25, 2001 at 01:41:43PM +0100, Paul Warren wrote: > vmail-sql 0.4 is now available from: > > http://www.ex-parrot.com/~chris/vmail-sql/ Cool. 1. I noticed some SQL things, In README, query = "select remote_name from forwarder, domain where local_part = '$local_part' and forwarder.domain_name = domain.domain_name and domain.domain_name = '$domain'" is equivalent to: select remote_name from forwarder where local_part = '$local_part' and domain_name = '$domain' Ditto the other query. 2. In default user, "local_part = '_default_'" how do you feel about changing that to '*'? The reasoning is a) people could conceivably want _default_ as a valid email b) it translates directly into something exim can understand in its lsearch* lookup type. (Can anyone tell b) is the real motivator? :-) Why I'm doing this is trying to put all the data in CDB format generated from a database on account of exim's constantly re-exec'ing/re-connecting architecture which mitigates against targetting a database in a big system. Paul -- You can only make one dot at a time From chris@ex-parrot.com Tue Jul 31 09:04:45 2001 Received: from mail1-gui.server.ntli.net ([194.168.222.13]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15RUWD-0000uT-00 for vmail-discuss@lists.beasts.org; Tue, 31 Jul 2001 09:04:45 +0100 Received: from caesious.cold.local ([62.253.134.38]) by mail1-gui.server.ntli.net (Post.Office MTA v3.1 release PO203a ID# 0-33929U70000L2S50) with ESMTP id AAA28520; Tue, 31 Jul 2001 09:04:44 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 15RUWB-00030F-00; Tue, 31 Jul 2001 09:04:43 +0100 Date: Tue, 31 Jul 2001 09:04:43 +0100 From: Chris Lightfoot To: Paul Makepeace Cc: Paul Warren , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Finally... vmail-0.4 Message-ID: <20010731090443.A11492@caesious.cold.local> References: <20010725134143.C23194@sphinx.mythic-beasts.com> <20010731005235.Y28907@tantrix.realprogrammers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010731005235.Y28907@tantrix.realprogrammers.com>; from Paul.Makepeace@realprogrammers.com on Tue, Jul 31, 2001 at 12:52:35AM -0700 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 31, 2001 at 12:52:35AM -0700, Paul Makepeace wrote: > On Wed, Jul 25, 2001 at 01:41:43PM +0100, Paul Warren wrote: > > vmail-sql 0.4 is now available from: > > > > http://www.ex-parrot.com/~chris/vmail-sql/ > > Cool. > > 1. I noticed some SQL things, > > In README, > > query = "select remote_name from forwarder, domain where local_part = '$local_part' and > forwarder.domain_name = domain.domain_name and domain.domain_name = '$domain'" > > is equivalent to: > select remote_name from forwarder > where local_part = '$local_part' and domain_name = '$domain' > > Ditto the other query. True for Oracle, where presumably you have foreign-key constraints; but not for MySQL, where one could put rows into the forwarder table which didn't correspond to `real' domains. So from your PoV, yes; from ours, not quite, because of paranoia about audit trails. > 2. In default user, "local_part = '_default_'" how do you feel about > changing that to '*'? The reasoning is a) people could conceivably > want _default_ as a valid email b) it translates directly into > something exim can understand in its lsearch* lookup type. (Can > anyone tell b) is the real motivator? :-) Why I'm doing this is > trying to put all the data in CDB format generated from a database on > account of exim's constantly re-exec'ing/re-connecting architecture > which mitigates against targetting a database in a big system. Well, I don't think that s/^_default_$/*/ is going to impose a big burden on your dump-to-CDB argument. (I note in passing[1] that [RFC822] `*' is just as valid a local-part as `_default_'. Of course, if you are the sort of person who goes about putting underscores and asterisks in email addresses, you deserve all of the bad things which are going to happen to you as a result....) --- 1. See? I'm a nice person. I could have gone for the really obvious, bad pun.... -- Chris Lightfoot -- www.ex-parrot.com/~chris/ In view of the fact that God limited man's intelligence, it is a pity that He did not also limit his stupidity (Adenauer) From Paul.Makepeace@realprogrammers.com Tue Jul 31 09:39:47 2001 Received: from tantrix.realprogrammers.com ([216.228.5.63] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15RV47-00013k-00 for vmail-discuss@lists.beasts.org; Tue, 31 Jul 2001 09:39:47 +0100 Received: from paulm by tantrix.realprogrammers.com with local (Exim 3.22 #1 (Debian)) id 15RV45-0003gM-00; Tue, 31 Jul 2001 01:39:45 -0700 Date: Tue, 31 Jul 2001 01:39:45 -0700 To: Chris Lightfoot Cc: Paul Warren , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Finally... vmail-0.4 Message-ID: <20010731013945.A28907@tantrix.realprogrammers.com> References: <20010725134143.C23194@sphinx.mythic-beasts.com> <20010731005235.Y28907@tantrix.realprogrammers.com> <20010731090443.A11492@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010731090443.A11492@caesious.cold.local> User-Agent: Mutt/1.3.18i From: Paul Makepeace Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 31, 2001 at 09:04:43AM +0100, Chris Lightfoot wrote: > > 1. I noticed some SQL things, > > > > In README, > > > > query = "select remote_name from forwarder, domain where local_part = '$local_part' and > > forwarder.domain_name = domain.domain_name and domain.domain_name = '$domain'" > > > > is equivalent to: > > select remote_name from forwarder > > where local_part = '$local_part' and domain_name = '$domain' > > > > Ditto the other query. > > True for Oracle, where presumably you have foreign-key > constraints; but not for MySQL, where one could put rows > into the forwarder table which didn't correspond to `real' > domains. So from your PoV, yes; from ours, not quite, > because of paranoia about audit trails. I don't quite understand the point here or what you're trying to safeguard. If it's malicious/accident-prone users adding dud entries to forwarder then they could equally add to domain and I don't see what good this does. Or am I missing something here? That dual join is an extra expense. Which I haven't benchmarked... (this whole email is mostly aesthetic concerns anyway). > Well, I don't think that s/^_default_$/*/ is going to > impose a big burden on your dump-to-CDB argument. Yeah, yeah, I know :-) Just looked nicer. > (I note in passing[1] that [RFC822] `*' is just as valid a > local-part as `_default_'. Some addresses are more valid than others, at least as far as RFC822 and the myriad interpretations of it by clients & servers are concerned :-) Paul <*@paulm.com> -- It is simply a matter of work From chris@madingley.org Tue Jul 31 10:41:40 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15RW20-0001Gj-00 for vmail-discuss@lists.beasts.org; Tue, 31 Jul 2001 10:41:40 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id JAA18837; Mon, 31 Jul 2000 09:42:07 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id KAA04733; Tue, 31 Jul 2001 10:41:39 +0100 Date: Tue, 31 Jul 2001 10:41:39 +0100 From: Chris Lightfoot To: Paul Makepeace Cc: Paul Warren , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Finally... vmail-0.4 Message-ID: <20010731104139.C4480@aquila.esc.cam.ac.uk> References: <20010725134143.C23194@sphinx.mythic-beasts.com> <20010731005235.Y28907@tantrix.realprogrammers.com> <20010731090443.A11492@caesious.cold.local> <20010731013945.A28907@tantrix.realprogrammers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010731013945.A28907@tantrix.realprogrammers.com> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 31, 2001 at 01:39:45AM -0700, Paul Makepeace wrote: > On Tue, Jul 31, 2001 at 09:04:43AM +0100, Chris Lightfoot wrote: > > > 1. I noticed some SQL things, > > > > > > In README, > > > > > > query = "select remote_name from forwarder, domain where local_part = '$local_part' and > > > forwarder.domain_name = domain.domain_name and domain.domain_name = '$domain'" > > > > > > is equivalent to: > > > select remote_name from forwarder > > > where local_part = '$local_part' and domain_name = '$domain' > > > > > > Ditto the other query. > > > > True for Oracle, where presumably you have foreign-key > > constraints; but not for MySQL, where one could put rows > > into the forwarder table which didn't correspond to `real' > > domains. So from your PoV, yes; from ours, not quite, > > because of paranoia about audit trails. > > I don't quite understand the point here or what you're trying to > safeguard. If it's malicious/accident-prone users adding dud entries to > forwarder then they could equally add to domain and I don't see what > good this does. Or am I missing something here? I'm not sure it's a well thought out position, but my point is that in MySQL you can readily construct databases which are inconsistent in the sense of not satisfying `foreign key constraints'. IMO it's better that the system's response to that situation is conservative (reject the mail) than liberal (possibly misdirect it). > That dual join is an extra expense. Which I haven't benchmarked... (this > whole email is mostly aesthetic concerns anyway). Yeah, that's a valid point too. > > (I note in passing[1] that [RFC822] `*' is just as valid a > > local-part as `_default_'. > > Some addresses are more valid than others, at least as far as RFC822 > and the myriad interpretations of it by clients & servers are > concerned:-) Oh, absolutely. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``The peak years of our intellectual development are between the ages of four and eighteen. At age four, we knew all the questions; at eighteen, all the answers.'' From Paul.Makepeace@realprogrammers.com Tue Jul 31 11:10:39 2001 Received: from tantrix.realprogrammers.com ([216.228.5.63] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15RWU2-0001Os-00 for vmail-discuss@lists.beasts.org; Tue, 31 Jul 2001 11:10:39 +0100 Received: from paulm by tantrix.realprogrammers.com with local (Exim 3.22 #1 (Debian)) id 15RWU0-0003sM-00; Tue, 31 Jul 2001 03:10:36 -0700 Date: Tue, 31 Jul 2001 03:10:36 -0700 To: Chris Lightfoot Cc: Paul Warren , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Finally... vmail-0.4 Message-ID: <20010731031036.D28907@tantrix.realprogrammers.com> References: <20010725134143.C23194@sphinx.mythic-beasts.com> <20010731005235.Y28907@tantrix.realprogrammers.com> <20010731090443.A11492@caesious.cold.local> <20010731013945.A28907@tantrix.realprogrammers.com> <20010731104139.C4480@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010731104139.C4480@aquila.esc.cam.ac.uk> User-Agent: Mutt/1.3.18i From: Paul Makepeace Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 31, 2001 at 10:41:39AM +0100, Chris Lightfoot wrote: > > I don't quite understand the point here or what you're trying to > > safeguard. If it's malicious/accident-prone users adding dud entries to > > forwarder then they could equally add to domain and I don't see what > > good this does. Or am I missing something here? > > I'm not sure it's a well thought out position, but my > point is that in MySQL you can readily construct databases > which are inconsistent in the sense of not satisfying > `foreign key constraints'. I think if you're trying to simulate some FK constraint how about funnelling all changes through particular scripts that enforce them in the code or even periodically running SQL to check for errors (e.g., select domain_name from popbox where domain_name not in (select domain_name from domain) -- Of course now you'll tell me MySQL doesn't support subqueries...). > IMO it's better that the > system's response to that situation is conservative > (reject the mail) than liberal (possibly misdirect it). I agree but I think a per-delivery hit to check just one of any number of particular db integrity failures is expensive and might lead the less clueful into a false sense of security (if they even realise it's for that not just an error which is what I thought it was). YMMV :-) Paul -- Disconnect from desire From pdw@sphinx.mythic-beasts.com Tue Jul 31 17:32:34 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15RcRe-000382-00; Tue, 31 Jul 2001 17:32:34 +0100 Date: Tue, 31 Jul 2001 17:32:34 +0100 From: Paul Warren To: Paul Makepeace Cc: Chris Lightfoot , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Finally... vmail-0.4 Message-ID: <20010731173234.C3854@sphinx.mythic-beasts.com> References: <20010725134143.C23194@sphinx.mythic-beasts.com> <20010731005235.Y28907@tantrix.realprogrammers.com> <20010731090443.A11492@caesious.cold.local> <20010731013945.A28907@tantrix.realprogrammers.com> <20010731104139.C4480@aquila.esc.cam.ac.uk> <20010731031036.D28907@tantrix.realprogrammers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010731031036.D28907@tantrix.realprogrammers.com>; from Paul.Makepeace@realprogrammers.com on Tue, Jul 31, 2001 at 03:10:36AM -0700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Jul 31, 2001 at 03:10:36AM -0700, Paul Makepeace wrote: > > I'm not sure it's a well thought out position, but my > > point is that in MySQL you can readily construct databases > > which are inconsistent in the sense of not satisfying > > `foreign key constraints'. > > I think if you're trying to simulate some FK constraint how about > funnelling all changes through particular scripts that enforce them in > the code or even periodically running SQL to check for errors (e.g., > select domain_name from popbox where domain_name not in (select > domain_name from domain) -- Of course now you'll tell me MySQL > doesn't support subqueries...). :-) I think you're right - sanity checking the DB shouldn't be done at query-time. You will notice that for consistency the default forwarder stuff doesn't do this :-) > > IMO it's better that the > > system's response to that situation is conservative > > (reject the mail) than liberal (possibly misdirect it). > > I agree but I think a per-delivery hit to check just one of any number > of particular db integrity failures is expensive and might lead the less > clueful into a false sense of security (if they even realise it's for > that not just an error which is what I thought it was). YMMV :-) Agree. A period DB integrity check sounds like the way forward. Either that or a proper database :-) Paul From wanted@gnu.univ.gda.pl Mon Aug 13 20:27:04 2001 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15WNMc-0004SY-00 for vmail-discuss@lists.beasts.org; Mon, 13 Aug 2001 20:27:04 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 15WNMM-0002XT-00 for ; Mon, 13 Aug 2001 21:26:46 +0200 Date: Mon, 13 Aug 2001 21:26:46 +0200 From: Marcin Sochacki To: vmail-discuss@lists.beasts.org Message-ID: <20010813212646.A31406@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [Vmail-discuss] IMAP and webmail solutions Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi, Has anyone convinced some IMAP daemon to perform authorization with Vmail-SQL? And the same question about webmail application. In your opinion, which imap and webmail server would be the best solution with Vmail-SQL? Marcin From pdw@ex-parrot.com Mon Aug 13 23:38:27 2001 Received: from cmailg3.svr.pol.co.uk ([195.92.195.173]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15WQLr-0005D9-00 for vmail-discuss@lists.beasts.org; Mon, 13 Aug 2001 23:38:27 +0100 Received: from [195.92.168.141] (helo=tmailb1.svr.pol.co.uk) by cmailg3.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 15WQLn-0007tH-00; Mon, 13 Aug 2001 23:38:23 +0100 Received: from modem-799.javanese.dialup.pol.co.uk ([217.134.83.31] helo=mythic-beasts.freeserve.co.uk) by tmailb1.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 15WQLi-0006jV-00; Mon, 13 Aug 2001 23:38:18 +0100 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 15WQLd-0000aE-00; Mon, 13 Aug 2001 23:38:13 +0100 Date: Mon, 13 Aug 2001 23:38:13 +0100 From: Paul Warren To: Marcin Sochacki Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and webmail solutions Message-ID: <20010813233813.A1884@cerberus.grovehouse.local> References: <20010813212646.A31406@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <20010813212646.A31406@gnu.univ.gda.pl>; from wanted@gnu.univ.gda.pl on Mon, Aug 13, 2001 at 09:26:46PM +0200 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Aug 13, 2001 at 09:26:46PM +0200, Marcin Sochacki wrote: > Has anyone convinced some IMAP daemon to perform authorization with > Vmail-SQL? And the same question about webmail application. > > In your opinion, which imap and webmail server would be the best solution > with Vmail-SQL? An interesting question. Chris and I are currently developing ReMail, a webmail program based on IMAP (using a proxy to maintain connections during a session). Naturally, one of the things that we would like to do is integrate it with vmail-sql. The problem with this is that either we base it on POP3, and have only one folder per user, or we need to hack an IMAP daemon to do virtual email stuff. IMAP is considerably more complicated than POP3, and implementing this is a fairly serious undertaking... Paul From wanted@gnu.univ.gda.pl Mon Aug 13 23:47:38 2001 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15WQUh-0005FT-00 for vmail-discuss@lists.beasts.org; Mon, 13 Aug 2001 23:47:36 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 15WQUT-0000wn-00 for ; Tue, 14 Aug 2001 00:47:21 +0200 Date: Tue, 14 Aug 2001 00:47:21 +0200 From: Marcin Sochacki To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and webmail solutions Message-ID: <20010814004721.A2695@gnu.univ.gda.pl> References: <20010813212646.A31406@gnu.univ.gda.pl> <20010813233813.A1884@cerberus.grovehouse.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010813233813.A1884@cerberus.grovehouse.local>; from pdw@ex-parrot.com on Mon, Aug 13, 2001 at 11:38:13PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Aug 13, 2001 at 11:38:13PM +0100, Paul Warren wrote: > On Mon, Aug 13, 2001 at 09:26:46PM +0200, Marcin Sochacki wrote: > > Has anyone convinced some IMAP daemon to perform authorization with > > Vmail-SQL? And the same question about webmail application. > > > > In your opinion, which imap and webmail server would be the best solution > > with Vmail-SQL? > > An interesting question. Chris and I are currently developing ReMail, a > webmail program based on IMAP (using a proxy to maintain connections > during a session). So how about putting some support to ReMail for POP3/Vmail-SQL? Or maybe hacking another webmail software? I suppose my knowledge of programming is too shallow... IMAP is not really that important, but some webmail would be very nice and useful for ISP-type services. Wanted From Paul.Makepeace@realprogrammers.com Mon Aug 13 23:57:35 2001 Received: from tantrix.realprogrammers.com ([216.228.5.63] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15WQeN-0005Hh-00 for vmail-discuss@lists.beasts.org; Mon, 13 Aug 2001 23:57:35 +0100 Received: from paulm by tantrix.realprogrammers.com with local (Exim 3.31 #1 (Debian)) id 15WQeB-0007co-00; Mon, 13 Aug 2001 15:57:23 -0700 Date: Mon, 13 Aug 2001 15:57:23 -0700 To: Paul Warren Cc: Marcin Sochacki , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and webmail solutions Message-ID: <20010813155723.L4949@tantrix.realprogrammers.com> References: <20010813212646.A31406@gnu.univ.gda.pl> <20010813233813.A1884@cerberus.grovehouse.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010813233813.A1884@cerberus.grovehouse.local> User-Agent: Mutt/1.3.18i From: Paul Makepeace Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Aug 13, 2001 at 11:38:13PM +0100, Paul Warren wrote: > An interesting question. Chris and I are currently developing ReMail, a > webmail program based on IMAP (using a proxy to maintain connections Are you doing this from scratch or using existing code? Acmemail/sparkle (Perl) and the IMP/Horde (PHP) spring immediately to mind. http://www.astray.com/acmemail/devel/ -- the project was handed off a few months ago -- http://acmemail.sourceforge.net/ Paul From chris@madingley.org Tue Aug 14 10:20:53 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15WaNY-0006oC-00 for vmail-discuss@lists.beasts.org; Tue, 14 Aug 2001 10:20:52 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id JAA09342; Mon, 14 Aug 2000 09:24:20 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id KAA08194; Tue, 14 Aug 2001 10:20:51 +0100 Date: Tue, 14 Aug 2001 10:20:51 +0100 From: Chris Lightfoot To: Paul Makepeace Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and webmail solutions Message-ID: <20010814102051.A7884@aquila.esc.cam.ac.uk> References: <20010813212646.A31406@gnu.univ.gda.pl> <20010813233813.A1884@cerberus.grovehouse.local> <20010813155723.L4949@tantrix.realprogrammers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010813155723.L4949@tantrix.realprogrammers.com> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Aug 13, 2001 at 03:57:23PM -0700, Paul Makepeace wrote: > On Mon, Aug 13, 2001 at 11:38:13PM +0100, Paul Warren wrote: > > An interesting question. Chris and I are currently developing ReMail, a > > webmail program based on IMAP (using a proxy to maintain connections > > Are you doing this from scratch or using existing code? Acmemail/sparkle > (Perl) and the IMP/Horde (PHP) spring immediately to mind. > > http://www.astray.com/acmemail/devel/ -- the project was handed off a > few months ago -- http://acmemail.sourceforge.net/ My opinion (Paul will shout if he disagrees) is that IMP sucks, for several reasons, most notably that it is slow, historically full of security holes, and full of graphic design (and, worse, JavaScript). Acmemail looks relatively plausible until you observe that it uses CClient (boo!) and logs in to the POP/IMAP server for every page view, storing the user's password in an RDBMS. ReMail is written from scratch, but with extensive use of modules from CPAN. It is intended to have extremely clean design (read: no graphic design), no JavaScript, no frames, etc. I _may_ write a decent message composer in Java, if I can be bothered. It will come with a (mostly complete) patch to the WU IMAP server to cache metadata for BSD mailspools, which offers a substantial performance improvement, and an IMAP proxy which allows each page view to pick up an existing IMAP session, and removes the need to store user passwords. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``What lawyers call intellectual property is no more than theft from the public domain.'' (Alex Mueller-Maguhn) From pdw@sphinx.mythic-beasts.com Tue Aug 14 10:26:19 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15WaSl-0006qt-00; Tue, 14 Aug 2001 10:26:15 +0100 Date: Tue, 14 Aug 2001 10:26:15 +0100 From: Paul Warren To: Paul Makepeace Cc: Paul Warren , Marcin Sochacki , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and webmail solutions Message-ID: <20010814102615.A26085@sphinx.mythic-beasts.com> References: <20010813212646.A31406@gnu.univ.gda.pl> <20010813233813.A1884@cerberus.grovehouse.local> <20010813155723.L4949@tantrix.realprogrammers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010813155723.L4949@tantrix.realprogrammers.com>; from Paul.Makepeace@realprogrammers.com on Mon, Aug 13, 2001 at 03:57:23PM -0700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Aug 13, 2001 at 03:57:23PM -0700, Paul Makepeace wrote: > On Mon, Aug 13, 2001 at 11:38:13PM +0100, Paul Warren wrote: > > An interesting question. Chris and I are currently developing ReMail, a > > webmail program based on IMAP (using a proxy to maintain connections > > Are you doing this from scratch or using existing code? Acmemail/sparkle > (Perl) and the IMP/Horde (PHP) spring immediately to mind. We are currently using IMP/Horde and this is what inspired us to write our own :-) It looks pretty, but internally it's not too pleasant and there seems to have been at least one security hole per week advertised on BugTraq over the last month or so. I'll take a look at the Perl one. When we started writing ReMail (some time ago now...) I did conduct a search for other webmail programs, and didn't come up with any suitable alternatives. > http://www.astray.com/acmemail/devel/ -- the project was handed off a > few months ago -- http://acmemail.sourceforge.net/ I'll take a look. cheers, Paul From Paul.Makepeace@realprogrammers.com Tue Aug 14 10:26:48 2001 Received: from tantrix.realprogrammers.com ([216.228.5.63] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15WaTH-0006rL-00 for vmail-discuss@lists.beasts.org; Tue, 14 Aug 2001 10:26:48 +0100 Received: from paulm by tantrix.realprogrammers.com with local (Exim 3.31 #1 (Debian)) id 15WaTG-0005Ya-00; Tue, 14 Aug 2001 02:26:46 -0700 Date: Tue, 14 Aug 2001 02:26:46 -0700 To: Chris Lightfoot Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and webmail solutions Message-ID: <20010814022646.A20790@tantrix.realprogrammers.com> References: <20010813212646.A31406@gnu.univ.gda.pl> <20010813233813.A1884@cerberus.grovehouse.local> <20010813155723.L4949@tantrix.realprogrammers.com> <20010814102051.A7884@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010814102051.A7884@aquila.esc.cam.ac.uk> User-Agent: Mutt/1.3.18i From: Paul Makepeace Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Aug 14, 2001 at 10:20:51AM +0100, Chris Lightfoot wrote: > > http://www.astray.com/acmemail/devel/ -- the project was handed off a > > few months ago -- http://acmemail.sourceforge.net/ > > design (and, worse, JavaScript). Acmemail looks relatively > plausible until you observe that it uses CClient (boo!) > and logs in to the POP/IMAP server for every page view, > storing the user's password in an RDBMS. FWIW, you might want to watch their mailing list; there is a lot of developer interest -- acmemail is old & crocky looking relative to Sparkle which is considerably better abstracted. > frames, etc. I _may_ write a decent message composer in > Java, if I can be bothered. That would be good. I'm working on client-side S/MIME so you should definitely work on this part first :-) > It will come with a (mostly complete) patch to the WU IMAP > server to cache metadata for BSD mailspools, which offers (I wish mailspools would just die.) > a substantial performance improvement, and an IMAP proxy > which allows each page view to pick up an existing IMAP > session, and removes the need to store user passwords. I have a feeling sparkle does this but am not sure. Paul -- Use your own ideas 11 sleeps to Burning Man! http://spiraloasis.org/ From pdw@sphinx.mythic-beasts.com Tue Aug 14 10:40:20 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15WagJ-0006y1-00; Tue, 14 Aug 2001 10:40:15 +0100 Date: Tue, 14 Aug 2001 10:40:15 +0100 From: Paul Warren To: Marcin Sochacki Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and webmail solutions Message-ID: <20010814104015.B26085@sphinx.mythic-beasts.com> References: <20010813212646.A31406@gnu.univ.gda.pl> <20010813233813.A1884@cerberus.grovehouse.local> <20010814004721.A2695@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010814004721.A2695@gnu.univ.gda.pl>; from wanted@gnu.univ.gda.pl on Tue, Aug 14, 2001 at 12:47:21AM +0200 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Aug 14, 2001 at 12:47:21AM +0200, Marcin Sochacki wrote: > > An interesting question. Chris and I are currently developing ReMail, a > > webmail program based on IMAP (using a proxy to maintain connections > > during a session). > > So how about putting some support to ReMail for POP3/Vmail-SQL? > Or maybe hacking another webmail software? I suppose my knowledge > of programming is too shallow... It shouldn't be too hard to adapt any POP3 based webmail software to do this. I would like to put POP3 support in ReMail. The only problem I have is that you only get one mail folder, so you don't keep a copy of any mail that you send, or have any way of filing your mail. However, even without this functionality, a simple webmail client would be useful for checking email when on the move - I know that the UK ISP Demon offer a read only webmail service for their virtual POP3 boxes. > IMAP is not really that important, but some webmail would be very nice > and useful for ISP-type services. Agree. Paul From wayne@penguinpowered.org.uk Tue Aug 14 18:07:26 2001 Received: from simian.ehsrealtime.com ([213.52.146.137] helo=clientmail.realtime.co.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15Whf4-0000Ua-00 for vmail-discuss@lists.beasts.org; Tue, 14 Aug 2001 18:07:26 +0100 Received: from madadmin.demon.co.uk ([193.237.103.251] helo=marvin.penguinpowered.org.uk) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 15Whf3-0008Rc-01 for vmail-discuss@lists.beasts.org; Tue, 14 Aug 2001 18:07:27 +0100 Received: from [192.168.10.11] (helo=pan.realtime.co.uk) by marvin.penguinpowered.org.uk with esmtp (Exim 3.22 #1) id 15WhZS-0003lW-00 for vmail-discuss@lists.beasts.org; Tue, 14 Aug 2001 18:01:38 +0100 Received: from waynep by pan.realtime.co.uk with local (Exim 3.22 #1) id 15Whdy-00007p-00 for vmail-discuss@lists.beasts.org; Tue, 14 Aug 2001 18:06:18 +0100 From: Wayne Pascoe To: vmail-discuss@lists.beasts.org Date: 14 Aug 2001 18:06:18 +0100 Message-ID: <86ofpiinat.fsf@pan.home.penguinpowered.org.uk> Lines: 43 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Vmail-discuss] Forwarding mail for all local_parts that don't have a popbox Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi there, I would like to setup vmail-sql to send all mail for all users that don't have a local part to a designated user per domain. For example, I have a domain (molemanarmy.com) with 5 popboxes wayne,info,postmaster,webmaster,fred If mail comes in for waynep@molemanarmy.com or submissions@molemanarmy.com, I want that mail to go to the popbox for wayne. Is this doable, and if so how? I know that it can be done with standard Exim configs as follows : virtual: driver = aliasfile include_domain = yes file = /home/mail/db/forwardings.dbm search_type = dbm*@ user = mail group = mail expand file_transport = address_file pipe_transport = address_pipe I believe that the important part here is the dbm*@ Then the file that creates the forwardings.dbm file would look as follows: wayne@molemanarmy.com wayne info@molemanarmy.com wayne fred@molemanarmy.com fred *@molemanarmy.com wayne TIA, -- - Wayne Pascoe | Win if you can. Lose if you must. wayne@penguinpowered.org.uk | But always cheat! http://www.penguinpowered.org.uk | From pdw@sphinx.mythic-beasts.com Tue Aug 14 18:14:38 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15Whm2-0000XD-00; Tue, 14 Aug 2001 18:14:38 +0100 Date: Tue, 14 Aug 2001 18:14:38 +0100 From: Paul Warren To: Wayne Pascoe Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Forwarding mail for all local_parts that don't have a popbox Message-ID: <20010814181438.F26085@sphinx.mythic-beasts.com> References: <86ofpiinat.fsf@pan.home.penguinpowered.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <86ofpiinat.fsf@pan.home.penguinpowered.org.uk>; from wayne@penguinpowered.org.uk on Tue, Aug 14, 2001 at 06:06:18PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Aug 14, 2001 at 06:06:18PM +0100, Wayne Pascoe wrote: > I would like to setup vmail-sql to send all mail for all users that > don't have a local part to a designated user per domain. What version of vmail are you using? Version 0.4 supports exactly what you require, although if you are not using the web front end then there is no real need to upgrade - all you need is an alteration to exim.conf. Add the following director, after the other virtual email directors: virtual_defaultuser: driver = aliasfile search_type = mysql query = "select remote_name from forwarder where local_part = '_default_' and domain_name = '$domain'" forbid_file = true forbid_pipe = true This will forward all undelivered email to the alias specified by the local_part '_default_'. There was a suggestion that we should switch to using '*' as the local_part for undefined users, and this will probably happen in the next release. The 0.4 web scripts are configured to use _default_ for undefined users. Paul From chris@madingley.org Wed Aug 15 00:56:24 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15Wo2q-0002CH-00 for vmail-discuss@lists.beasts.org; Wed, 15 Aug 2001 00:56:24 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id AAA12263; Tue, 15 Aug 2000 00:00:00 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id AAA24311; Wed, 15 Aug 2001 00:56:20 +0100 Date: Wed, 15 Aug 2001 00:56:20 +0100 From: Chris Lightfoot To: Paul Makepeace Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and webmail solutions Message-ID: <20010815005620.A24204@aquila.esc.cam.ac.uk> References: <20010813212646.A31406@gnu.univ.gda.pl> <20010813233813.A1884@cerberus.grovehouse.local> <20010813155723.L4949@tantrix.realprogrammers.com> <20010814102051.A7884@aquila.esc.cam.ac.uk> <20010814022646.A20790@tantrix.realprogrammers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010814022646.A20790@tantrix.realprogrammers.com> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Aug 14, 2001 at 02:26:46AM -0700, Paul Makepeace wrote: > On Tue, Aug 14, 2001 at 10:20:51AM +0100, Chris Lightfoot wrote: > > > http://www.astray.com/acmemail/devel/ -- the project was handed off a > > > few months ago -- http://acmemail.sourceforge.net/ > > > > design (and, worse, JavaScript). Acmemail looks relatively > > plausible until you observe that it uses CClient (boo!) > > and logs in to the POP/IMAP server for every page view, > > storing the user's password in an RDBMS. > > FWIW, you might want to watch their mailing list; there is a lot of > developer interest -- acmemail is old & crocky looking relative to > Sparkle which is considerably better abstracted. OK. I'll take a look when I have a moment. > > It will come with a (mostly complete) patch to the WU IMAP > > server to cache metadata for BSD mailspools, which offers > > (I wish mailspools would just die.) Yeah. I would agree, if it weren't for the fact that dealing with large collections of files with tools in the shell is Not Much Fun. For users with no shell accounts, maildir is certainly a big win. (Assuming that your filesystem is up to it....) -- Chris Lightfoot -- www.ex-parrot.com/~chris/ I stumbled around 'til I found another bar/ Which was good because I couldn't find my car/ ... And now I've got a headache the size of Arkansas. (`How'd The Date End?', The Mr. T Experience). From afore@heuristics.net Thu Aug 23 15:55:04 2001 Received: from [209.193.164.67] (helo=mail.heuristics.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15Zvst-0008QK-00 for vmail-discuss@lists.beasts.org; Thu, 23 Aug 2001 15:55:03 +0100 Received: (from nobody@localhost) by mail.heuristics.net (8.9.3/8.8.7) id KAA04912; Thu, 23 Aug 2001 10:55:03 -0400 Date: Thu, 23 Aug 2001 10:55:03 -0400 Message-Id: <200108231455.KAA04912@mail.heuristics.net> From: "Alex Fore" To: vmail-discuss@lists.beasts.org X-Mailer: NeoMail 1.25 X-IPAddress: 64.221.80.130 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: [Vmail-discuss] alive? Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I havent seen any activity here recently -- is this list still alive and kicking? -alex From chris@madingley.org Thu Aug 23 15:57:09 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15Zvuv-0008RK-00 for vmail-discuss@lists.beasts.org; Thu, 23 Aug 2001 15:57:09 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id PAA15534; Thu, 23 Aug 2001 15:57:19 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id PAA13570; Thu, 23 Aug 2001 15:57:08 +0100 Date: Thu, 23 Aug 2001 15:57:08 +0100 From: Chris Lightfoot To: Alex Fore Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] alive? Message-ID: <20010823155708.A13564@aquila.esc.cam.ac.uk> References: <200108231455.KAA04912@mail.heuristics.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <200108231455.KAA04912@mail.heuristics.net> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Aug 23, 2001 at 10:55:03AM -0400, Alex Fore wrote: > I havent seen any activity here recently -- is this list still alive > and kicking? I don't know if it's ever been kicking, but I think it's still alive.... -- Chris Lightfoot -- www.ex-parrot.com/~chris/ Midget psychic escapes prison: small medium at large From afore@heuristics.net Thu Aug 23 19:30:55 2001 Received: from [209.193.164.67] (helo=mail.heuristics.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15ZzFn-0000wt-00 for vmail-discuss@lists.beasts.org; Thu, 23 Aug 2001 19:30:55 +0100 Received: from redsnapper (pc85.heuristics.net [209.193.164.85] (may be forged)) by mail.heuristics.net (8.9.3/8.8.7) with SMTP id OAA06117 for ; Thu, 23 Aug 2001 14:30:50 -0400 From: "Alex Fore" To: Date: Thu, 23 Aug 2001 14:30:52 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] Webmail for vmail-sql Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Ok, I just got vmail sql up and running on my test-bed email server here, after a few confusions and much learning about exim and mysql of which i had no previous experience. I am setting up vmail-sql for a email server here, and we are currently using poponly user accounts + sendmail + cucipop + neomail for webmail access. My question is, does anyone know of a gpl webmail application that works nice with vmail-sql, and won't force me to do a whole lot of configuration (for each domain -- i am ok with one time major config pain in the ass). I am considering openwebmail (which is based on neomail), but I think it has too many features and will just be a pain in my ass (as the server admin) to set up and update whenever we add new domains & users, etc. I like neomail, it rules -- plain, simple & pleasing to look at. But it reads directly from mail spool files and uses unix authentication. I am no programmer, and the extent of my programming experience is shell scripts, and some sql abilites (not too good at them yet either). I dont think it would be too hard to modify neomail for this task, it has a modularized checklogin script (in perl), and it probly would not be hard to make it set the senders return addy to user@domain from the login user%domain. The second of these i could hack out, but the 1st is a little above my perl abilites. thanks for any info, -Alex From chris@madingley.org Thu Aug 23 19:48:00 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15ZzWK-00011s-00 for vmail-discuss@lists.beasts.org; Thu, 23 Aug 2001 19:48:00 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id TAA16233; Thu, 23 Aug 2001 19:48:10 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id TAA20041; Thu, 23 Aug 2001 19:47:57 +0100 Date: Thu, 23 Aug 2001 19:47:57 +0100 From: Chris Lightfoot To: Alex Fore Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010823194757.A19716@aquila.esc.cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Aug 23, 2001 at 02:30:52PM -0400, Alex Fore wrote: > Ok, I just got vmail sql up and running on my test-bed email server here, > after a few confusions and much learning about exim and mysql of which i had > no previous experience. I am setting up vmail-sql for a email server here, > and we are currently using poponly user accounts + sendmail + cucipop + > neomail for webmail access. My question is, does anyone know of a gpl > webmail application that works nice with vmail-sql, and won't force me to do > a whole lot of configuration (for each domain -- i am ok with one time major > config pain in the ass). Hmm. This comes up from time to time. Paul (Warren) and I are working on a webmail system which uses IMAP to access user mailspools, but it's intended more for users with unix accounts than for virtual domain users. (Mostly because there's a tpop3d but no timapd, and nor is there likely to be in the near future; also, there is the [less serious] question of how you make virtual domain IMAP work, given that you then need to have directories in which users store their folders. It would, of course, be possible to adapt wu-imapd for this purpose, though the code is _horrendous_ and I for one would not want to do it. Also it probably wouldn't be secure. ) > I am considering openwebmail (which is based on neomail), but I think it has > too many features and will just be a pain in my ass (as the server admin) to > set up and update whenever we add new domains & users, etc. I like neomail, > it rules -- plain, simple & pleasing to look at. But it reads directly from > mail spool files and uses unix authentication. I am no programmer, and the > extent of my programming experience is shell scripts, and some sql abilites > (not too good at them yet either). I had a look at neomail a little while ago, and although it looks reasonably plausible, the idea of reading direct from user mailboxes (and its associated security hazards) left me unimpressed; also, I am a little sceptical of a program explicitly written as a learning exercise in perl. OpenWebMail has a POP3 option, but unfortunately POP3 isn't sufficient to build a complete webmail system on. > I dont think it would be too hard to modify neomail for this task, it has a > modularized checklogin script (in perl), and it probly would not be hard to > make it set the senders return addy to user@domain from the login > user%domain. The second of these i could hack out, but the 1st is a little > above my perl abilites. Well... obtaining the location of a user's mailspool from a vmail-sql installation is as easy as doing SELECT domain.path, popbox.mbox_name FROM domain, popbox WHERE popbox.domain_name = domain.domain_name AND popbox.local_part = $local_part AND popbox.domain_name = $domain The authentication step is fairly simple as well; the code in the vmail-sql scripts to allow a user to change their POP box password would be a good place to start for the login stuff. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ One of the lessons of history is that nothing is often a good thing to do -- and always a clever thing to say (Will Durant) From afore@heuristics.net Fri Aug 24 15:42:33 2001 Received: from [209.193.164.67] (helo=mail.heuristics.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15aIAL-0004jq-00 for vmail-discuss@lists.beasts.org; Fri, 24 Aug 2001 15:42:33 +0100 Received: from redsnapper (pc85.heuristics.net [209.193.164.85] (may be forged)) by mail.heuristics.net (8.9.3/8.8.7) with SMTP id KAA11581 for ; Fri, 24 Aug 2001 10:42:24 -0400 From: "Alex Fore" To: Date: Fri, 24 Aug 2001 10:42:24 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Vmail-discuss] quick exim config question. Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Pardon my ignorance, but I have a rather quick exim configuration question. Is there a way (without using embedded perl) that I can do the following in the exim configuration file: if $domain = somedomain goto whatever_local_transport Thanks for any input, -Alex From afore@heuristics.net Fri Aug 24 15:53:54 2001 Received: from [209.193.164.67] (helo=mail.heuristics.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15aILK-0004nq-00 for vmail-discuss@lists.beasts.org; Fri, 24 Aug 2001 15:53:54 +0100 Received: (from nobody@localhost) by mail.heuristics.net (8.9.3/8.8.7) id KAA11659; Fri, 24 Aug 2001 10:53:53 -0400 Date: Fri, 24 Aug 2001 10:53:53 -0400 Message-Id: <200108241453.KAA11659@mail.heuristics.net> From: "Alex Fore" To: "Alex Fore" , Subject: Re: [Vmail-discuss] quick exim config question. X-Mailer: NeoMail 1.25 X-IPAddress: 64.221.80.130 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion never mind, i got it -- system wide message filtering. I shoulda read the manual before i posted. :) > Pardon my ignorance, but I have a rather quick exim configuration question. > > Is there a way (without using embedded perl) that I can do the following in > the exim configuration file: > > if $domain = somedomain goto whatever_local_transport > > Thanks for any input, > -Alex > > > _______________________________________________ > vmail-discuss mailing list > vmail-discuss@lists.beasts.org > http://lists.beasts.org/mailman/listinfo/vmail-discuss > > From Paul.Makepeace@realprogrammers.com Fri Aug 24 17:34:27 2001 Received: from tantrix.realprogrammers.com ([216.228.5.63] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15aJud-0005I6-00 for vmail-discuss@lists.beasts.org; Fri, 24 Aug 2001 17:34:27 +0100 Received: from paulm by tantrix.realprogrammers.com with local (Exim 3.31 #1 (Debian)) id 15aJuN-0002MA-00; Fri, 24 Aug 2001 09:34:11 -0700 Date: Fri, 24 Aug 2001 09:34:11 -0700 From: Paul Makepeace To: Alex Fore Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] quick exim config question. Message-ID: <20010824093411.F8160@tantrix.realprogrammers.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.20i Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, Aug 24, 2001 at 10:42:24AM -0400, Alex Fore wrote: > Pardon my ignorance, but I have a rather quick exim configuration question. > > Is there a way (without using embedded perl) that I can do the following in > the exim configuration file: > > if $domain = somedomain goto whatever_local_transport Another way aside from filters is using the "domains" directive in the director. system_domain_aliases: driver = aliasfile file_transport = address_file pipe_transport = address_pipe domains = /etc/mail/alias_domains # ..list of domains for which this director is used # domains = paulm.com # ..for a specific one file = /etc/mail/domain_aliases/$domain # ..file "paulm.com" might then contain "webmaster: /dev/null" etc http://www.exim.org/exim-html-3.30/doc/html/spec_20.html#SEC590 Cheers, Paul From afore@heuristics.net Tue Aug 28 18:48:54 2001 Received: from [209.193.164.67] (helo=mail.heuristics.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15bmyr-0003az-00 for vmail-discuss@lists.beasts.org; Tue, 28 Aug 2001 18:48:53 +0100 Received: from [192.168.10.5] (helo=redsnapper) by mail.heuristics.net with smtp (Exim 3.32 #3) id 15bmyK-0006II-00 for vmail-discuss@lists.beasts.org; Tue, 28 Aug 2001 13:48:20 -0400 From: "Alex Fore" To: Subject: RE: [Vmail-discuss] Webmail for vmail-sql Date: Tue, 28 Aug 2001 13:48:20 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <20010823194757.A19716@aquila.esc.cam.ac.uk> Importance: Normal Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Thought you all might be interested in what I decided to do. I decided to keep both our unix poponly users and add virtual domains email hosting. This way I could start to provide virtual servicves without having to have anybody change pop3 logins or passwords. I compiled tpop3d with support for passwd & mysql logins and I wrote a little filter to seperate & deliver the mail for localusers@orgininalmailserverdomain.com. Everything else is handeled by mysql stuff, and therefore I can continue to use neomail for webmail access. everyone here is more happy when i maintain the status quo. Thanks for the vmail package & tpop3d -- I am sure they will be quite usefull. -Alex -----Original Message----- From: vmail-discuss-admin@lists.beasts.org [mailto:vmail-discuss-admin@lists.beasts.org]On Behalf Of Chris Lightfoot Sent: Thursday, August 23, 2001 2:48 PM To: Alex Fore Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql On Thu, Aug 23, 2001 at 02:30:52PM -0400, Alex Fore wrote: > Ok, I just got vmail sql up and running on my test-bed email server here, > after a few confusions and much learning about exim and mysql of which i had > no previous experience. I am setting up vmail-sql for a email server here, > and we are currently using poponly user accounts + sendmail + cucipop + > neomail for webmail access. My question is, does anyone know of a gpl > webmail application that works nice with vmail-sql, and won't force me to do > a whole lot of configuration (for each domain -- i am ok with one time major > config pain in the ass). Hmm. This comes up from time to time. Paul (Warren) and I are working on a webmail system which uses IMAP to access user mailspools, but it's intended more for users with unix accounts than for virtual domain users. (Mostly because there's a tpop3d but no timapd, and nor is there likely to be in the near future; also, there is the [less serious] question of how you make virtual domain IMAP work, given that you then need to have directories in which users store their folders. It would, of course, be possible to adapt wu-imapd for this purpose, though the code is _horrendous_ and I for one would not want to do it. Also it probably wouldn't be secure. ) > I am considering openwebmail (which is based on neomail), but I think it has > too many features and will just be a pain in my ass (as the server admin) to > set up and update whenever we add new domains & users, etc. I like neomail, > it rules -- plain, simple & pleasing to look at. But it reads directly from > mail spool files and uses unix authentication. I am no programmer, and the > extent of my programming experience is shell scripts, and some sql abilites > (not too good at them yet either). I had a look at neomail a little while ago, and although it looks reasonably plausible, the idea of reading direct from user mailboxes (and its associated security hazards) left me unimpressed; also, I am a little sceptical of a program explicitly written as a learning exercise in perl. OpenWebMail has a POP3 option, but unfortunately POP3 isn't sufficient to build a complete webmail system on. > I dont think it would be too hard to modify neomail for this task, it has a > modularized checklogin script (in perl), and it probly would not be hard to > make it set the senders return addy to user@domain from the login > user%domain. The second of these i could hack out, but the 1st is a little > above my perl abilites. Well... obtaining the location of a user's mailspool from a vmail-sql installation is as easy as doing SELECT domain.path, popbox.mbox_name FROM domain, popbox WHERE popbox.domain_name = domain.domain_name AND popbox.local_part = $local_part AND popbox.domain_name = $domain The authentication step is fairly simple as well; the code in the vmail-sql scripts to allow a user to change their POP box password would be a good place to start for the login stuff. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ One of the lessons of history is that nothing is often a good thing to do -- and always a clever thing to say (Will Durant) _______________________________________________ vmail-discuss mailing list vmail-discuss@lists.beasts.org http://lists.beasts.org/mailman/listinfo/vmail-discuss From wanted@gnu.univ.gda.pl Wed Aug 29 08:59:49 2001 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15c0GK-0005eU-00 for vmail-discuss@lists.beasts.org; Wed, 29 Aug 2001 08:59:49 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 15c0GE-0002Ib-00 for ; Wed, 29 Aug 2001 09:59:42 +0200 Date: Wed, 29 Aug 2001 09:59:42 +0200 From: Marcin Sochacki To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829095942.A8535@gnu.univ.gda.pl> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from afore@heuristics.net on Tue, Aug 28, 2001 at 01:48:20PM -0400 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Aug 28, 2001 at 01:48:20PM -0400, Alex Fore wrote: > Thought you all might be interested in what I decided to do. > I decided to keep both our unix poponly users and add virtual > domains email hosting. This way I could start to provide virtual > servicves without having to have anybody change pop3 logins or > passwords. I compiled tpop3d with support for passwd & mysql > logins and I wrote a little filter to seperate & deliver the > mail for localusers@orgininalmailserverdomain.com. Everything > else is handeled by mysql stuff, and therefore I can continue > to use neomail for webmail access. everyone here is more happy > when i maintain the status quo. Thanks for the vmail package > & tpop3d -- I am sure they will be quite usefull. As I suppose you use neomail for local users, but what about `virtual' ones? One needs some patches for neomail (though it might be quite easy to write) to support MySQL authentication and different mailbox scheme. The original question concerned virtual accounts; getting some webmail for local users is a piece of cake. And BTW, some thoughts I've had recently about webmail solution for vmail-sql. One can choose out of two possible ways to do it: (1) direct mailbox access and authentication (usually requires SUID scripts) and (2) access mailboxes via POP3 (i.e. tpop3d). The first solution is employed by `neomail' and `openwebmail' packages. Both are written in Perl and need some patching to customize them for vmail-sql. They have some nice features, like addressbooks and subfolders, and don't require any IMAP or POP3 daemon at all. On the other hand, I'm not sure what the result would be under heavy load; I think there might be some mailbox locking issues. The second way is quite popular among webmail packages. Unfortunately almost all of them claiming support for POP3, are extremely slow with large mailboxes. Actually the problem lies not in the size itself, but the number of messages. The webmail software connects to POP3 server and retrieves the headers for each message. Every time the user clicks on another message, or reloads the page there is a new POP3 connection made. Most of them have no caching mechanism, and it slows down things quite considerably. Some nice webmail-POP3 apps, which belong to this category are: NOCC and Postaci. The only one I've found which provides caching for POP3 sessions is: PHPost (http://webgadgets.com/phpost/). It's written in PHP, and is muuuuch faster thanks to caching. Unfotunately there is no subfolders support here yet, but addressbook is almost done (as the author claims). Currently my choice is PHPost (with some patching). Direct mailbox access with Neomail and the like has too many problems for me: - SUID and security, - mailbox locking, - need to rewrite some code when vmail-sql changes e.g. the authentication scheme. Wanted P.S. Chris and The Team: how about hacking some IMAP server to support Vmail-SQL authentication? Folders should be no problem IMHO, one could use e.g. $MAILBOX_PATH.$FOLDER_NAME (/var/mail/SERVERS/example.com/luser.my_folder). From pdw@sphinx.mythic-beasts.com Wed Aug 29 10:07:05 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15c1JR-00060Q-00; Wed, 29 Aug 2001 10:07:05 +0100 Date: Wed, 29 Aug 2001 10:07:05 +0100 From: Paul Warren To: Marcin Sochacki Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829100705.A22739@sphinx.mythic-beasts.com> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> <20010829095942.A8535@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010829095942.A8535@gnu.univ.gda.pl>; from wanted@gnu.univ.gda.pl on Wed, Aug 29, 2001 at 09:59:42AM +0200 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Aug 29, 2001 at 09:59:42AM +0200, Marcin Sochacki wrote: [virtual webmail] > The second way is quite popular among webmail packages. Unfortunately almost > all of them claiming support for POP3, are extremely slow with large > mailboxes. Actually the problem lies not in the size itself, but the > number of messages. The webmail software connects to POP3 server and > retrieves the headers for each message. Every time the user clicks > on another message, or reloads the page there is a new POP3 connection > made. Most of them have no caching mechanism, and it slows down things > quite considerably. Some nice webmail-POP3 apps, which belong to this > category are: NOCC and Postaci. Interesting. Chris and I are currently working on ReMail which is an IMAP based web-mail program. Unfortunately, being IMAP based it will not support virtual email initially, however it is a long-term aim to tie it in with vmail. It uses an IMAP proxying daemon which maintains IMAP sessions. In the long term we plan to put POP3 support in, but the problem with POP3 is the lack of multiple folder support. Do you know how the POP3 webmail programs that offer subfolders work? > Currently my choice is PHPost (with some patching). Direct mailbox access > with Neomail and the like has too many problems for me: > - SUID and security, > - mailbox locking, > - need to rewrite some code when vmail-sql changes e.g. the authentication > scheme. One of the advantages of going via a POP3 or IMAP daemon is scalability - you can run the daemon on a different machine from the frontend box. > P.S. Chris and The Team: how about hacking some IMAP > server to support Vmail-SQL authentication? Whilst this would undoubtedly be a nice endpoint, getting there is not - the wu-imapd code is (according to Chris) pretty horrid. > Folders should be no problem > IMHO, one could use e.g. $MAILBOX_PATH.$FOLDER_NAME > (/var/mail/SERVERS/example.com/luser.my_folder). That's one way of doing it, although we then have to be careful about '.' in folder names, and what do we do about nested folders? Another problem about hacking this support into an existing daemon is that we're asking for security that almost certainly was not designed into it, specifically it needs to be impossible for one user to read another user's mail spool despite the fact that they are owned by the same UNIX user. Paul From chris@madingley.org Wed Aug 29 10:31:33 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15c1h6-000683-00 for vmail-discuss@lists.beasts.org; Wed, 29 Aug 2001 10:31:32 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id KAA06034; Wed, 29 Aug 2001 10:32:58 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id KAA11875; Wed, 29 Aug 2001 10:31:32 +0100 Date: Wed, 29 Aug 2001 10:31:28 +0100 From: Chris Lightfoot To: Marcin Sochacki Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829103128.B10580@aquila.esc.cam.ac.uk> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> <20010829095942.A8535@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010829095942.A8535@gnu.univ.gda.pl> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Aug 29, 2001 at 09:59:42AM +0200, Marcin Sochacki wrote: [...] > > The original question concerned virtual accounts; getting some webmail > for local users is a piece of cake. Though the quality of many webmail solutions is not up to scratch in my opinion. > And BTW, some thoughts I've had recently about webmail solution for > vmail-sql. > > One can choose out of two possible ways to do it: (1) direct mailbox access > and authentication (usually requires SUID scripts) and (2) access mailboxes > via POP3 (i.e. tpop3d). > > The first solution is employed by `neomail' and `openwebmail' packages. > Both are written in Perl and need some patching to customize them for > vmail-sql. They have some nice features, like addressbooks and subfolders, > and don't require any IMAP or POP3 daemon at all. > On the other hand, I'm not sure what the result would be under heavy load; > I think there might be some mailbox locking issues. Of the solutions I've looked at, those which use the direct-access-to-folders method all seem to do so directly from setuid CGI scripts. I haven't looked at the locking in any detail, but it's not a trivial problem and I wouldn't be surprised if there were issues there. In particular, some sort of IPC between different instances of the scripts is probably required for things to work cleanly. I for one am not happy about the idea of a large, potentially buggy perl program taking on the identities of random users for each page view. (If the thing doesn't acquire the identity of the users whose mail it is reading, then it won't work with folders in a user's home directory, which is pretty lame if you want to run it on a machine with shell account users too.) > The second way is quite popular among webmail packages. Unfortunately almost > all of them claiming support for POP3, are extremely slow with large > mailboxes. Actually the problem lies not in the size itself, but the > number of messages. The webmail software connects to POP3 server and > retrieves the headers for each message. Every time the user clicks > on another message, or reloads the page there is a new POP3 connection > made. Most of them have no caching mechanism, and it slows down things > quite considerably. Some nice webmail-POP3 apps, which belong to this > category are: NOCC and Postaci. IMO POP3 is not suitable for this role. You can't select new folders, you can't write messages in to the folder, and you can't do anything with messages apart from downloading them and deleting them. > The only one I've found which provides caching for POP3 sessions is: > PHPost (http://webgadgets.com/phpost/). It's written in PHP, and is > muuuuch faster thanks to caching. Unfotunately there is no subfolders > support here yet, but addressbook is almost done (as the author claims). > > Currently my choice is PHPost (with some patching). Direct mailbox access > with Neomail and the like has too many problems for me: > - SUID and security, > - mailbox locking, > - need to rewrite some code when vmail-sql changes e.g. the authentication > scheme. This seems a sensible choice if you're happy with the limitations attendant on using POP3. > P.S. Chris and The Team: how about hacking some IMAP > server to support Vmail-SQL authentication? Folders should be no problem > IMHO, one could use e.g. $MAILBOX_PATH.$FOLDER_NAME > (/var/mail/SERVERS/example.com/luser.my_folder). Hmm. I have resisted doing this, for a number of reasons. In particular, the IMAP server which I would probably start from is the Washington University one. The problem with this will be obvious to anyone who has had the misfortune of looking at the code: it is _horrid_. Also, it's non-free, and I've never quite understood the status of patches to it. I believe that you can distribute patches, but not the patched code. This is a pain, especially since I don't imagine that the WU people would accept a patch for MySQL support. The said, I have already written a (not-quite-complete) patch for metadata caching for the WU imapd (in a largely successful attempt to tame is treacle-like performance when opening folders), so I suppose an additional patch wouldn't chew up my soul too much. It would be plenty slow, though, since the WU imapd is a runs-from-inetd type of server. An alternative is to find another IMAP server to patch. However, I'm not aware of any which are (a) any good, (b) support enough of IMAP (sorting, searching, threading, ...) and (c) support mailspools and maildirs. Without this functionality, they won't really be a decent replacement for the WU one. In particular, the Courier and Cyrus products require respectively the use of maildirs, or of a *whole new filing system for mail*, which is no good at all for our application. (I admit that the WU one is only (a) any good by a *very* loose set of criteria. It's nice to see non-free software lowering the bar here.) The third alternative is to write one, which would be a lot of work which I am reluctant to do `just for fun'. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ... a difficulty for every solution (Samuel, on the Civil Service) From wanted@gnu.univ.gda.pl Wed Aug 29 10:37:42 2001 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15c1n1-00069i-00 for vmail-discuss@lists.beasts.org; Wed, 29 Aug 2001 10:37:39 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 15c1mv-0002e0-00 for ; Wed, 29 Aug 2001 11:37:33 +0200 Date: Wed, 29 Aug 2001 11:37:33 +0200 From: Marcin Sochacki To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829113733.A10065@gnu.univ.gda.pl> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> <20010829095942.A8535@gnu.univ.gda.pl> <20010829100705.A22739@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010829100705.A22739@sphinx.mythic-beasts.com>; from pdw@ex-parrot.com on Wed, Aug 29, 2001 at 10:07:05AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Aug 29, 2001 at 10:07:05AM +0100, Paul Warren wrote: > In the long term we plan to put POP3 support in, but the problem with > POP3 is the lack of multiple folder support. Do you know how the > POP3 webmail programs that offer subfolders work? Generally, there are two approaches: 1) use some physical filespace for each user (created on demand), eg. /var/lib/webmail/username@domain/(addressbook|folders) The directory must be writable by the webserver user, which might be insecure (unless you use some SuExec stuff). 2) keep all data in SQL database, folders usually as BLOB-s; one could use vmail-sql database and tables for this approach. Wanted From chris@madingley.org Wed Aug 29 10:38:54 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15c1oE-0006Ah-00 for vmail-discuss@lists.beasts.org; Wed, 29 Aug 2001 10:38:54 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id KAA06062; Wed, 29 Aug 2001 10:40:19 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id KAA12040; Wed, 29 Aug 2001 10:38:53 +0100 Date: Wed, 29 Aug 2001 10:38:53 +0100 From: Chris Lightfoot To: Paul Warren Cc: Marcin Sochacki , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829103853.A11905@aquila.esc.cam.ac.uk> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> <20010829095942.A8535@gnu.univ.gda.pl> <20010829100705.A22739@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010829100705.A22739@sphinx.mythic-beasts.com> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Aug 29, 2001 at 10:07:05AM +0100, Paul Warren wrote: > On Wed, Aug 29, 2001 at 09:59:42AM +0200, Marcin Sochacki wrote: > [virtual webmail] > > P.S. Chris and The Team: how about hacking some IMAP > > server to support Vmail-SQL authentication? > > Whilst this would undoubtedly be a nice endpoint, getting there is not - > the wu-imapd code is (according to Chris) pretty horrid. It's foul and deranged. Also, I have not looked in detail at how the authentication bits work, so I don't know how easy it would be to put in the authentication code and force it to then use a specific set of mail folders. > > Folders should be no problem > > IMHO, one could use e.g. $MAILBOX_PATH.$FOLDER_NAME > > (/var/mail/SERVERS/example.com/luser.my_folder). > > That's one way of doing it, although we then have to be careful about > '.' in folder names, and what do we do about nested folders? Another > problem about hacking this support into an existing daemon is that we're > asking for security that almost certainly was not designed into it, > specifically it needs to be impossible for one user to read another > user's mail spool despite the fact that they are owned by the same UNIX > user. Yeah. The nested folders problem is easily solved by escaping; the others are not. I believe that the WU people have asserted that they do not very much care about security holes which allow people to get a shell after authentication (i.e. once the daemon is running as a normal user), which is OK where all users have shells, pretty poor when not, and obviously disastrous if numerous UNIX users share mailspools. Now, arguably, we don't care very much about exploits being constructed to take advantage of the server, but it's obviously vitally important that users can't just select each others' mailspools. That's an easier problem, of course. [Thinks....] This particular security problem is easy to solve if we require that user foo@example.com's mail goes in the directory /var/spool/mail/SERVERS/example.com/foo/; then we can (modulo some subtleties) use chroot and assume, pretty much, that everything will be safe. (It's easy to break out of a chroot if you are the superuser, hard otherwise.) But this is wildly ugly. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ... If there were no witches, human testimony and human reason are alike destitute (Bierce) From chris@madingley.org Wed Aug 29 10:40:08 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15c1pQ-0006Bf-00 for vmail-discuss@lists.beasts.org; Wed, 29 Aug 2001 10:40:08 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id KAA06072; Wed, 29 Aug 2001 10:41:33 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id KAA12093; Wed, 29 Aug 2001 10:40:07 +0100 Date: Wed, 29 Aug 2001 10:40:07 +0100 From: Chris Lightfoot To: Marcin Sochacki Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829104007.A12046@aquila.esc.cam.ac.uk> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> <20010829095942.A8535@gnu.univ.gda.pl> <20010829100705.A22739@sphinx.mythic-beasts.com> <20010829113733.A10065@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010829113733.A10065@gnu.univ.gda.pl> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Aug 29, 2001 at 11:37:33AM +0200, Marcin Sochacki wrote: > On Wed, Aug 29, 2001 at 10:07:05AM +0100, Paul Warren wrote: > > In the long term we plan to put POP3 support in, but the problem with > > POP3 is the lack of multiple folder support. Do you know how the > > POP3 webmail programs that offer subfolders work? > > Generally, there are two approaches: > 1) use some physical filespace for each user (created on demand), eg. > /var/lib/webmail/username@domain/(addressbook|folders) > The directory must be writable by the webserver user, which might be > insecure (unless you use some SuExec stuff). > 2) keep all data in SQL database, folders usually as BLOB-s; > one could use vmail-sql database and tables for this approach. We could always hack new functionality in to the protocol, though I'm reluctant to do this. It doesn't get around the problems of searching or of writing new messages to folders, though I suppose that the latter of those could be accomodated using yet more nasty hacks. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``Beds Will Be Made Up As Laid Down In Standing Orders.'' (US Air Force) From pdw@sphinx.mythic-beasts.com Wed Aug 29 11:02:14 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15c2Ao-0006I4-00; Wed, 29 Aug 2001 11:02:14 +0100 Date: Wed, 29 Aug 2001 11:02:14 +0100 From: Paul Warren To: Chris Lightfoot Cc: Paul Warren , Marcin Sochacki , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829110214.C22739@sphinx.mythic-beasts.com> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> <20010829095942.A8535@gnu.univ.gda.pl> <20010829100705.A22739@sphinx.mythic-beasts.com> <20010829103853.A11905@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010829103853.A11905@aquila.esc.cam.ac.uk>; from chris@ex-parrot.com on Wed, Aug 29, 2001 at 10:38:53AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Aug 29, 2001 at 10:38:53AM +0100, Chris Lightfoot wrote: > On Wed, Aug 29, 2001 at 10:07:05AM +0100, Paul Warren wrote: > > On Wed, Aug 29, 2001 at 09:59:42AM +0200, Marcin Sochacki wrote: > > [virtual webmail] > > > > P.S. Chris and The Team: how about hacking some IMAP > > > server to support Vmail-SQL authentication? > > > > Whilst this would undoubtedly be a nice endpoint, getting there is not - > > the wu-imapd code is (according to Chris) pretty horrid. > > It's foul and deranged. Yeah - now that I remember, the one time that I have looked at any of the code I found that the 20 lines that I looked at: i) were foul and deranged ii) contained at least one simple crash bug. > Yeah. The nested folders problem is easily solved by > escaping; the others are not. I believe that the WU people > have asserted that they do not very much care about > security holes which allow people to get a shell after > authentication (i.e. once the daemon is running as a > normal user), which is OK where all users have shells, > pretty poor when not, and obviously disastrous if numerous > UNIX users share mailspools. Indeed. > [Thinks....] This particular security problem is easy to > solve if we require that user foo@example.com's mail goes > in the directory /var/spool/mail/SERVERS/example.com/foo/; > then we can (modulo some subtleties) use chroot and > assume, pretty much, that everything will be safe. (It's > easy to break out of a chroot if you are the superuser, > hard otherwise.) But this is wildly ugly. I'm not sure that it's all that ugly... Paul From pdw@sphinx.mythic-beasts.com Wed Aug 29 11:07:31 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15c2Fv-0006Jw-00; Wed, 29 Aug 2001 11:07:31 +0100 Date: Wed, 29 Aug 2001 11:07:31 +0100 From: Paul Warren To: Chris Lightfoot Cc: Marcin Sochacki , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829110731.D22739@sphinx.mythic-beasts.com> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> <20010829095942.A8535@gnu.univ.gda.pl> <20010829100705.A22739@sphinx.mythic-beasts.com> <20010829113733.A10065@gnu.univ.gda.pl> <20010829104007.A12046@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010829104007.A12046@aquila.esc.cam.ac.uk>; from chris@ex-parrot.com on Wed, Aug 29, 2001 at 10:40:07AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Aug 29, 2001 at 10:40:07AM +0100, Chris Lightfoot wrote: > > Generally, there are two approaches: > > 1) use some physical filespace for each user (created on demand), eg. > > /var/lib/webmail/username@domain/(addressbook|folders) > > The directory must be writable by the webserver user, which might be > > insecure (unless you use some SuExec stuff). > > 2) keep all data in SQL database, folders usually as BLOB-s; > > one could use vmail-sql database and tables for this approach. > > We could always hack new functionality in to the protocol, > though I'm reluctant to do this. It doesn't get around the > problems of searching or of writing new messages to > folders, though I suppose that the latter of those could > be accomodated using yet more nasty hacks. ...by which time we have implemented a significant subset of the functionality of an IMAP server, with the disadvantage of using a non-standard protocol. The more I think about this, the clearer it is to me that the only real solution is creating a decent vmail aware IMAP server, either writing it from scratch or finding a decent one and improving that. WRT writing from scratch - whilst writing ReMail my opinion of the IMAP protocol has oscillated between "thankfully all this really complex functionality is taken care of by the server" and "this has clearly been designed to make writing IMAP servers easy". So I suspect that, on average, the tedium of writing an IMAP server is "moderate". Paul From chris@madingley.org Wed Aug 29 11:09:13 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15c2HY-0006LB-00 for vmail-discuss@lists.beasts.org; Wed, 29 Aug 2001 11:09:12 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id LAA06182; Wed, 29 Aug 2001 11:10:37 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id LAA14841; Wed, 29 Aug 2001 11:09:11 +0100 Date: Wed, 29 Aug 2001 11:09:11 +0100 From: Chris Lightfoot To: Paul Warren Cc: Marcin Sochacki , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Webmail for vmail-sql Message-ID: <20010829110911.A12962@aquila.esc.cam.ac.uk> References: <20010823194757.A19716@aquila.esc.cam.ac.uk> <20010829095942.A8535@gnu.univ.gda.pl> <20010829100705.A22739@sphinx.mythic-beasts.com> <20010829103853.A11905@aquila.esc.cam.ac.uk> <20010829110214.C22739@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010829110214.C22739@sphinx.mythic-beasts.com> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Aug 29, 2001 at 11:02:14AM +0100, Paul Warren wrote: > On Wed, Aug 29, 2001 at 10:38:53AM +0100, Chris Lightfoot wrote: [WU imapd and virtual domains mailspools] > > [Thinks....] This particular security problem is easy to > > solve if we require that user foo@example.com's mail goes > > in the directory /var/spool/mail/SERVERS/example.com/foo/; > > then we can (modulo some subtleties) use chroot and > > assume, pretty much, that everything will be safe. (It's > > easy to break out of a chroot if you are the superuser, > > hard otherwise.) But this is wildly ugly. > > I'm not sure that it's all that ugly... I meant from the perspective that `here, we have a large and probably imprefectly working piece of code; rather than fixing it, or even characterising its brokenness, we are going to use a feature of our operating system to protect ourselves from its worst effects'. Compare with, for instance, `structured exception handling' (the C, not the C++ kind) in Win32. -- Chris Lightfoot -- www.ex-parrot.com/~chris/ ``Virtually none of the utopian projections of my youth came true.... Where are the flying cars?'' (Robert Kolker) From jk@isitrain.de Mon Oct 01 13:22:12 2001 Received: from [212.12.33.207] (helo=www.isitrain.de) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15o25M-000167-00 for vmail-discuss@lists.beasts.org; Mon, 01 Oct 2001 13:22:12 +0100 Received: from pd95386ed.dip.t-dialin.net ([217.83.134.237] helo=scanner) by www.isitrain.de with asmtp (Exim 3.32 #6) id 15o25K-0000oq-00 for vmail-discuss@lists.beasts.org; Mon, 01 Oct 2001 14:22:11 +0200 From: "Jens Kutilek" Organization: ISITRAIN GmbH To: vmail-discuss@lists.beasts.org Date: Mon, 1 Oct 2001 14:23:08 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Message-ID: <3BB87C4C.17278.E194EF@localhost> Priority: normal X-mailer: Pegasus Mail for Win32 (v3.12cDE) Subject: [Vmail-discuss] Error in CGI passwd_popbox? Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi, I think I found an error in the web config script passwd_popbox. When I try to change my password, the script replies "incorrect password". But when I use a wrong password for oldpassword, the password is changed. Not very nice ... bye, Jens. From chris@madingley.org Mon Oct 01 14:05:31 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15o2lH-0001Uq-00 for vmail-discuss@lists.beasts.org; Mon, 01 Oct 2001 14:05:31 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id OAA31975; Mon, 1 Oct 2001 14:14:01 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id OAA01955; Mon, 1 Oct 2001 14:05:25 +0100 Date: Mon, 1 Oct 2001 14:05:25 +0100 From: Chris Lightfoot To: Jens Kutilek Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Error in CGI passwd_popbox? Message-ID: <20011001140525.A32086@aquila.esc.cam.ac.uk> References: <3BB87C4C.17278.E194EF@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <3BB87C4C.17278.E194EF@localhost> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Oct 01, 2001 at 02:23:08PM +0200, Jens Kutilek wrote: > Hi, > I think I found an error in the web config script passwd_popbox. > When I try to change my password, the script replies "incorrect > password". But when I use a wrong password for oldpassword, the > password is changed. Not very nice ... Gah. Yes. The relevant change is diff -r1.3 passwd_popbox.in 128c131 < if (PasswordCrypt::authenticate($DomainAdmin::param{oldpassword},$pw_hash)) { --- > if (!PasswordCrypt::authenticate($DomainAdmin::param{oldpassword},$pw_hash)) { -- ``What men are poets who can speak of Jupiter as if he were a man, but if he is an immense spinning sphere of methane and ammonia must be silent?'' (Richard Feynman) From pdw@ex-parrot.com Mon Oct 01 18:05:44 2001 Received: from finch-post-10.mail.demon.net ([194.217.242.38]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15o6Vk-0003hU-00 for vmail-discuss@lists.beasts.org; Mon, 01 Oct 2001 18:05:44 +0100 Received: from fyral.demon.co.uk ([158.152.212.246] helo=mythic-beasts.freeserve.co.uk) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 15o6VH-00056u-0A; Mon, 1 Oct 2001 17:05:16 +0000 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 15o6VH-0000YC-00; Mon, 01 Oct 2001 18:05:15 +0100 Date: Mon, 1 Oct 2001 18:05:15 +0100 From: Paul Warren To: Chris Lightfoot Cc: Jens Kutilek , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Error in CGI passwd_popbox? Message-ID: <20011001180515.A1784@cerberus.grovehouse.local> References: <3BB87C4C.17278.E194EF@localhost> <20011001140525.A32086@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <20011001140525.A32086@aquila.esc.cam.ac.uk>; from chris@ex-parrot.com on Mon, Oct 01, 2001 at 02:05:25PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Oct 01, 2001 at 02:05:25PM +0100, Chris Lightfoot wrote: > On Mon, Oct 01, 2001 at 02:23:08PM +0200, Jens Kutilek wrote: > Gah. Yes. The relevant change is > > diff -r1.3 passwd_popbox.in > 128c131 > < if (PasswordCrypt::authenticate($DomainAdmin::param{oldpassword},$pw_hash)) { > --- > > if (!PasswordCrypt::authenticate($DomainAdmin::param{oldpassword},$pw_hash)) { > Oh smeg. I am punishing myself severely with a clue gun as we speak. When I'm finished, I'll release vmail-sql 0.5. Paul From chris@ex-parrot.com Mon Oct 01 23:42:38 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15oBlm-0007WW-00 for vmail-discuss@lists.beasts.org; Mon, 01 Oct 2001 23:42:38 +0100 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id XAA02596; Mon, 1 Oct 2001 23:51:19 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 15oBlm-0001MN-00; Mon, 01 Oct 2001 23:42:38 +0100 Date: Mon, 1 Oct 2001 23:42:38 +0100 From: Chris Lightfoot To: vmail-discuss@lists.beasts.org Cc: Paul Warren Message-ID: <20011001234238.A5045@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Mail-Author: me Subject: [Vmail-discuss] Announce: vmail-sql 0.5 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Available from http://www.ex-parrot.com/~chris/vmail/vmail-sql-0.5.tar.gz Changes are: 0.5 * Widened primary keys in database to remove undesirable uniqueness problems for short email addresses * Added support for domain aliasing * Fixed security blunder in passwd_popbox -- The trouble with conspiracy theories is that they assume the government is organised. From wanted@gnu.univ.gda.pl Tue Oct 02 07:49:11 2001 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15oJMc-0002Ak-00 for vmail-discuss@lists.beasts.org; Tue, 02 Oct 2001 07:49:10 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 15oJMS-0002YD-00 for ; Tue, 02 Oct 2001 08:49:00 +0200 Date: Tue, 2 Oct 2001 08:49:00 +0200 From: Marcin Sochacki To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Announce: vmail-sql 0.5 Message-ID: <20011002084900.A9784@gnu.univ.gda.pl> References: <20011001234238.A5045@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011001234238.A5045@caesious.cold.local>; from chris@ex-parrot.com on Mon, Oct 01, 2001 at 11:42:38PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Oct 01, 2001 at 11:42:38PM +0100, Chris Lightfoot wrote: > > Available from > http://www.ex-parrot.com/~chris/vmail/vmail-sql-0.5.tar.gz Correction: http://www.ex-parrot.com/~chris/vmail-sql/vmail-sql-0.5.tar.gz Wanted From chris@ex-parrot.com Tue Oct 02 09:04:13 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15oKXF-0002eQ-00 for vmail-discuss@lists.beasts.org; Tue, 02 Oct 2001 09:04:13 +0100 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id JAA04363; Tue, 2 Oct 2001 09:12:34 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 15oKWp-0001ct-00; Tue, 02 Oct 2001 09:03:47 +0100 Date: Tue, 2 Oct 2001 09:03:47 +0100 From: Chris Lightfoot To: Marcin Sochacki Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Announce: vmail-sql 0.5 Message-ID: <20011002090347.B6195@caesious.cold.local> References: <20011001234238.A5045@caesious.cold.local> <20011002084900.A9784@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011002084900.A9784@gnu.univ.gda.pl>; from wanted@gnu.univ.gda.pl on Tue, Oct 02, 2001 at 08:49:00AM +0200 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Oct 02, 2001 at 08:49:00AM +0200, Marcin Sochacki wrote: > On Mon, Oct 01, 2001 at 11:42:38PM +0100, Chris Lightfoot wrote: > > > > Available from > > http://www.ex-parrot.com/~chris/vmail/vmail-sql-0.5.tar.gz > > Correction: > http://www.ex-parrot.com/~chris/vmail-sql/vmail-sql-0.5.tar.gz Absolutely. Mea culpa. Oops. -- Some circumstantial evidence is very strong, as when one finds a trout in the milk (Thoreau) From mhl@pobox.com Wed Oct 03 18:00:13 2001 Received: from mailhost2.dircon.co.uk ([194.112.32.66]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15opNV-0003TW-00 for vmail-discuss@lists.beasts.org; Wed, 03 Oct 2001 18:00:13 +0100 Received: from starfruit.iw3d.co.uk (starfruit.iw3d.co.uk [195.157.148.202]) by mailhost2.dircon.co.uk (8.9.3/8.9.3) with ESMTP id SAA50638 for ; Wed, 3 Oct 2001 18:00:12 +0100 (BST) Received: from mark by starfruit.iw3d.co.uk with local (Exim 3.12 #1) id 15opNM-0007t3-00 for vmail-discuss@lists.beasts.org; Wed, 03 Oct 2001 18:00:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15291.17428.634690.945502@starfruit.iwks.multi.local> Date: Wed, 3 Oct 2001 18:00:04 +0100 (BST) From: Mark Longair To: vmail-discuss@lists.beasts.org X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-Face: $d5`nE*gX!tu15'JQ'#.U=+_T8%xC^Ds_|1{AU'8FV|>kvm6h.29& Subject: [Vmail-discuss] forwarding to multiple addresses Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I saw this in the changelog for vmail-sql 0.4: 0.4 * Added support for multiple addresses per alias ... and assumed that meant I could now add multiple recipients per forwarder. However, I can't see how to do that from the scripts or the web interface. Have I misunderstood? cheers mark From chris@madingley.org Wed Oct 03 18:04:49 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15opRx-0003VV-00 for vmail-discuss@lists.beasts.org; Wed, 03 Oct 2001 18:04:49 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id SAA13675; Wed, 3 Oct 2001 18:13:53 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id SAA12954; Wed, 3 Oct 2001 18:04:48 +0100 Date: Wed, 3 Oct 2001 18:04:48 +0100 From: Chris Lightfoot To: Mark Longair Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] forwarding to multiple addresses Message-ID: <20011003180448.A12947@aquila.esc.cam.ac.uk> References: <15291.17428.634690.945502@starfruit.iwks.multi.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <15291.17428.634690.945502@starfruit.iwks.multi.local> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Oct 03, 2001 at 06:00:04PM +0100, Mark Longair wrote: > I saw this in the changelog for vmail-sql 0.4: > > 0.4 > * Added support for multiple addresses per alias > > ... and assumed that meant I could now add multiple recipients per > forwarder. However, I can't see how to do that from the scripts or the > web interface. Have I misunderstood? You just do it, by entering a number of forwarders with the same address. It's not the most intuitive or sensible user interface, I grant.... -- Never criticise somebody until you have walked a mile in their shoes. That way, they're a mile away, and you have their shoes. From mhl@pobox.com Wed Oct 03 18:44:08 2001 Received: from mailhost1.dircon.co.uk ([194.112.32.65]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15oq40-00042L-00 for vmail-discuss@lists.beasts.org; Wed, 03 Oct 2001 18:44:08 +0100 Received: from starfruit.iw3d.co.uk (starfruit.iw3d.co.uk [195.157.148.202]) by mailhost1.dircon.co.uk (8.9.3/8.9.3) with ESMTP id SAA75536 for ; Wed, 3 Oct 2001 18:44:07 +0100 (BST) Received: from mark by starfruit.iw3d.co.uk with local (Exim 3.12 #1) id 15oq3r-00086U-00 for vmail-discuss@lists.beasts.org; Wed, 03 Oct 2001 18:43:59 +0100 From: Mark Longair To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] forwarding to multiple addresses References: <15291.17428.634690.945502@starfruit.iwks.multi.local> <20011003180448.A12947@aquila.esc.cam.ac.uk> Message-Id: Date: Wed, 03 Oct 2001 18:43:59 +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Chris Lightfoot writes: > > On Wed, Oct 03, 2001 at 06:00:04PM +0100, Mark Longair wrote: > > I saw this in the changelog for vmail-sql 0.4: > > > > 0.4 > > * Added support for multiple addresses per alias > > > > ... and assumed that meant I could now add multiple recipients per > > forwarder. However, I can't see how to do that from the scripts or > > the web interface. Have I misunderstood? > > You just do it, by entering a number of forwarders with > the same address. It's not the most intuitive or sensible > user interface, I grant.... I tried that: mango:~# VE-forwarder add ideaworks3d.com foo quux@ideaworks3d.com Will add forwarder from `foo@ideaworks3d.com' to `quux@ideaworks3d.com' Done mango:~# VE-forwarder add ideaworks3d.com foo xyzzy@ideaworks3d.com Will add forwarder from `foo@ideaworks3d.com' to `xyzzy@ideaworks3d.com' DBD::mysql::db do failed: Duplicate entry 'ideawork-foo' for key 1 at /usr/local/sbin/VE-forwarder line 93. VE-forwarder: could not insert forwarder record VE-forwarder: Duplicate entry 'ideawork-foo' for key 1 I'm using the 0.4 versions of the scripts. cheers mark From pdw@sphinx.mythic-beasts.com Wed Oct 03 18:51:09 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15oqAn-00048W-00; Wed, 03 Oct 2001 18:51:09 +0100 Date: Wed, 3 Oct 2001 18:51:09 +0100 From: Paul Warren To: Mark Longair Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] forwarding to multiple addresses Message-ID: <20011003185109.J25369@sphinx.mythic-beasts.com> References: <15291.17428.634690.945502@starfruit.iwks.multi.local> <20011003180448.A12947@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mhl@pobox.com on Wed, Oct 03, 2001 at 06:43:59PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Oct 03, 2001 at 06:43:59PM +0100, Mark Longair wrote: > Chris Lightfoot writes: > > You just do it, by entering a number of forwarders with > > the same address. It's not the most intuitive or sensible > > user interface, I grant.... > > I tried that: > > mango:~# VE-forwarder add ideaworks3d.com foo quux@ideaworks3d.com > Will add forwarder from `foo@ideaworks3d.com' to `quux@ideaworks3d.com' > Done > mango:~# VE-forwarder add ideaworks3d.com foo xyzzy@ideaworks3d.com > Will add forwarder from `foo@ideaworks3d.com' to `xyzzy@ideaworks3d.com' > DBD::mysql::db do failed: Duplicate entry 'ideawork-foo' for key 1 at /usr/local/sbin/VE-forwarder line 93. > VE-forwarder: could not insert forwarder record > VE-forwarder: Duplicate entry 'ideawork-foo' for key 1 > > I'm using the 0.4 versions of the scripts. Oops. Bit of a DB blunder there... The primary key on VE-forwarder is unsuitable. ALTER TABLE forwarder DROP PRIMARY KEY ; Should fix everything. I will now investigate how I have come to have no primary key on either the test or live database that I have tested this functionality on. Paul From mark@ideaworks3d.com Wed Oct 03 19:10:58 2001 Received: from mailhost1.dircon.co.uk ([194.112.32.65]) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15oqTy-0004NM-00 for vmail-discuss@lists.beasts.org; Wed, 03 Oct 2001 19:10:58 +0100 Received: from starfruit.iw3d.co.uk (starfruit.iw3d.co.uk [195.157.148.202]) by mailhost1.dircon.co.uk (8.9.3/8.9.3) with ESMTP id TAA81104 for ; Wed, 3 Oct 2001 19:10:57 +0100 (BST) Received: from mark by starfruit.iw3d.co.uk with local (Exim 3.12 #1) id 15oqTp-0008JF-00 for vmail-discuss@lists.beasts.org; Wed, 03 Oct 2001 19:10:49 +0100 To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] forwarding to multiple addresses References: <15291.17428.634690.945502@starfruit.iwks.multi.local> <20011003180448.A12947@aquila.esc.cam.ac.uk> <20011003185109.J25369@sphinx.mythic-beasts.com> From: Mark Longair Date: 03 Oct 2001 19:10:49 +0100 In-Reply-To: Paul Warren's message of "Wed, 3 Oct 2001 18:51:09 +0100" Message-ID: <87n138iogm.fsf@starfruit.iwks.multi.local> Lines: 15 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Paul Warren writes: [...] > Oops. Bit of a DB blunder there... The primary key on VE-forwarder > is unsuitable. > > ALTER TABLE forwarder DROP PRIMARY KEY ; > > Should fix everything. Thanks, it did indeed. > I will now investigate how I have come to have no primary key on either > the test or live database that I have tested this functionality on. : ) From ccrome@yahoo.com Wed Oct 17 17:04:02 2001 Received: from web10001.mail.yahoo.com ([216.136.130.37]) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 15ttAn-00050H-00 for vmail-discuss@lists.beasts.org; Wed, 17 Oct 2001 17:04:02 +0100 Message-ID: <20011017160355.82072.qmail@web10001.mail.yahoo.com> Received: from [209.233.26.53] by web10001.mail.yahoo.com via HTTP; Wed, 17 Oct 2001 09:03:55 PDT Date: Wed, 17 Oct 2001 09:03:55 -0700 (PDT) From: Caleb Crome To: vmail-discuss@lists.beasts.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Vmail-discuss] Vmail, exim local_domains, bouncing local users Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi Chris, I'm using vmail-sql, which is quite nifty. However, I have a comment and a problem. First the comment. You don't mention the 'local_domains' parameter in your README about the exim configuration. I think you should tell the user that each virtual domain needs to be in the local_domains list. To that end, it might as well be a mysql lookup, so you don't have to maintain different lists. So, here's what works for me: local_domains = mysql; SELECT domain_name FROM domain where domain_name = '$key'; ----------------------------------------------------------- Now, for my problem: How do I prevent local delivery of mail to a virtual domain to an email address that has a local part that matches a local user, but doesn't match any user in the domain? For example, I have a local host, named localhost.com, and a virtual host called virtualhost.com. I have a local user named 'caleb'. There is no 'caleb' user in virtualhost.com, nor is there a default for virtualhost.com. Mail to caleb@localhost.com should be delivered locally, but mail to caleb@virtualhost.com should be bounced. With the current set up, mail to caleb@virtualhost.com is being delivered locally, which is a bad thing. Thanks, -Caleb __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com From pdw@sphinx.mythic-beasts.com Wed Oct 17 17:14:33 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15ttKz-0005Cx-00; Wed, 17 Oct 2001 17:14:33 +0100 Date: Wed, 17 Oct 2001 17:14:33 +0100 From: Paul Warren To: Caleb Crome Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Vmail, exim local_domains, bouncing local users Message-ID: <20011017171433.H30905@sphinx.mythic-beasts.com> References: <20011017160355.82072.qmail@web10001.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011017160355.82072.qmail@web10001.mail.yahoo.com>; from ccrome@yahoo.com on Wed, Oct 17, 2001 at 09:03:55AM -0700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Oct 17, 2001 at 09:03:55AM -0700, Caleb Crome wrote: > I'm using vmail-sql, which is quite nifty. However, I have a > comment and a problem. > > First the comment. You don't mention the 'local_domains' parameter in > your README about the exim configuration. I think you should tell the > user that each virtual domain needs to be in the local_domains list. > To that end, it might as well be a mysql lookup, so you don't have to > maintain different lists. Yep - good point, I'll note this in the next release. We do it like this: LOCAL_ALIASES = /etc/mail/local_aliases Tha file consists of a list of (non-virtual) names for our machine. We then have: local_domains = "LOCAL_ALIASES:\ mysql;select domain_name from domain where domain_name = '$key':\ mysql;select alias from domain_alias where alias = '$key'" > Now, for my problem: > > How do I prevent local delivery of mail to a virtual domain to an > email address that has a local part that matches a local user, but > doesn't match any user in the domain? > > For example, I have a local host, named localhost.com, and a virtual > host called virtualhost.com. I have a local user named 'caleb'. > There is no 'caleb' user in virtualhost.com, nor is there a default > for virtualhost.com. Mail to caleb@localhost.com should be delivered > locally, but mail to caleb@virtualhost.com should be bounced. With > the current set up, mail to caleb@virtualhost.com is being delivered > locally, which is a bad thing. With the above, add: domains = LOCAL_ALIASES for all your local delivery directors. This should fix your problem. I will ensure that the sample Exim config is improved for the next release - thanks for the feedback. Paul From velocity@jasonpark.com Thu Oct 25 17:57:14 2001 Received: from liberty.velocity-tech.com ([209.15.84.230] helo=jasonpark.com) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 15wnof-0007Dc-00 for vmail-discuss@lists.beasts.org; Thu, 25 Oct 2001 17:57:13 +0100 Received: from jplaptop2 ([12.108.138.194]) by jasonpark.com ; Thu, 25 Oct 2001 11:52:31 -0500 Reply-To: From: "Jason R. Park" To: Date: Thu, 25 Oct 2001 11:58:41 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Subject: [Vmail-discuss] Exim/Config question Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I am using vmail/exim/tpop3d and have a config question. I have forwarders and mailboxes working great for virtual domains. I would like to be able to do the following though: Send message to: abc@virtdomain.com Message forward to: abc@hisothervirtdomain.com Drop to mailbox: virtdomain.com/abc I can currently forward an address to multiple recipients, but I cannon have both the forward and mail drop work at the same time. I have searched the Exim documentation and cannot seem t come up with anything. It seems to me that I would need to add an option (Assuming that the aliasfile director is before the mailbox director) to the aliasfile director to process and then let things continue to try and catch stuff. If any one has any ideas or suggestions I would greatly appreciate it. Thanks. Best Regards, Jason R. Park, Project Director Truman Group Phone: 1-866-TRUMAN-1 Fax: 1-651-323-6275 E-Mail: contact@trumangroup.com Enter The Possibilities: http://www.trumangroup.com From pdw@sphinx.mythic-beasts.com Thu Oct 25 18:01:33 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 15wnsr-0007Fo-00; Thu, 25 Oct 2001 18:01:33 +0100 Date: Thu, 25 Oct 2001 18:01:33 +0100 From: Paul Warren To: jason@velocity-tech.com Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Exim/Config question Message-ID: <20011025180133.E28710@sphinx.mythic-beasts.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from velocity@jasonpark.com on Thu, Oct 25, 2001 at 11:58:41AM -0500 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Oct 25, 2001 at 11:58:41AM -0500, Jason R. Park wrote: > I am using vmail/exim/tpop3d and have a config question. I have forwarders > and mailboxes working great for virtual domains. I would like to be able to > do the following though: > Send message to: abc@virtdomain.com > Message forward to: abc@hisothervirtdomain.com > Drop to mailbox: virtdomain.com/abc > > I can currently forward an address to multiple recipients, but I cannon have > both the forward and mail drop work at the same time. I have searched the > Exim documentation and cannot seem t come up with anything. It seems to me > that I would need to add an option (Assuming that the aliasfile director is > before the mailbox director) to the aliasfile director to process and then > let things continue to try and catch stuff. If any one has any ideas or > suggestions I would greatly appreciate it. I'm afraid I don't of a nice way to fix this, but there is a simple workaround. Create a mailbox called e.g. abcpop3 within virtdomain.com, and have abc@virtdomain.com forward to both abc@hisothervirtualdomain.com and abcpop3@virtdomain.com. Is this any good? Paul From chris@ex-parrot.com Thu Oct 25 19:21:37 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15wp8L-0008SI-00 for vmail-discuss@lists.beasts.org; Thu, 25 Oct 2001 19:21:37 +0100 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id TAA05517; Thu, 25 Oct 2001 19:35:27 +0100 Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 15wp8I-0007BX-00; Thu, 25 Oct 2001 19:21:34 +0100 Date: Thu, 25 Oct 2001 19:21:34 +0100 From: Chris Lightfoot To: Paul Warren Cc: jason@velocity-tech.com, vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Exim/Config question Message-ID: <20011025192134.A27616@caesious.cold.local> References: <20011025180133.E28710@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011025180133.E28710@sphinx.mythic-beasts.com>; from pdw@ex-parrot.com on Thu, Oct 25, 2001 at 06:01:33PM +0100 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Oct 25, 2001 at 06:01:33PM +0100, Paul Warren wrote: > On Thu, Oct 25, 2001 at 11:58:41AM -0500, Jason R. Park wrote: > > I am using vmail/exim/tpop3d and have a config question. I have forwarders > > and mailboxes working great for virtual domains. I would like to be able to > > do the following though: > > Send message to: abc@virtdomain.com > > Message forward to: abc@hisothervirtdomain.com > > Drop to mailbox: virtdomain.com/abc > > > > I can currently forward an address to multiple recipients, but I cannon have > > both the forward and mail drop work at the same time. I have searched the > > Exim documentation and cannot seem t come up with anything. It seems to me > > that I would need to add an option (Assuming that the aliasfile director is > > before the mailbox director) to the aliasfile director to process and then > > let things continue to try and catch stuff. If any one has any ideas or > > suggestions I would greatly appreciate it. > > I'm afraid I don't of a nice way to fix this, but there is a simple > workaround. Create a mailbox called e.g. abcpop3 within virtdomain.com, > and have abc@virtdomain.com forward to both > abc@hisothervirtualdomain.com and abcpop3@virtdomain.com. I think that's probably the only basic approach which will work. You could probably arrange some hack with system-wide filters, but I don't think you'd win much. -- ``You can't say that, because it's true.'' (unnamed Russian censor, to Malcom Muggeridge, 1933) From pdw@ex-parrot.com Thu Oct 25 22:45:06 2001 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15wsJG-00033e-00 for vmail-discuss@lists.beasts.org; Thu, 25 Oct 2001 22:45:06 +0100 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 15wsJG-0001J9-00; Thu, 25 Oct 2001 22:45:06 +0100 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 15wrGW-0000uj-00; Thu, 25 Oct 2001 21:38:12 +0100 Date: Thu, 25 Oct 2001 21:38:12 +0100 From: Paul Warren To: Chris Lightfoot Cc: jason@velocity-tech.com, vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Exim/Config question Message-ID: <20011025213812.A2992@cerberus> References: <20011025180133.E28710@sphinx.mythic-beasts.com> <20011025192134.A27616@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <20011025192134.A27616@caesious.cold.local>; from chris@ex-parrot.com on Thu, Oct 25, 2001 at 07:21:34PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Oct 25, 2001 at 07:21:34PM +0100, Chris Lightfoot wrote: > > I'm afraid I don't of a nice way to fix this, but there is a simple > > workaround. Create a mailbox called e.g. abcpop3 within virtdomain.com, > > and have abc@virtdomain.com forward to both > > abc@hisothervirtualdomain.com and abcpop3@virtdomain.com. > > I think that's probably the only basic approach which will > work. You could probably arrange some hack with > system-wide filters, but I don't think you'd win much. It has been pointed out to me that there are certain situations where this is particularly awkward: where someone has an existing pop3 box and wants to temporarily copy it to another address. The issue is that POP3 and forwarder deliveries are handle by different Exim directors, so it is difficult to allow a single delivery to be handled by both directors. I'm certainly open to suggestions for how to implement this. Paul From wanted@gnu.univ.gda.pl Fri Oct 26 07:22:27 2001 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15x0Nu-0001LD-00 for vmail-discuss@lists.beasts.org; Fri, 26 Oct 2001 07:22:26 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 15x0Nm-0004vB-00 for ; Fri, 26 Oct 2001 08:22:18 +0200 Date: Fri, 26 Oct 2001 08:21:51 +0200 From: Marcin Sochacki To: Chris Lightfoot Subject: Re: [Vmail-discuss] Exim/Config question Message-ID: <20011026082151.A18708@gnu.univ.gda.pl> References: <20011025180133.E28710@sphinx.mythic-beasts.com> <20011025192134.A27616@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011025192134.A27616@caesious.cold.local>; from chris@ex-parrot.com on Thu, Oct 25, 2001 at 07:21:34PM +0100 Resent-From: wanted@gnu.univ.gda.pl Resent-Date: Fri, 26 Oct 2001 08:22:18 +0200 Resent-To: vmail-discuss@lists.beasts.org Resent-Message-Id: Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Oct 25, 2001 at 07:21:34PM +0100, Chris Lightfoot wrote: > On Thu, Oct 25, 2001 at 06:01:33PM +0100, Paul Warren wrote: > > On Thu, Oct 25, 2001 at 11:58:41AM -0500, Jason R. Park wrote: > > > I am using vmail/exim/tpop3d and have a config question. I have forwarders > > > and mailboxes working great for virtual domains. I would like to be able to > > > do the following though: > > > Send message to: abc@virtdomain.com > > > Message forward to: abc@hisothervirtdomain.com > > > Drop to mailbox: virtdomain.com/abc > > > > > > I can currently forward an address to multiple recipients, but I cannon have > > > both the forward and mail drop work at the same time. I have searched the > > > Exim documentation and cannot seem t come up with anything. It seems to me > > > that I would need to add an option (Assuming that the aliasfile director is > > > before the mailbox director) to the aliasfile director to process and then > > > let things continue to try and catch stuff. If any one has any ideas or > > > suggestions I would greatly appreciate it. > > > > I'm afraid I don't of a nice way to fix this, but there is a simple > > workaround. Create a mailbox called e.g. abcpop3 within virtdomain.com, > > and have abc@virtdomain.com forward to both > > abc@hisothervirtualdomain.com and abcpop3@virtdomain.com. > > I think that's probably the only basic approach which will > work. You could probably arrange some hack with > system-wide filters, but I don't think you'd win much. Huh, Exim amazes me more and more :) I had the same problem and I was quite desparate to make it work. The simplest solution actually worked :) # VE-forwarder list example.com [...] redakcja -> alias-redakcja [...] # grep alias-redakcja /etc/aliases alias-redakcja: redakcja@example.com,other@domain.example.com # VE-popbox list example.com [...] redakcja (1.00 Kb) [...] So we've both forwarder and popbox with the same name, and a loop created using /etc/aliases. I thought this kind of setup would make Exim shout at me, but no! It works nice, seems that Exim detects the loop and skips virtual_forward director. Marcin -- +-------------------------------------------------+ | Sekcja Obslugi Informatycznej Biblioteki Glownej !!! !!! .!!!!!! + | Uniwersytet Gdanski !!! !!! !!! | + tel. (058) 5509436 !!! !!! !!! `!! | `!!!!!!' `!!!!!!' | +-----------------+ From chris@ex-parrot.com Fri Oct 26 08:52:14 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15x1mn-0002YB-00 for vmail-discuss@lists.beasts.org; Fri, 26 Oct 2001 08:52:14 +0100 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id JAA08380 for ; Fri, 26 Oct 2001 09:06:13 +0100 Resent-From: chris@ex-parrot.com Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 15x1mn-0007cy-00 for vmail-discuss@lists.beasts.org; Fri, 26 Oct 2001 08:52:13 +0100 Received: from mythic-aquila.ptp.oggie.local ([10.73.127.1] helo=sphinx.mythic-beasts.com) by caesious.cold.local with esmtp (Exim 3.03 #4) id 15x0NY-0007Zh-00 for chris@caesious.cold.local; Fri, 26 Oct 2001 07:22:04 +0100 Received: from localhost ([127.0.0.1]) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 15x0NY-0001L2-00 for chris@caesious.cold.local; Fri, 26 Oct 2001 07:22:04 +0100 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15x0NW-0001Kd-00 for chris@ex-parrot.com; Fri, 26 Oct 2001 07:22:03 +0100 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.12 #1 (Debian)) id 15x0NL-0004uw-00 for ; Fri, 26 Oct 2001 08:21:51 +0200 Date: Fri, 26 Oct 2001 08:21:51 +0200 From: Marcin Sochacki To: Chris Lightfoot Subject: Re: [Vmail-discuss] Exim/Config question Message-ID: <20011026082151.A18708@gnu.univ.gda.pl> References: <20011025180133.E28710@sphinx.mythic-beasts.com> <20011025192134.A27616@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011025192134.A27616@caesious.cold.local>; from chris@ex-parrot.com on Thu, Oct 25, 2001 at 07:21:34PM +0100 X-Mythic-Loop: chris@sphinx.mythic-beasts.com X-Mythic-Loop: chris@sphinx.mythic-beasts.com X-Caesious-Loop: chris@caesious.cold.local Resent-Date: Fri, 26 Oct 2001 08:52:13 +0100 Resent-To: vmail-discuss@lists.beasts.org Resent-Message-Id: Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Oct 25, 2001 at 07:21:34PM +0100, Chris Lightfoot wrote: > On Thu, Oct 25, 2001 at 06:01:33PM +0100, Paul Warren wrote: > > On Thu, Oct 25, 2001 at 11:58:41AM -0500, Jason R. Park wrote: > > > I am using vmail/exim/tpop3d and have a config question. I have forwarders > > > and mailboxes working great for virtual domains. I would like to be able to > > > do the following though: > > > Send message to: abc@virtdomain.com > > > Message forward to: abc@hisothervirtdomain.com > > > Drop to mailbox: virtdomain.com/abc > > > > > > I can currently forward an address to multiple recipients, but I cannon have > > > both the forward and mail drop work at the same time. I have searched the > > > Exim documentation and cannot seem t come up with anything. It seems to me > > > that I would need to add an option (Assuming that the aliasfile director is > > > before the mailbox director) to the aliasfile director to process and then > > > let things continue to try and catch stuff. If any one has any ideas or > > > suggestions I would greatly appreciate it. > > > > I'm afraid I don't of a nice way to fix this, but there is a simple > > workaround. Create a mailbox called e.g. abcpop3 within virtdomain.com, > > and have abc@virtdomain.com forward to both > > abc@hisothervirtualdomain.com and abcpop3@virtdomain.com. > > I think that's probably the only basic approach which will > work. You could probably arrange some hack with > system-wide filters, but I don't think you'd win much. Huh, Exim amazes me more and more :) I had the same problem and I was quite desparate to make it work. The simplest solution actually worked :) # VE-forwarder list example.com [...] redakcja -> alias-redakcja [...] # grep alias-redakcja /etc/aliases alias-redakcja: redakcja@example.com,other@domain.example.com # VE-popbox list example.com [...] redakcja (1.00 Kb) [...] So we've both forwarder and popbox with the same name, and a loop created using /etc/aliases. I thought this kind of setup would make Exim shout at me, but no! It works nice, seems that Exim detects the loop and skips virtual_forward director. Marcin -- +-------------------------------------------------+ | Sekcja Obslugi Informatycznej Biblioteki Glownej !!! !!! .!!!!!! + | Uniwersytet Gdanski !!! !!! !!! | + tel. (058) 5509436 !!! !!! !!! `!! | `!!!!!!' `!!!!!!' | +-----------------+ From jh@plonk.de Fri Oct 26 17:57:52 2001 Received: from pd95471d1.dip.t-dialin.net ([217.84.113.209] helo=jh.ath.cx) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15xAIq-00078w-00 for vmail-discuss@lists.beasts.org; Fri, 26 Oct 2001 17:57:52 +0100 Received: from ws ([192.168.8.13]) by jh.ath.cx with smtp (Exim 3.32 #1) for id 15xAIe-0000RP-00; Fri, 26 Oct 2001 18:57:40 +0200 Message-ID: <016f01c15e3f$51e50a40$0d08a8c0@ws> From: "Jakob Hirsch" To: Date: Fri, 26 Oct 2001 18:57:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Subject: [Vmail-discuss] domain aliasing with local delivery Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi, I just updated to vmail 0.5 (basically, updating sql-tables and exim.conf) and tried domain aliasing. If the recipient in the new domain is just forwarded, it works fine, but if mails should be local delivered, they are lost. I tracked it down to this query: select path from domain left join domain_alias on domain_alias.domain_name = domain.domain_name where domain.domain_name = '$domain' or domain_alias.alias = '$domain' The problem is, that it gives the pathes of both domains, the aliased and the real domain: --- cut --- lookup yielded: /var/spool/mail/dom1.de /var/spool/mail/dom2.de search_open: mysql "NULL" --- cut --- Exim itself says the message is delivered, but actually it is delivered to nirvana... I'll try to fix this (I'm familiar with SQL, but don't know anything about "left join", so it may take a little time), but if somebody has a quick hack or something, I'd be really glad. -- regards, Jakob ICQ# 78958588 From pdw@ex-parrot.com Fri Oct 26 19:58:58 2001 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15xCC2-0000W7-00 for vmail-discuss@lists.beasts.org; Fri, 26 Oct 2001 19:58:58 +0100 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 15xCC1-00017A-00; Fri, 26 Oct 2001 19:58:57 +0100 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 15xCC0-0000JF-00; Fri, 26 Oct 2001 19:58:56 +0100 Date: Fri, 26 Oct 2001 19:58:56 +0100 From: Paul Warren To: Jakob Hirsch Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] domain aliasing with local delivery Message-ID: <20011026195856.A1185@cerberus.grovehouse.local> References: <016f01c15e3f$51e50a40$0d08a8c0@ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <016f01c15e3f$51e50a40$0d08a8c0@ws>; from jh@plonk.de on Fri, Oct 26, 2001 at 06:57:39PM +0200 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion > > I just updated to vmail 0.5 (basically, updating sql-tables and > exim.conf) and tried domain aliasing. If the recipient in the new > domain is just forwarded, it works fine, but if mails should be local > delivered, they are lost. I tracked it down to this query: select path > from domain left join domain_alias on domain_alias.domain_name = > domain.domain_name where domain.domain_name = '$domain' or > domain_alias.alias = '$domain' My apologies. This is a known issue which I have fixed locally, but have not released. If you put "limit 1" on the end of the queries then this problem is alleviated. So the file query ends up as: file = ${lookup mysql{select path from domain left join domain_alias on domain_alias.domain_name = domain.domain_name where domain.domain_name = '$domain' or domain_alias.alias = '$domain' limit 1}{$value}fail}/${lookup mysql{select mbox_name from popbox left join domain_alias on popbox.domain_name = domain_alias.domain_name where (popbox.domain_name = '$domain' or domain_alias.alias = '$domain') and local_part = '$local_part' limit 1}{$value}fail} I'll do a release shortly. Paul From jh@plonk.de Fri Oct 26 21:05:59 2001 Received: from pd95471d1.dip.t-dialin.net ([217.84.113.209] helo=jh.ath.cx) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15xDEt-0001NT-00 for vmail-discuss@lists.beasts.org; Fri, 26 Oct 2001 21:05:59 +0100 Received: from ws ([192.168.8.13]) by jh.ath.cx with smtp (Exim 3.32 #1) id 15xDEq-0000Uq-00; Fri, 26 Oct 2001 22:05:56 +0200 Message-ID: <021901c15e59$9e89dd20$0d08a8c0@ws> From: "Jakob Hirsch" To: "Paul Warren" Cc: References: <016f01c15e3f$51e50a40$0d08a8c0@ws> <20011026195856.A1185@cerberus.grovehouse.local> Subject: Re: [Vmail-discuss] domain aliasing with local delivery Date: Fri, 26 Oct 2001 22:05:54 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion ----- Original Message ----- From: "Paul Warren" > My apologies. This is a known issue which I have fixed locally, but > have not released. If you put "limit 1" on the end of the queries then > this problem is alleviated. Ok, thanks, that does it for me. But it's only a workaround, that only works if the real domain is listed in the domain-table before the alias domain. Maybe this can't be handled in a single sql-statement... -- regards, Jakob From pdw@ex-parrot.com Fri Oct 26 21:32:47 2001 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15xDep-0001mq-00 for vmail-discuss@lists.beasts.org; Fri, 26 Oct 2001 21:32:47 +0100 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 15xDeo-00020J-00; Fri, 26 Oct 2001 21:32:47 +0100 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 15xDeo-0000MT-00; Fri, 26 Oct 2001 21:32:46 +0100 Date: Fri, 26 Oct 2001 21:32:46 +0100 From: Paul Warren To: Jakob Hirsch Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] domain aliasing with local delivery Message-ID: <20011026213246.B1185@cerberus.grovehouse.local> References: <016f01c15e3f$51e50a40$0d08a8c0@ws> <20011026195856.A1185@cerberus.grovehouse.local> <021901c15e59$9e89dd20$0d08a8c0@ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <021901c15e59$9e89dd20$0d08a8c0@ws>; from jh@plonk.de on Fri, Oct 26, 2001 at 10:05:54PM +0200 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, Oct 26, 2001 at 10:05:54PM +0200, Jakob Hirsch wrote: > ----- Original Message ----- From: "Paul Warren" > > > My apologies. This is a known issue which I have fixed locally, but > > have not released. If you put "limit 1" on the end of the queries then > > this problem is alleviated. > > Ok, thanks, that does it for me. > But it's only a workaround, that only works if the real domain is > listed in the domain-table before the alias domain. The alias domain should not be listed in the domain-table at all - only in the alias table. The problem (AIUI) was that a query for e.g. mydomain.com was producing: path mbox_name domain.domain_name alias.alias foo bar mydomain.com myalias.com foo bar mydomain.com foo bar mydomain.com myotheralias.com The contents of path and mbox_name are always there, and always correct, they just sometimes appear more than once. The limit 1 means that only one will be returned. Have I missed something? > Maybe this can't be handled in a single sql-statement... I think the above is OK, but it's not exactly pretty. I should have also mentioned that the user query needs a limit 1: user = ${lookup mysql{select unix_user from domain left join domain_alias on domain_alias.domain_name = domain.domain_name where domain.domain_name = '$domain' or domain_alias.alias = '$domain' limit 1}{$value}fail} but I suspect you've already got that... Paul From jh@plonk.de Sat Oct 27 15:58:16 2001 Received: from pd9e55ede.dip.t-dialin.net ([217.229.94.222] helo=jh.ath.cx) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15xUue-0007lP-00 for vmail-discuss@lists.beasts.org; Sat, 27 Oct 2001 15:58:16 +0100 Received: from ws ([192.168.8.13]) by jh.ath.cx with smtp (Exim 3.32 #1) id 15xUua-0000Mi-00; Sat, 27 Oct 2001 16:58:12 +0200 Message-ID: <008a01c15ef7$ccb21340$0d08a8c0@ws> From: "Jakob Hirsch" To: "Paul Warren" Cc: References: <016f01c15e3f$51e50a40$0d08a8c0@ws> <20011026195856.A1185@cerberus.grovehouse.local> <021901c15e59$9e89dd20$0d08a8c0@ws> <20011026213246.B1185@cerberus.grovehouse.local> Subject: Re: [Vmail-discuss] domain aliasing with local delivery Date: Sat, 27 Oct 2001 16:58:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion ----- Original Message ----- From: "Paul Warren" > > But it's only a workaround, that only works if the real domain is > > listed in the domain-table before the alias domain. > The alias domain should not be listed in the domain-table at all - only > in the alias table. That means, if I have a domain dom1, that should be aliased to another domain dom2, dom1 will be in domain_alias table, but not in domain table? Then it's (at least partially :-) my fault, since I'm using my own php-scripts for administration that put dom1 in both tables. Another point: I wasn't aware of the fact that dom2 has to be local. Maybe I'll try to implement a more generic form of aliasing that allows to use any domain as dom1 (with exim rewrite or something). > The problem (AIUI) was that a query for e.g. mydomain.com was producing: > > path mbox_name domain.domain_name alias.alias > foo bar mydomain.com myalias.com > foo bar mydomain.com > foo bar mydomain.com myotheralias.com Sure? This query here only gives lines 1 and 3. I think your "limit 1" is for a different problem I didn't come across yet: Having multiple domains aliased to the same "real" domain. Funny that it (partially) fixed also my problem. :) My problem was: The query for the path in virtual_localdelivery gave two different results, one for dom1 and one for dom2, since both are in domain table with a path of "/var/spool/mail/". I finally fixed this now with your "limit 1" and an additional WHERE: SELECT path FROM domain LEFT JOIN domain_alias ON domain_alias.domain_name = domain.domain_name \ WHERE ( domain.domain_name = '$domain' \ AND ( domain_alias.alias != '$domain' OR domain_alias.alias IS NULL )) \ OR domain_alias.alias = '$domain' LIMIT 1 > The contents of path and mbox_name are always there, and always correct, > they just sometimes appear more than once. The limit 1 means that only > one will be returned. Have I missed something? Yes. :) Sorry for not clearly stating that I use my own admin-scripts. > also mentioned that the user query needs a limit 1: > but I suspect you've already got that... Not really, didn't even look for it, since I have the user hardcoded in exim.conf. I don't use quotas and that's the only thing it's needed for, if I understand correctly. From pdw@ex-parrot.com Sat Oct 27 19:44:07 2001 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15xYRD-00034y-00 for vmail-discuss@lists.beasts.org; Sat, 27 Oct 2001 19:44:07 +0100 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 15xYRC-000760-00; Sat, 27 Oct 2001 19:44:06 +0100 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 15xYRD-0002Bf-00; Sat, 27 Oct 2001 19:44:07 +0100 Date: Sat, 27 Oct 2001 19:44:07 +0100 From: Paul Warren To: Jakob Hirsch Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] domain aliasing with local delivery Message-ID: <20011027194407.B8354@cerberus.grovehouse.local> References: <016f01c15e3f$51e50a40$0d08a8c0@ws> <20011026195856.A1185@cerberus.grovehouse.local> <021901c15e59$9e89dd20$0d08a8c0@ws> <20011026213246.B1185@cerberus.grovehouse.local> <008a01c15ef7$ccb21340$0d08a8c0@ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <008a01c15ef7$ccb21340$0d08a8c0@ws>; from jh@plonk.de on Sat, Oct 27, 2001 at 04:58:12PM +0200 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Sat, Oct 27, 2001 at 04:58:12PM +0200, Jakob Hirsch wrote: > ----- Original Message ----- From: "Paul Warren" > > > > But it's only a workaround, that only works if the real domain is > > > listed in the domain-table before the alias domain. > > The alias domain should not be listed in the domain-table at all - only > > in the alias table. > > That means, if I have a domain dom1, that should be aliased to another > domain dom2, dom1 will be in > domain_alias table, but not in domain table? Correct. This design is possibly not ideal, but is a result of the aliasing being put in as an afterthought... > Another point: I wasn't aware of the fact that dom2 has to be local. > Maybe I'll try to implement a more generic form of aliasing that > allows to use any domain as dom1 (with exim rewrite or something). I'm not sure what you mean by local. The idea is that the mail for a particular domain e.g. fred.com is handled by the server in the traditional vmail way. If the user of fred.com also registers fred.co.uk, it can be set up as an alias so that blah@fred.co.uk gets handled exactly as if it were addressed to blah@fred.com, rather than having its own vmail config. > > The problem (AIUI) was that a query for e.g. mydomain.com was producing: > > > > path mbox_name domain.domain_name alias.alias > > foo bar mydomain.com myalias.com > > foo bar mydomain.com > > foo bar mydomain.com myotheralias.com > > Sure? This query here only gives lines 1 and 3. My mistake, but the point still stands - you get multiple rows with the same path and mbox_name, and the limit 1 will return just the first. > My problem was: The query for the path in virtual_localdelivery gave > two different results, one for dom1 and one for dom2, since both are > in domain table with a path of "/var/spool/mail/". If the path is different, then the domains are not 'aliased'. The point of aliasing is so that mail gets handled identically irrespective of which of the aliased domains it is addressed to. The model we have gone for is defining alias names for a "real" domain in the domain table. > > also mentioned that the user query needs a limit 1: > > but I suspect you've already got that... > > Not really, didn't even look for it, since I have the user hardcoded > in exim.conf. I don't use quotas and that's the only thing it's needed > for, if I understand correctly. More or less, yes. If you allow users shell access it is convenient to have the mail in a spool owned by the relevant users. Paul From jh@plonk.de Mon Oct 29 13:02:18 2001 Received: from pd9e554a6.dip.t-dialin.net ([217.229.84.166] helo=jh.ath.cx) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 15yC3V-0003E1-00 for vmail-discuss@lists.beasts.org; Mon, 29 Oct 2001 13:02:18 +0000 Received: from ws ([192.168.8.13]) by jh.ath.cx with smtp (Exim 3.32 #1) id 15yC3L-0000QW-00; Mon, 29 Oct 2001 14:02:07 +0100 Message-ID: <003101c16079$e9564920$0d08a8c0@ws> From: "Jakob Hirsch" To: "Paul Warren" Cc: References: <016f01c15e3f$51e50a40$0d08a8c0@ws> <20011026195856.A1185@cerberus.grovehouse.local> <021901c15e59$9e89dd20$0d08a8c0@ws> <20011026213246.B1185@cerberus.grovehouse.local> <008a01c15ef7$ccb21340$0d08a8c0@ws> <20011027194407.B8354@cerberus.grovehouse.local> Subject: Re: [Vmail-discuss] domain aliasing with local delivery Date: Mon, 29 Oct 2001 14:02:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion ----- Original Message ----- From: "Paul Warren" > > That means, if I have a domain dom1, that should be aliased to another > > domain dom2, dom1 will be in > > domain_alias table, but not in domain table? > Correct. This design is possibly not ideal, but is a result of the > aliasing being put in as an afterthought... It's ok and consequential following to your design. It's only a little more expense on administration, since I have to use domain-table _and_ domain_alias-table to handle all available domains. > > Another point: I wasn't aware of the fact that dom2 has to be local. > > Maybe I'll try to implement a more generic form of aliasing that > > allows to use any domain as dom1 (with exim rewrite or something). > I'm not sure what you mean by local. The idea is that the mail for a Local means a domain listed in exim's local_domains. > particular domain e.g. fred.com is handled by the server in the > traditional vmail way. If the user of fred.com also registers > fred.co.uk, it can be set up as an alias so that blah@fred.co.uk gets > handled exactly as if it were addressed to blah@fred.com, rather than > having its own vmail config. Ok, I see. I think I understood aliasing in another way. Your design means: A domain dom-1 has one or more aliases dom-x, which are all handled the same way as dom-1. I thought more of something like: A domain dom-1 is aliased to another domain dom-2. At first sight there's no difference, but the implementation would be different. > > My problem was: The query for the path in virtual_localdelivery gave > > two different results, one for dom1 and one for dom2, since both are > > in domain table with a path of "/var/spool/mail/". > If the path is different, then the domains are not 'aliased'. The point If dom1 is aliased to dom2, the path of dom1 in domain-table is not used, so there's no problem. From psi-jack@geocities.com Sun Nov 11 19:36:08 2001 Received: from mail4.txucom.net ([207.70.175.17]) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 1630Om-0001rE-00 for vmail-discuss@lists.beasts.org; Sun, 11 Nov 2001 19:36:08 +0000 Received: (qmail 21029 invoked from network); 11 Nov 2001 19:35:34 -0000 Received: from conr-dialup-net3-224.txucom.net (HELO ginseng) ([209.34.3.224]) (envelope-sender ) by mail4.txucom.net (qmail-ldap-1.03) with SMTP for ; 11 Nov 2001 19:35:34 -0000 From: "Eric Renfro" To: "Vmail-SQL" Date: Sun, 11 Nov 2001 13:36:45 -0600 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0038_01C16AB5.E847F7E0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Vmail-discuss] Exim+MySQL+POP3+IMAP Solution Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion This is a multi-part message in MIME format. ------=_NextPart_000_0038_01C16AB5.E847F7E0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0039_01C16AB5.E84B0520" ------=_NextPart_001_0039_01C16AB5.E84B0520 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey guys. I was reading through past articles, and noticed a common question being Webmail and IMAP. For the guys interested, I've been working on a previous endeavor myself doing that, and originally, I started out using Postfix with MySQL, and Courier-IMAP. And since my discoveries of postfix and virtual not mixing well with combined functionality, I've since gone back to exim. I'm re-working my exim configurations now to use MySQL backends for data instead of using flatfiles, thanks to help from vmail-sql, and I'm re-doing some parts to use Maildir over mbox formatted mail, using /var/[spool/]/mail/virtual/$domain/$user/ as the Maildir_path, for the popboxes, and then, using Courier-IMAP to follow up and use MySQL for authentication reading similar information to get that same resolution of the Maildir_path. Though Courier-IMAP is slightly different in what it expects, it still will work, though is a bit of a redundancy hack. PS: I enclosed 'spool/' in []'s because my server model is being designed on FreeBSD, but will be used on Linux in production. 'virtual/' could also easily be deleted and just use $domain/$user instead for a cleaner heigharchy (Sp?). Courier-IMAP also has "soft" quotas. The only limiting factor of this, is if a real user of a virtual popbox has shell access in, and uses local MUA's, then it doesn't work for the quota. Else, it works fine over Webmail, such as SquirrelMail (which is what I plan to use, when this is all done and fixed up). Anyway, thought I'd spread my idea, and possibly get second opinions on the matter. - --- Eric Renfro - Myrddin Computers & Designs CEO/President (713) 595-2104 ext. 2261 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use Comment: -- Psi-Jack iQA/AwUBO+7TTLdZW96NGwakEQK6NQCg9GScyIs/st8tXP31yhM0a2mWjGEAoPvg uTd9KqttU+p1KXgQaEnb9Oe7 =+kZ0 -----END PGP SIGNATURE----- ------=_NextPart_001_0039_01C16AB5.E84B0520 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Exim+MySQL+POP3+IMAP Solution

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey guys. I was reading through past articles, and noticed a common
question being Webmail and IMAP.

For the guys interested, I've been working on a previous endeavor
myself doing that, and originally, I started out using Postfix with
MySQL, and Courier-IMAP. And since my discoveries of postfix and
virtual not mixing well with combined functionality, I've since gone
back to exim. I'm re-working my exim configurations now to use MySQL
backends for data instead of using flatfiles, thanks to help from
vmail-sql, and I'm re-doing some parts to use Maildir over mbox
formatted mail, using /var/[spool/]/mail/virtual/$domain/$user/ as
the Maildir_path, for the popboxes, and then, using Courier-IMAP to
follow up and use MySQL for authentication reading similar
information to get that same resolution of the Maildir_path. Though
Courier-IMAP is slightly different in what it expects, it still will
work, though is a bit of a redundancy hack.

PS: I enclosed 'spool/' in []'s because my server model is being
designed on FreeBSD, but will be used on Linux in production.
'virtual/' could also easily be deleted and just use $domain/$user
instead for a cleaner heigharchy (Sp?).

Courier-IMAP also has "soft" quotas. The only limiting factor = of
this, is if a real user of a virtual popbox has shell access in, and
uses local MUA's, then it doesn't work for the quota. Else, it works
fine over Webmail, such as SquirrelMail (which is what I plan to = use,
when this is all done and fixed up).


Anyway, thought I'd spread my idea, and possibly get second opinions
on the matter.


- ---
Eric Renfro - Myrddin Computers & Designs
CEO/President
(713) 595-2104 ext. 2261


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
Comment:   -- Psi-Jack <Encrypting the Net/Securely>

iQA/AwUBO+7TTLdZW96NGwakEQK6NQCg9GScyIs/st8tXP31yhM0a2mWjGEAoPvg
uTd9KqttU+p1KXgQaEnb9Oe7
=3D+kZ0
-----END PGP SIGNATURE-----

------=_NextPart_001_0039_01C16AB5.E84B0520-- ------=_NextPart_000_0038_01C16AB5.E847F7E0 Content-Type: text/x-vcard; name="Eric Renfro (psi-jack@myrddincd.com).vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Eric Renfro (psi-jack@myrddincd.com).vcf" BEGIN:VCARD VERSION:2.1 N:Renfro;Eric FN:Eric Renfro (psi-jack@myrddincd.com) ORG:Myrddin Computers & Designs TITLE:CEO/President TEL;WORK;VOICE:(713) 595-2104 X2261 TEL;HOME;VOICE:(936) 231-2895 TEL;WORK;FAX:(713) 595-2104 X2261 ADR;WORK:;;14324 Old Humble Pipeline Road;Conroe;TX;77302-4422;United = States of America LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:14324 Old Humble Pipeline = Road=3D0D=3D0AConroe, TX 77302-4422=3D0D=3D0AUnited States=3D of America EMAIL;PREF;INTERNET:psi-jack@myrddincd.com REV:20011030T164102Z END:VCARD ------=_NextPart_000_0038_01C16AB5.E847F7E0 Content-Type: application/octet-stream; name="PGPexch.rtf.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="PGPexch.rtf.asc" owHtWE2MI0cVHoFAaKU9oNyIFD1GId4g293+m9lhPBt5xl52pPHMsOMkWm2HqNxdbRdbXdVTVT0e s5pDuHFAQoITh+QCR06JhBQ4cEbcEDfEkSMHjogDr6rt2fFsW8lmdyUi7INlV796f/Xe977qn669 9dWvrW3/8y8Hv3vw8O8/e/Xrv/7mV77zj7WPfvjnv376h99//KdP/vibX336Sk3yR++8tvahv//L n/9nu/evVz/4xgf//tbDu6+98ou//Xb9J8M1+3kcKBPXAiI0c19hOqrVW/UgVjIZm4TXIIhoHPuP g1gKY4b85g386QexnjCtgzgcE6Wp8aGjGOHbF+5xLYgTGVElYE9milEFh3Qye4aqBeOXG+twMk2G cr6zMd95RfPTOppLzbvnoeRSoauBopEfjBSlwg+GPKP+9lNL9VbLKg2ysBakREVBygkTNmZDho0N H/Jg602wmr8b2JwYMqo3G9D+dvdob/DguAf3Bv0DOH5792B/D9YrnvduY8/zuoNu/qBZ9WGgbHIN k4Jwz+sdrt+5WNDXAGsdFhdrW9C2Gq7LNnG51+leW65tbkJ7sD846F17UG/WoE+1JiN6bcftFrS9 oi21QncKFzdq0O73Bh0IsT6oMDvr/RMX9kbV96v1Dfzy10GQhO58v3fYu98ZHN2/Zg39a3sFEdWL DLZ8aO8edR9ck/WLZLc2oN3df+fOhVvAQofH818+XJHbaBZKLOi6jVk/Oe4cQsiJ1juN5mZjo75R 26rU8FP3/dqdz9ZRa96G9t2jwwHEJKQ7rmZBsx/TnfrC7rgJtuYwpks99+gURtlUV2EfJkQv6m3O gleUREyMwIyVzEZjSIk2QJRhIae6DEREICT+oxEQPK8kkQJOM6ptXcKQ2q3v0mFCGHeyhTb2+53j 6mJULUyzZ8O6EsTFkhRs1VHW5rFY9orkZv1y3Vp+InTzxqJ5H0/GWzzmZda/vFXi/P58pfLSDud6 pG+IoU63n4gGJeKvjvIFNfxdqbCPqWv64k5kiLcKm5dGZdgvnVHsYCpgItUj28jY0QRSRc+YzDRQ EVFyhiqTqaY8hkjmOEFMeXmrS8VGDAcWn6IB0AaRBJFDZgYybbcfS21idg4TZsbQn5784CBXNhvY FQcV0MEVFA9psZFkChHToTyjuEeDjCGdqbWqzpgyGeYMYQsSdm6tTijnuUlEsCETdIn3cSbCfOAy M51lKPdjJAUmi4SPwEig5yxBUC0loGhlnjx0yq4XK8ZBF7NRpojVrtG1idWTaZrnwGnGfGuIMd8R MQSYwFMikQ0uz1zMCYboQLnQBB6MeKSt2jHlKVgyBmcWlyv6lOdJnnmcH6SWCUW0V0ZfuoLCEVNg 87ok8UN5bl1MiLHHarWXZ+55Z0R5D3UqJffe8+wTb3YQ3uuRxP/Cex2NKA9wEtkiLTQwc+H9lJhx 2SXDiqYyRcPzcYQrYm71atnYMGLJOeY2S5dX6JOkW/Uks+pwvrmTgfk01CxhHKWZyKO1z1D9iBrX AKCRmyybp1ryzG3Ao7PeX42pCoOxG7MLjjMNmrPR2HBb2HGMLSoM2i62MLEOMIPVltLQYFLwN45j V+H2C+uxjIadGdRMYIgC6AvB6KJMRESE02LNY6zC1ZxezenVnH65c/r45Hs4HKkIudTLRlEph9KS hYGH75U0TuqQWOzCOYMwaiHa3nq5bfGchkdUs5EdbQg9d/G2unvSLcMQJ6+DhUIjQ2qB3+04YCI7 t8ZSJaPMTcHqsxUFlOaAX8Ixm3G8MHCNw5JohriGptBbapbFa/H6R5k2bhItTIzLUejwGo+MEoGr Y4qISVQ4XgJmt07St95codkKzVZo9nLRbIHKuJZfQi40rGsZm3U4zaQh2nIhitCD4MCRbhlHcklo sMsdc2KW2mhgOXNBdxwYOCJTaGDO+3O2CNaeHlviT8KQalQkcv6IajRwGaJo/+1OSZcdo7QsKpJU i5JxFGrJBWHGSF0EVehxTR3/sjuQvOPNImfPs1ciZdBZOLaM9+Q0Y0pRbskg3JqMWejI2XKCtw8p J2JGzcswsS7anDhKh0FF9kJiw8FrD2Jqlq6w7qU2yApxVsNjdZQvfHh0xHRCpvP7KsJeaQk/1Km9 m1v2yyJKciRPpdZsiPPD3ss1DSWuyZQJ947F3tiXvWZw7y/UCjBX/f3/0N//swEikcEb6w6nsVmI 9ZTDF473ObCoUqksqqqhm7v3r2wLODK8mzdeRJE+b3v0FAvhPhWxklCB/lRFEV7e92SSZght+uki IMnVGnjjiSbouhcH+ssT+17vyDtW6HVEhXlWt29t1hpvQmurVanbOqbnpgp1BLdnCmeFCs8XYAsL wNs96j64sxhjfRPX7w36B9fWG7OEXPwX ------=_NextPart_000_0038_01C16AB5.E847F7E0-- From psi-jack@geocities.com Sun Nov 11 19:44:29 2001 Received: from mail4.txucom.net ([207.70.175.17]) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 1630Wq-00022D-00 for vmail-discuss@lists.beasts.org; Sun, 11 Nov 2001 19:44:29 +0000 Received: (qmail 23406 invoked from network); 11 Nov 2001 19:43:55 -0000 Received: from conr-dialup-net3-224.txucom.net (HELO ginseng) ([209.34.3.224]) (envelope-sender ) by mail4.txucom.net (qmail-ldap-1.03) with SMTP for ; 11 Nov 2001 19:43:55 -0000 From: "Eric Renfro" To: "Vmail-SQL" Date: Sun, 11 Nov 2001 13:45:06 -0600 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_003D_01C16AB7.1360B970" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Vmail-discuss] Security note for exim and MySQL Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion This is a multi-part message in MIME format. ------=_NextPart_000_003D_01C16AB7.1360B970 Content-Type: multipart/alternative; boundary="----=_NextPart_001_003E_01C16AB7.136CEE70" ------=_NextPart_001_003E_01C16AB7.136CEE70 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Just in case, I noticed from the documentation of vmail-sql, and exim's setup: mysql_servers = host/user/pass This alone, is insecure, and should be prepended with the hide directive to look more like: hide mysql_servers = host/user/pass This will hide that from even just running exim -bP, which any user could normally run, regardless if they have read access to the conf file of exim. - --- Eric Renfro - Myrddin Computers & Designs CEO/President (713) 595-2104 ext. 2261 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use Comment: -- Psi-Jack iQA/AwUBO+7VQLdZW96NGwakEQL7UgCaAuS9JM92SI62Wgwt/YkQNZoCJjAAn02j 82maFoTAOU/zHGop+iydf9HN =gXnx -----END PGP SIGNATURE----- ------=_NextPart_001_003E_01C16AB7.136CEE70 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Security note for exim and MySQL

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just in case, I noticed from the documentation of vmail-sql, and
exim's setup:

mysql_servers =3D host/user/pass

This alone, is insecure, and should be prepended with the hide
directive to look more like:

hide mysql_servers =3D host/user/pass

This will hide that from even just running exim -bP, which any user
could normally run, regardless if they have read access to the conf
file of exim.

- ---
Eric Renfro - Myrddin Computers & Designs
CEO/President
(713) 595-2104 ext. 2261


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
Comment:   -- Psi-Jack <Encrypting the Net/Securely>

iQA/AwUBO+7VQLdZW96NGwakEQL7UgCaAuS9JM92SI62Wgwt/YkQNZoCJjAAn02j
82maFoTAOU/zHGop+iydf9HN
=3DgXnx
-----END PGP SIGNATURE-----

------=_NextPart_001_003E_01C16AB7.136CEE70-- ------=_NextPart_000_003D_01C16AB7.1360B970 Content-Type: text/x-vcard; name="Eric Renfro (psi-jack@myrddincd.com).vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Eric Renfro (psi-jack@myrddincd.com).vcf" BEGIN:VCARD VERSION:2.1 N:Renfro;Eric FN:Eric Renfro (psi-jack@myrddincd.com) ORG:Myrddin Computers & Designs TITLE:CEO/President TEL;WORK;VOICE:(713) 595-2104 X2261 TEL;HOME;VOICE:(936) 231-2895 TEL;WORK;FAX:(713) 595-2104 X2261 ADR;WORK:;;14324 Old Humble Pipeline Road;Conroe;TX;77302-4422;United = States of America LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:14324 Old Humble Pipeline = Road=3D0D=3D0AConroe, TX 77302-4422=3D0D=3D0AUnited States=3D of America EMAIL;PREF;INTERNET:psi-jack@myrddincd.com REV:20011030T164102Z END:VCARD ------=_NextPart_000_003D_01C16AB7.1360B970 Content-Type: application/octet-stream; name="PGPexch.rtf.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="PGPexch.rtf.asc" owHtWD1sI0UUjkAEKVKQ6OBo3qW4AxRnf7y2E2Lf4dgGghInSgynwEpovDvrHW521jczG5+JUtAg QURDgSgoUtBSgYQQNSUNAkoKoEAUiIaemU1ysZ2NxMEFEWldrFZv33zz3pv3zeeZd6duPvzI1PLv 3z//xc7rP77/1PQnjz/00YdThz/8+vWff/z09m+H3x4c/Dz9eeurb56Ynjr84OPvrr4mPrty5dHK e4/13rEOfpn/8tMnb3an9G/P5TKwXMQESR9ev2fZJdsNeByFMqIWuD4OAnPPDWImZZfOzqhX0w3E gAjhBl6IuMDShDoniC7vp58tN4hiH3MGjTjhBHNo48HxNwXNCL030IbtYdSNT0YWT0aOIJ/FcI6n P5k0tXoxjbkK0OXYN90ex5iZbpcm2Fw+Y7JLJQ3lJp7l9hH33T5FhOlMJeoWyyYcpWg7oJGfdXUl JOrZThGqV5sbjc7OZgte6qyvweYrK2urDZgrGMatYsMwmp3m0QdnwYQO1yWVJGaIGkarPXdjfwyv CHp2GDdaS1DVCJO+jjK36s0Js1WpQLWz2llrTXywHQvWsRCohydGLJagamQNsTLDyTSWLaiutzp1 8FRXYCZrc+vbadrlBdNcsMvqYc4BQxGuvdhqt7bqnY2tidlUfFUjIyM7a8KSCdWVjebOhK+Z5btU hmpz9dUb+6lBtTfsnbyZMOJXdjI9xhN1FqH6wka7AwHycC3tNxDkLVyzx/ADB3S/qHiycRbV6m1v 1tvgUSREza7YpukUraWCpX7q3cqO9uVESCAMPCTwPKyOYzrHybNYEg/7oCkLMsTgx14SqUVBuvMg DmA3QoQWxB06D4j5gO+S6LrIBlOMS/rPjdfTVgulgx+Jcf+8epVU8Q1dsGznEdeKfc+upz51mp0Z hzRV7YzxBT1v+svXD2m899cUF7Y4kxFeY13RXz51da8jM1/KB0TtaKj4+IbAfBdzAbVsNoaxkEai nIy+ws5ZmbMyZ+WFsrITEgGIxkzJLTlHIgkT2Es4PhJTEcYJ9aGLoc9xHzNfKfGAyDBV4pD4So4J x54kuxhkDDSOb0MUc5yNTcltnKtvzvOc5xfL85SYuQTn1Myp+b+U4AGh9IikMkQym5npeRfvYgZv 6mMyTxgjrJeebqHQ3ZyHQUi8UIn0EDR/wUuFmsU8QpQOtf88cNxD3KdYnKf1gdbxIYRIyTfHyAfk edpbSbkWeC9mAQSEYn3M1jMv5DvEJeSN+stHeqxGcSDHcr1D4R/n+y9oVCgUxqEsFebK1sgwlxKG Z2cexH6WGWdaqr8XbIsTD7YwU3SEAqwPue8TffEb9ROpdfVME6BotAeunSJBEwu1DOLy5N5obRib XEXtYybvN+ynK1bxGSgtlQq27mN8Vy6AbZetfFf4D3eFkmoAI+Nm2a7o2+mMa/jjguz/BQ== ------=_NextPart_000_003D_01C16AB7.1360B970-- From pdw@ex-parrot.com Sun Nov 11 21:09:33 2001 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 1631rB-0003U6-00 for vmail-discuss@lists.beasts.org; Sun, 11 Nov 2001 21:09:33 +0000 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 1631rA-0003gy-00; Sun, 11 Nov 2001 21:09:32 +0000 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 1631rD-0003zD-00; Sun, 11 Nov 2001 21:09:35 +0000 Date: Sun, 11 Nov 2001 21:09:35 +0000 From: Paul Warren To: Eric Renfro Cc: Vmail-SQL Subject: Re: [Vmail-discuss] Security note for exim and MySQL Message-ID: <20011111210935.B15214@cerberus.grovehouse.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: ; from psi-jack@geocities.com on Sun, Nov 11, 2001 at 01:45:06PM -0600 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Sun, Nov 11, 2001 at 01:45:06PM -0600, Eric Renfro wrote: > Just in case, I noticed from the documentation of vmail-sql, and > exim's setup: > > mysql_servers = host/user/pass > > This alone, is insecure, and should be prepended with the hide > directive to look more like: > > hide mysql_servers = host/user/pass > > This will hide that from even just running exim -bP, which any user > could normally run, regardless if they have read access to the conf > file of exim. Good point - thanks for that. Is this option a recent addition to exim? Our 3.13 installation doesn't seem to support it. Paul From psi-jack@geocities.com Sun Nov 11 21:26:58 2001 Received: from mail4.txucom.net ([207.70.175.17]) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 163282-0003qq-00 for vmail-discuss@lists.beasts.org; Sun, 11 Nov 2001 21:26:58 +0000 Received: (qmail 21440 invoked from network); 11 Nov 2001 21:26:26 -0000 Received: from conr-dialup-net3-224.txucom.net (HELO ginseng) ([209.34.3.224]) (envelope-sender ) by mail4.txucom.net (qmail-ldap-1.03) with SMTP for ; 11 Nov 2001 21:26:26 -0000 From: "Eric Renfro" To: "Vmail-SQL" Subject: RE: [Vmail-discuss] Security note for exim and MySQL Date: Sun, 11 Nov 2001 15:27:37 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20011111210935.B15214@cerberus.grovehouse.local> Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 |On Sun, Nov 11, 2001 at 01:45:06PM -0600, Eric Renfro wrote: |> Just in case, I noticed from the documentation of vmail-sql, and |> exim's setup: |> |> mysql_servers = host/user/pass |> |> This alone, is insecure, and should be prepended with the hide |> directive to look more like: |> |> hide mysql_servers = host/user/pass |> |> This will hide that from even just running exim -bP, which any |> user could normally run, regardless if they have read access to |> the conf file of exim. | |Good point - thanks for that. Is this option a recent |addition to exim? Our 3.13 installation doesn't seem to support it. | |Paul Yes, I do believe it is. It's in my exim-mysql 3.32. I just checked the Changelog in my source tree for it. The 'hide' pre-directive was added in exim 3.164, for security reasons. BTW, Paul. I must admit. This vmail-sql approach to using SQL queries GREATLY reduces the amount of configuration directives in my original flat-file system. I used to use several TRANSPORTS, and several DIRECTORS to do the same thing, but, so far, from what I'm seeing, and playing with by juggling the selects manually to test them out, it looks fairly solid and fully implemented. I never thought a MySQL approach could be so handy. And since exim's mysql backend approach allows you to literally set the entire query, it's the ultimate approach to doing it. I used to have /etc/virtual/$domain/[aliases|filter|passwd], and /etc/mail/[userdomains|virtualdomains] all used to do all that. I'm adding to vmail-sql, for allowing relaying through virtual-domains as well, and if you would like, I will submit my sketched changes so you, and everyone else interested, may scan through it, and look at it, and use it as desired. - --- Eric Renfro - Myrddin Computers & Designs CEO/President 713-595-2104 X2261 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use Comment: -- Psi-Jack iQA/AwUBO+7tSLdZW96NGwakEQJZ3gCgkeegJjED9d9X316salj3wGtJUZgAn2Sf hidSW4Sj191AZlo+GH5F97ek =Bg7Z -----END PGP SIGNATURE----- From psi-jack@geocities.com Sun Nov 11 21:45:34 2001 Received: from mail4.txucom.net ([207.70.175.17]) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 1632Q2-00049k-00 for vmail-discuss@lists.beasts.org; Sun, 11 Nov 2001 21:45:34 +0000 Received: (qmail 27981 invoked from network); 11 Nov 2001 21:45:02 -0000 Received: from conr-dialup-net3-224.txucom.net (HELO ginseng) ([209.34.3.224]) (envelope-sender ) by mail4.txucom.net (qmail-ldap-1.03) with SMTP for ; 11 Nov 2001 21:45:02 -0000 From: "Eric Renfro" To: "Vmail-SQL" Date: Sun, 11 Nov 2001 15:46:13 -0600 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0046_01C16AC7.FEC983A0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Vmail-discuss] Mailman and Autoresponders with vmail-sql. Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C16AC7.FEC983A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alright. The big question of all, for my current server model to work: How would I get Mailman to integrate into the vmail-sql system, as well as autoresponders (you send info@virtualdomain, and it emails back a templated email message to the emailee). So far, with the vmail-sql system, the two primaries worked. *@virtual-domain, and pop-accessible username@virtual-domain all work, including aliasing sales@virtual-domain to go to several virtual users. - --- Eric Renfro - Myrddin Computers & Designs CEO/President (713) 595-2104 ext. 2261 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use Comment: -- Psi-Jack iQA/AwUBO+7xpLdZW96NGwakEQKO0wCeK5S6jB36OmqVWtesb7gabVjqP6MAoIEC kkUFMQFQ9SKV+NZaKEGCBiAM =ga+i -----END PGP SIGNATURE----- ------=_NextPart_000_0046_01C16AC7.FEC983A0 Content-Type: text/x-vcard; name="Eric Renfro (psi-jack@myrddincd.com).vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Eric Renfro (psi-jack@myrddincd.com).vcf" BEGIN:VCARD VERSION:2.1 N:Renfro;Eric FN:Eric Renfro (psi-jack@myrddincd.com) ORG:Myrddin Computers & Designs TITLE:CEO/President TEL;WORK;VOICE:(713) 595-2104 X2261 TEL;HOME;VOICE:(936) 231-2895 TEL;WORK;FAX:(713) 595-2104 X2261 ADR;WORK:;;14324 Old Humble Pipeline Road;Conroe;TX;77302-4422;United = States of America LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:14324 Old Humble Pipeline = Road=3D0D=3D0AConroe, TX 77302-4422=3D0D=3D0AUnited States=3D of America EMAIL;PREF;INTERNET:psi-jack@myrddincd.com REV:20011030T164102Z END:VCARD ------=_NextPart_000_0046_01C16AC7.FEC983A0-- From fgk@bofh.hanau.net Sun Nov 11 22:13:10 2001 Received: from [213.221.81.10] (helo=zeus.frankfurt.de.velia.net ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 1632qj-0004cC-00 for vmail-discuss@lists.beasts.org; Sun, 11 Nov 2001 22:13:10 +0000 Received: from uucp by zeus.frankfurt.de.velia.net with local-bsmtp (Exim 3.12 #1) id 1632qj-0002jL-00; Sun, 11 Nov 2001 23:13:09 +0100 Received: from phoenix.bofh.hanau.net ([172.20.2.2] ident=mail) by orion.bofh.hanau.net with esmtp (Exim 3.12 #1) id 1632pl-0004gE-00 for ; Sun, 11 Nov 2001 23:12:09 +0100 Received: from fgk by phoenix.bofh.hanau.net with local (Exim 3.32 #1 (Debian)) id 1632pk-0002qs-00 for ; Sun, 11 Nov 2001 23:12:08 +0100 Date: Sun, 11 Nov 2001 23:12:07 +0100 From: Franz Georg =?iso-8859-1?Q?K=F6hler?= To: vmail-discuss@lists.beasts.org Message-ID: <20011111231207.A10962@phoenix.bofh.hanau.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.3.23i X-Accept-Language: de en X-Uptime: 23:08:45 up 9 days, 7:20, 2 users, load average: 0.00, 0.00, 0.00 Subject: [Vmail-discuss] smtp auth Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi, this question, in fact, is exim related, but I didn't get it answered on the exim mailing list, so I'm asking here again. Is there anyone who is running exim smtp auth with the vmail/sql data? (see http://www.exim.org/mailman/htdig/exim-users/Week-of-Mon-20010618/027082.html for my setup) From psi-jack@geocities.com Sun Nov 11 22:51:03 2001 Received: from mail4.txucom.net ([207.70.175.17]) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 1633RP-0005H4-00 for vmail-discuss@lists.beasts.org; Sun, 11 Nov 2001 22:51:03 +0000 Received: (qmail 19396 invoked from network); 11 Nov 2001 22:50:30 -0000 Received: from conr-dialup-net3-224.txucom.net (HELO ginseng) ([209.34.3.224]) (envelope-sender ) by mail4.txucom.net (qmail-ldap-1.03) with SMTP for ; 11 Nov 2001 22:50:30 -0000 From: "Eric Renfro" To: "Vmail-SQL" Subject: RE: [Vmail-discuss] smtp auth Date: Sun, 11 Nov 2001 16:51:42 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20011111231207.A10962@phoenix.bofh.hanau.net> Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion =20 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 |-----Original Message----- |From: vmail-discuss-admin@lists.beasts.org=20 |[mailto:vmail-discuss-admin@lists.beasts.org] On Behalf Of=20 |Franz Georg K=F6hler |Sent: Sunday, November 11, 2001 4:12 PM |To: vmail-discuss@lists.beasts.org |Subject: [Vmail-discuss] smtp auth | | |Hi, |this question, in fact, is exim related, but I didn't get it=20 |answered on the exim mailing list, so I'm asking here again. | |Is there anyone who is running exim smtp auth with the vmail/sql |data? =20 | | |(see=20 |http://www.exim.org/mailman/htdig/exim-|users/Week-of-Mon-200106 |18/027082.html |for my setup) | A BIG problem could be the password hash. In my case, a crypt-md5 has a preleading {crypt-md5} to it, which disrupts anything that doesn't know about that. Paul if you read this, take a note, please. :) Proper MD5 hashed passwords /always/ start with $1, to signify that it's MD5, and hashed. DES hashed passwords don't have that. I forget it's identifier, if it even has one. I personally dare not ever use plaintext passwords as much as I possibly can. Try an experiment, and remove that {} preleading blurb from the hashed_password, and see if that works. - --- Eric Renfro - Myrddin Computers & Designs CEO/President 713-595-2104 X2261 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use Comment: -- Psi-Jack iQA/AwUBO+8A/rdZW96NGwakEQKhlgCdHnkK1rUXbJGPTG3KOXdDSNMrS+8AoPR5 Su0X2HqNrQJvmrQi/oiM6FM2 =3Dg6JE -----END PGP SIGNATURE----- From psi-jack@psi-jack.dnsalias.com Sun Nov 11 23:06:02 2001 Received: from conr-dialup-net3-224.txucom.net ([209.34.3.224] helo=trident.myrddincd.com) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 1633fp-0005VH-00 for vmail-discuss@lists.beasts.org; Sun, 11 Nov 2001 23:05:58 +0000 Received: from ginseng.myrddincd.com ([192.168.0.1] helo=ginseng) by trident.myrddincd.com with esmtp (Exim 3.33 #1 (Debian)) id 1633ce-000Gky-00 for ; Sun, 11 Nov 2001 17:02:41 -0600 From: "Eric Renfro" To: "Vmail-SQL" Date: Sun, 11 Nov 2001 17:06:36 -0600 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_006C_01C16AD3.39303970" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Vmail-discuss] exim 6 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion This is a multi-part message in MIME format. ------=_NextPart_000_006C_01C16AD3.39303970 Content-Type: multipart/alternative; boundary="----=_NextPart_001_006D_01C16AD3.393346B0" ------=_NextPart_001_006D_01C16AD3.393346B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 exim test 6 - --- Eric Renfro - Myrddin Computers & Designs CEO/President (713) 595-2104 ext. 2261 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use Comment: -- Psi-Jack iQA/AwUBO+8EerdZW96NGwakEQLVDACg1RZL/Mc9aHKZYjnhKrmSEQMQjYEAoKyo ijXmEXppd57DxyglEb+gJPrJ =id2b -----END PGP SIGNATURE----- ------=_NextPart_001_006D_01C16AD3.393346B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable exim 6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

exim test 6

- ---
Eric Renfro - Myrddin Computers & Designs
CEO/President
(713) 595-2104 ext. 2261


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
Comment:   -- Psi-Jack <Encrypting the Net/Securely>

iQA/AwUBO+8EerdZW96NGwakEQLVDACg1RZL/Mc9aHKZYjnhKrmSEQMQjYEAoKyo
ijXmEXppd57DxyglEb+gJPrJ
=3Did2b
-----END PGP SIGNATURE-----

------=_NextPart_001_006D_01C16AD3.393346B0-- ------=_NextPart_000_006C_01C16AD3.39303970 Content-Type: text/x-vcard; name="Eric Renfro (psi-jack@myrddincd.com).vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Eric Renfro (psi-jack@myrddincd.com).vcf" BEGIN:VCARD VERSION:2.1 N:Renfro;Eric FN:Eric Renfro (psi-jack@myrddincd.com) ORG:Myrddin Computers & Designs TITLE:CEO/President TEL;WORK;VOICE:(713) 595-2104 X2261 TEL;HOME;VOICE:(936) 231-2895 TEL;WORK;FAX:(713) 595-2104 X2261 ADR;WORK:;;14324 Old Humble Pipeline Road;Conroe;TX;77302-4422;United = States of America LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:14324 Old Humble Pipeline = Road=3D0D=3D0AConroe, TX 77302-4422=3D0D=3D0AUnited States=3D of America EMAIL;PREF;INTERNET:psi-jack@myrddincd.com REV:20011030T164102Z END:VCARD ------=_NextPart_000_006C_01C16AD3.39303970 Content-Type: application/octet-stream; name="PGPexch.rtf.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="PGPexch.rtf.asc" owHtVTtv01AUjnhJVCoSQrDAcMhQHlLie29sp1WcojRxaaS8lLpAxR1wkuvUwnGC7agv5Qd06IDE ghi6MIAEMxtiZWVBLDDBwsDIynXatHHqCkolBBIeLOvcc77vfMef7tmI3Dh+MpL6dmLt1eLdj5sX Tz09e+zTRmRrrnBh9vyX5+/Nh/eNN4+8J6VnX99Fthbij2uX7n1/nb+zcu7tGSNz+/OHzZenX9Qi /rNOHc/AVLdds/+qd5qYSIQaTru15LUsDLTBDAOtU6Nte17NGh/jn4ga7rLputSoL+mOyzwEGcfU rVSvf4yp0Wo3mGNDtt11TOZAiS3vnHFo27R2CwnMr7Zq7UFlYlA5hLwfQ9yhH5D2o/W21XZ4g9Rh DUSbDmM2ojWry1BqX4hIkg9Fu3VMO7rToB1LN21fqafXEjKCbYlEBB/5OvUn4elNIiZAuZwrZ7XF igpzWrEAlYWZQj4L0Zgg3E5kBSGn5bYPxDgCzfFH6pltW7cEQS1Fp3sBvAT47BAM4ilQfITRXJGH 1UxuJIyTSVC0vFZQRw6IiKHIXFdvspGKSQkUIawEh7YTGpQxKEVVy0Cdu4LZXjpanO/LluMIxYnM XygKtt5i6ZtqSa1mtHJ1hI33pwghikgYoYRAmSnnFkdyUVjulAxKLn9rutcPcHvD+uALwVCeLIZm BLAm+dTnK5kS1C3dddMJgvEkkkkihvlDEMLTP8fA4iQos+WSBoZeZ+m+Z8E111iaBKoNEXzPcU27 OGzFbIHHXC+IKO7IloM8Ehcu+ERDsL0DmpoiPNdXFp47lJkku3GfdS9pfCxIj/ishODgD2L/E/9t wq65ndReKr2io79CIOiW2bTTFr9sAlofWPDbeo/gsVgsFoTCvM2Z6lAZtUyb8dvyAOrD2C60z/6o fq1Z1THrUGU2X08Qg+Kq02iY/pZpdboec9z9JtBbwx6Y2EOCHHP5b3D/He1ZtSxUHN51g1+4h237 ahInroE0JcWI72O24sWBEBkfSs7/W+FoAiVuACFkjZGkvwpDdv7OQHo/AA== ------=_NextPart_000_006C_01C16AD3.39303970-- From pdw@ex-parrot.com Mon Nov 12 23:16:43 2001 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 163QJn-0006To-00 for vmail-discuss@lists.beasts.org; Mon, 12 Nov 2001 23:16:43 +0000 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 163QJn-0003kH-00; Mon, 12 Nov 2001 23:16:43 +0000 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 163QJr-0004Lf-00; Mon, 12 Nov 2001 23:16:47 +0000 Date: Mon, 12 Nov 2001 23:16:47 +0000 From: Paul Warren To: Eric Renfro Cc: Vmail-SQL Subject: Re: [Vmail-discuss] smtp auth Message-ID: <20011112231647.B16371@cerberus.grovehouse.local> References: <20011111231207.A10962@phoenix.bofh.hanau.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: ; from psi-jack@geocities.com on Sun, Nov 11, 2001 at 04:51:42PM -0600 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Sun, Nov 11, 2001 at 04:51:42PM -0600, Eric Renfro wrote: > A BIG problem could be the password hash. In my case, a crypt-md5 has > a preleading {crypt-md5} to it, which disrupts anything that doesn't > know about that. > > Paul if you read this, take a note, please. :) > > Proper MD5 hashed passwords /always/ start with $1, to signify that > it's MD5, and hashed. > DES hashed passwords don't have that. I forget it's identifier, if it > even has one. The reason for this is so that we can support multiple hashing formats, beyond just MD5 and DES. In particular, APOP requires a plaintext copy of the password. With hindsight, it might have been more sensible to put the hash method into a separate column. We didn't invent the {crypt-md5} syntax - we copied it off anther project although I forget which one. > I personally dare not ever use plaintext passwords as much as I > possibly can. I'd prefer to have plaintext passwords in a database that I can secure, rather than passwords being sent in the clear over a network that I can't, hence support for plaintext passwords so that we can do APOP, and CRAM-MD5 SMTP AUTH. Paul From chris@ex-parrot.com Mon Nov 12 23:26:18 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 163QT4-0006im-00 for vmail-discuss@lists.beasts.org; Mon, 12 Nov 2001 23:26:18 +0000 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id XAA08162; Mon, 12 Nov 2001 23:44:09 GMT Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 163QT1-0002l7-00; Mon, 12 Nov 2001 23:26:15 +0000 Date: Mon, 12 Nov 2001 23:26:15 +0000 From: Chris Lightfoot To: Paul Warren Cc: Eric Renfro , Vmail-SQL Subject: Re: [Vmail-discuss] smtp auth Message-ID: <20011112232615.A10586@caesious.cold.local> References: <20011111231207.A10962@phoenix.bofh.hanau.net> <20011112231647.B16371@cerberus.grovehouse.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011112231647.B16371@cerberus.grovehouse.local>; from pdw@ex-parrot.com on Mon, Nov 12, 2001 at 11:16:47PM +0000 X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Nov 12, 2001 at 11:16:47PM +0000, Paul Warren wrote: > On Sun, Nov 11, 2001 at 04:51:42PM -0600, Eric Renfro wrote: > > A BIG problem could be the password hash. In my case, a crypt-md5 has > > a preleading {crypt-md5} to it, which disrupts anything that doesn't > > know about that. > > > > Paul if you read this, take a note, please. :) > > > > Proper MD5 hashed passwords /always/ start with $1, to signify that > > it's MD5, and hashed. > > DES hashed passwords don't have that. I forget it's identifier, if it > > even has one. DES don't. It's some sort of OpenBSDism, I think. The point is that the 1$ is not a valid crypt(3) salt value, so the system uses it as `magic' to call into crypt_md5. 2$ is some sort of Blowfish hash, I think, though I don't have an OpenBSD machine to hand to check.... > The reason for this is so that we can support multiple hashing formats, > beyond just MD5 and DES. In particular, APOP requires a plaintext copy > of the password. > > With hindsight, it might have been more sensible to put the hash method > into a separate column. > > > We didn't invent the {crypt-md5} syntax - we copied it off anther > project although I forget which one. > LDAP, I think. It's not an unreasonable syntax, though I suppose putting the information in a separate field might have been more sensible. Ho hum. > > I personally dare not ever use plaintext passwords as much as I > > possibly can. > > I'd prefer to have plaintext passwords in a database that I can secure, > rather than passwords being sent in the clear over a network that I > can't, hence support for plaintext passwords so that we can do APOP, and > CRAM-MD5 SMTP AUTH. Quite. -- The Clairvoyant Society of London will not meet Tuesday because of unforeseen circumstances (announcement in the Financial Times) From jh@plonk.de Mon Nov 12 23:39:26 2001 Received: from pd9e55e17.dip.t-dialin.net ([217.229.94.23] helo=jh.ath.cx) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 163Qfl-0006yy-00 for vmail-discuss@lists.beasts.org; Mon, 12 Nov 2001 23:39:25 +0000 Received: from ws ([192.168.8.10]) by jh.ath.cx with smtp (Exim 3.32 #1) for id 163Qfb-0001CK-00; Tue, 13 Nov 2001 00:39:15 +0100 Message-ID: <00be01c16bd3$3cce2960$0a08a8c0@ws> From: "Jakob Hirsch" To: References: <20011111231207.A10962@phoenix.bofh.hanau.net> Subject: Re: [Vmail-discuss] smtp auth Date: Tue, 13 Nov 2001 00:39:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion ----- Original Message ----- From: "Franz Georg Köhler" Hi, > this question, in fact, is exim related, but I didn't get it answered on > the exim mailing list, so I'm asking here again. I'm not reading exim-users list regularly, too much traffic for me. :) > Is there anyone who is running exim smtp auth with the vmail/sql > data? Sure. I had to fiddle with this for a while since I found no real documentation for this, only parts of configs from others. We currently use the first part (plaintext passwords), but I'll add some older config lines with md5 which may work, but I don't know any more. It should not be to hard to change it to one of the other hash_methods and maybe it would be nice to have one for all, but I don't think it's worth the work. remarks: - Mac-Outlook is able to use AUTH only since v5.02 and if you _don't_ use @ as a user-domain seperator. This seems strange, since POP3-Login with user@domain works flawless. - valid seperators are "@%!". You can simple add more. # announce AUTH to hosts not in relay_networks host_auth_accept_relay = * ... ### AUTHENTICATION CONFIGURATION ### # PLAIN: user and pass as base64-coded string # used by: Netscape plain: driver = plaintext public_name = PLAIN server_condition = "${if and { \ {!eq {$2}{}} \ {!eq {$3}{}} \ {eq {\\{plaintext\\}$3}{${lookup mysql { \ select password_hash from popbox \ where local_part='${extract {1}{@%!}{$2}}' \ and domain_name='${extract {2}{@%!}{$2}}' \ }{$value}{*:*}}} \ }}{1}{0}}" server_set_id = $2 # LOGIN: challenge from server gets md5-encoded with pass, as hex # with user prepended sent as md5 # used by: Outlook Express login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = "${if and { \ {!eq {$1}{}} \ {!eq {$2}{}} \ {eq {\\{plaintext\\}$2}{${lookup mysql { \ select password_hash from popbox \ where local_part='${extract {1}{@%!}{$1}}' \ and domain_name='${extract {2}{@%!}{$1}}' \ }{$value}{*:*}}} \ }}{1}{0}}" server_set_id = $1 end ### END AUTHENTICATION CONFIGURATION ### ### untested... ### plain: driver = plaintext public_name = PLAIN server_condition = "${if and { \ {!eq {$2}{}} \ {!eq {$3}{}} \ {eq {${md5:$3}}{${lookup mysql { \ select password_hash from popbox \ where local_part='${extract {1}{@%!}{$2}}' \ and domain_name='${extract {2}{@%!}{$2}}' \ }{$value}{*:*}}} \ }}{1}{0}}" server_set_id = $2 login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = "${if and { \ {!eq {$1}{}} \ {!eq {$2}{}} \ {eq {${md5:$2}}{${lookup mysql { \ select password_hash from popbox \ where local_part='${extract {1}{@%!}{$1}}' \ and domain_name='${extract {2}{@%!}{$1}}' \ }{$value}{*:*}}} \ }}{1}{0}}" server_set_id = $1 end From pdw@ex-parrot.com Mon Nov 12 23:40:49 2001 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 163Qh7-00070S-00 for vmail-discuss@lists.beasts.org; Mon, 12 Nov 2001 23:40:49 +0000 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 163Qh6-0003qm-00; Mon, 12 Nov 2001 23:40:48 +0000 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 163QhA-0004Mn-00; Mon, 12 Nov 2001 23:40:52 +0000 Date: Mon, 12 Nov 2001 23:40:52 +0000 From: Paul Warren To: Eric Renfro Cc: Vmail-SQL Subject: Re: [Vmail-discuss] Security note for exim and MySQL Message-ID: <20011112234052.D16371@cerberus.grovehouse.local> References: <20011111210935.B15214@cerberus.grovehouse.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: ; from psi-jack@geocities.com on Sun, Nov 11, 2001 at 03:27:37PM -0600 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Sun, Nov 11, 2001 at 03:27:37PM -0600, Eric Renfro wrote: > BTW, Paul. I must admit. This vmail-sql approach to using SQL > queries GREATLY reduces the amount of configuration directives in my > original flat-file system. I used to use several TRANSPORTS, and > several DIRECTORS to do the same thing, but, so far, from what I'm > seeing, and playing with by juggling the selects manually to test > them out, it looks fairly solid and fully implemented. > I never thought a MySQL approach could be so handy. And since exim's > mysql backend approach allows you to literally set the entire query, > it's the ultimate approach to doing it. I used to have > /etc/virtual/$domain/[aliases|filter|passwd], and > /etc/mail/[userdomains|virtualdomains] all used to do all that. It's true - Exim does make this very easy, although I understand that the performance is pretty dismal, owing to the way that the MySQL support works in Exim. > I'm adding to vmail-sql, for allowing relaying through > virtual-domains as well, and if you would like, I will submit my > sketched changes so you, and everyone else interested, may scan > through it, and look at it, and use it as desired. On what basis to you intend to authenticate incoming requests? I think I will start to put together a file of contributed sample configurations - it was always intended that vmail-sql would be a starting point for a working Exim config, rather than a complete one-size-fits-all solution - it's good to see this happening :-) cheers, Paul From pdw@ex-parrot.com Mon Nov 12 23:51:03 2001 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 163Qr1-0007F4-00 for vmail-discuss@lists.beasts.org; Mon, 12 Nov 2001 23:51:03 +0000 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 163QXb-0003oZ-00; Mon, 12 Nov 2001 23:30:59 +0000 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 163QXf-0004M1-00; Mon, 12 Nov 2001 23:31:03 +0000 Date: Mon, 12 Nov 2001 23:31:03 +0000 From: Paul Warren To: =?iso-8859-1?Q?Franz_Georg_K=F6hler?= Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] smtp auth Message-ID: <20011112233103.C16371@cerberus.grovehouse.local> References: <20011111231207.A10962@phoenix.bofh.hanau.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.2i In-Reply-To: <20011111231207.A10962@phoenix.bofh.hanau.net>; from lists@openunix.de on Sun, Nov 11, 2001 at 11:12:07PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Sun, Nov 11, 2001 at 11:12:07PM +0100, Franz Georg Köhler wrote: > Is there anyone who is running exim smtp auth with the vmail/sql > data? Yep, we're doing it. I think that Eric may have found the cause of your problems. We do it using Exim's Perl support (performance - we've heard of it...) I'll spare you a cut-and-paste of our config, as it's a little over complex (support various authentication sources and methods), but the PasswordCrypt module should make it fairly straightforward. Try: perl_at_startup = do '/path/to/exim.pl'; Where exim.pl is: use lib '/path/to/vmail-sql-lib/'; use PasswordCrypt; sub check_pw { $password = shift; $hash = shift; if (PasswordCrypt::authenticate($password,$hash)) { return "yes"; } else { return "no"; } } Then in your authenticator, something like: fixed_plain: driver = plaintext public_name = PLAIN server_condition = ${perl{check_pw}{$3} \ {${lookup mysql{select password_hash from domain \ where domain_name = '$2'}{$value}fail}}} server_set_id = $2 fixed_login: driver = plaintext public_name = LOGIN server_prompts = "User Name : Password" server_condition = ${perl{check_pw}{$2} \ {${lookup mysql{select password_hash from domain \ where domain_name = '$1'}{$value}fail}}} server_set_id = $1 Let us know if you're still having trouble. Paul From psi-jack@geocities.com Tue Nov 13 05:42:09 2001 Received: from mail4.txucom.net ([207.70.175.17]) by sphinx.mythic-beasts.com with smtp (Exim 3.13 #8) id 163WKm-0004up-00 for vmail-discuss@lists.beasts.org; Tue, 13 Nov 2001 05:42:09 +0000 Received: (qmail 15942 invoked from network); 13 Nov 2001 05:41:29 -0000 Received: from conr-dialup-net3-224.txucom.net (HELO ginseng) ([209.34.3.224]) (envelope-sender ) by mail4.txucom.net (qmail-ldap-1.03) with SMTP for ; 13 Nov 2001 05:41:29 -0000 From: "Eric Renfro" To: "Vmail-SQL" Subject: RE: [Vmail-discuss] smtp auth Date: Mon, 12 Nov 2001 23:42:49 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20011112231647.B16371@cerberus.grovehouse.local> Importance: Normal Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 |The reason for this is so that we can support multiple hashing |formats, beyond just MD5 and DES. In particular, APOP |requires a plaintext copy of the password. | |With hindsight, it might have been more sensible to put the |hash method into a separate column. Oh yes. That would definitely be a better plan, so that you could actually make use of those hashes in other things, such as an example: Courier-IMAP's authdaemon.mysql, which can either use plaintext, or automagically test against several crypt() methods, including DES and Crypt-MD5. |I'd prefer to have plaintext passwords in a database that I |can secure, rather than passwords being sent in the clear over |a network that I can't, hence support for plaintext passwords |so that we can do APOP, and CRAM-MD5 SMTP AUTH. | |Paul I don't quite understand this concept, myself. What's different about APOP, and CRAM-MD5 SMTP AUTH? I'm unfamiliar with this. I use SSL tunneled encryption, when security is an issue, still testing a plaintext password from the client, to a hashed password from the server. - --- Eric Renfro - Myrddin Computers & Designs CEO/President 713-595-2104 X2261 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use Comment: -- Psi-Jack iQA/AwUBO/Cy2LdZW96NGwakEQKKXQCgmzOdALvo1g/sYCB+V+Gco2qHqSAAoPOT VxL+6l/sbyOnwN/5PxyODC7U =32nh -----END PGP SIGNATURE----- From pdw@sphinx.mythic-beasts.com Tue Nov 13 09:28:24 2001 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.13 #8) id 163Zrk-00008v-00; Tue, 13 Nov 2001 09:28:24 +0000 Date: Tue, 13 Nov 2001 09:28:24 +0000 From: Paul Warren To: Eric Renfro Cc: Vmail-SQL Subject: Re: [Vmail-discuss] smtp auth Message-ID: <20011113092824.E27495@sphinx.mythic-beasts.com> References: <20011112231647.B16371@cerberus.grovehouse.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from psi-jack@geocities.com on Mon, Nov 12, 2001 at 11:42:49PM -0600 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Nov 12, 2001 at 11:42:49PM -0600, Eric Renfro wrote: > |The reason for this is so that we can support multiple hashing > |formats, beyond just MD5 and DES. In particular, APOP > |requires a plaintext copy of the password. > | > |With hindsight, it might have been more sensible to put the > |hash method into a separate column. > > Oh yes. That would definitely be a better plan, so that you could > actually make use of those hashes in other things, such as an > example: Courier-IMAP's authdaemon.mysql, which can either use > plaintext, or automagically test against several crypt() methods, > including DES and Crypt-MD5. OK. I'll consider it for the next release. > |I'd prefer to have plaintext passwords in a database that I > |can secure, rather than passwords being sent in the clear over > |a network that I can't, hence support for plaintext passwords > |so that we can do APOP, and CRAM-MD5 SMTP AUTH. > | > |Paul > > I don't quite understand this concept, myself. What's different about > APOP, and CRAM-MD5 SMTP AUTH? I'm unfamiliar with this. I use SSL > tunneled encryption, when security is an issue, still testing a > plaintext password from the client, to a hashed password from the > server. The difference with APOP (and I believe CRAM-MD5) is that it works using a shared secret. Both the server and client know what the password is, the server then issues a challenge to the client - a random string - which the client hashes with the password an returns. The server then performs the same hash and checks the result. The advantage is that the password never gets sent, this disadvantage is that the server needs a plaintext copy of the password. Paul From chris@madingley.org Tue Nov 13 10:39:11 2001 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 163ayF-0001VT-00 for vmail-discuss@lists.beasts.org; Tue, 13 Nov 2001 10:39:11 +0000 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.9.1a/8.9.1) with ESMTP id KAA10820; Tue, 13 Nov 2001 10:57:11 GMT Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.9.3/8.9.1) id KAA05053; Tue, 13 Nov 2001 10:39:10 GMT Date: Tue, 13 Nov 2001 10:39:10 +0000 From: Chris Lightfoot To: Paul Warren Cc: Eric Renfro , Vmail-SQL Subject: Re: [Vmail-discuss] smtp auth Message-ID: <20011113103910.B5674@aquila.esc.cam.ac.uk> References: <20011112231647.B16371@cerberus.grovehouse.local> <20011113092824.E27495@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20011113092824.E27495@sphinx.mythic-beasts.com> X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Nov 13, 2001 at 09:28:24AM +0000, Paul Warren wrote: > On Mon, Nov 12, 2001 at 11:42:49PM -0600, Eric Renfro wrote: > > |The reason for this is so that we can support multiple hashing > > |formats, beyond just MD5 and DES. In particular, APOP > > |requires a plaintext copy of the password. > > | > > |With hindsight, it might have been more sensible to put the > > |hash method into a separate column. > > > > Oh yes. That would definitely be a better plan, so that you could > > actually make use of those hashes in other things, such as an > > example: Courier-IMAP's authdaemon.mysql, which can either use > > plaintext, or automagically test against several crypt() methods, > > including DES and Crypt-MD5. > > OK. I'll consider it for the next release. Yeah. This may entail a nasty hack in tpop3d (counting the number of fields returned or similar to see what sort of schema it is, or, worse, much use of concat(...)) but it's going to acquire another nasty hack owing to a bug in the maildir code, so I suppose two is not much worse than one.... -- ``Knock hard. Life is deaf.'' (Arnold Wesker) From kuti@gmx.de Tue Nov 13 17:22:43 2001 Received: from mailout06.sul.t-online.com ([194.25.134.19] helo=mailout06.sul.t-online.de) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 163hGl-0002EM-00 for vmail-discuss@lists.beasts.org; Tue, 13 Nov 2001 17:22:43 +0000 Received: from fwd05.sul.t-online.de by mailout06.sul.t-online.de with smtp id 163hGj-000342-0A; Tue, 13 Nov 2001 18:22:41 +0100 Received: from uns (320073890769-0001@[217.83.135.49]) by fmrl05.sul.t-online.com with esmtp id 163hGa-0ubsFkC; Tue, 13 Nov 2001 18:22:32 +0100 From: "Jens Kutilek" Organization: www.kutilek.de To: vmail-discuss@lists.beasts.org Date: Tue, 13 Nov 2001 18:22:34 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: [Vmail-discuss] smtp auth Message-ID: <3BF164EA.13705.7AC4A6@localhost> Priority: normal In-reply-to: <20011111231207.A10962@phoenix.bofh.hanau.net> X-mailer: Pegasus Mail for Win32 (v3.12cDE) X-Sender: 320073890769-0001@t-dialin.net Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion > Is there anyone who is running exim smtp auth with the vmail/sql > data? I'm not using plaintext passwords, but {crypt} passwords. My Auth configuration looks like this: fixed_login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = "${if crypteq{$2} \ {${lookup mysql{SELECT password_hash \ FROM popbox \ WHERE local_part='${local_part:$1}' \ AND domain_name='${domain:$1}'}}} \ {yes}{no}}" server_set_id = $1 # End of Exim configuration file bye, Jens. From fgk@bofh.hanau.net Fri Nov 16 20:32:12 2001 Received: from [213.221.81.10] (helo=zeus.frankfurt.de.velia.net ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 164pel-0002nq-00 for vmail-discuss@lists.beasts.org; Fri, 16 Nov 2001 20:32:11 +0000 Received: from uucp by zeus.frankfurt.de.velia.net with local-bsmtp (Exim 3.12 #1) id 164pek-0007Pn-00; Fri, 16 Nov 2001 21:32:10 +0100 Received: from fgk.bofh.hanau.net ([172.20.1.10]) by orion.bofh.hanau.net with esmtp (Exim 3.12 #1) id 164pe6-0000yz-00 for ; Fri, 16 Nov 2001 21:31:30 +0100 Received: from fgk by fgk.bofh.hanau.net with local (Exim 3.32 #1 (Debian)) id 164pe6-00085G-00 for ; Fri, 16 Nov 2001 21:31:30 +0100 Date: Fri, 16 Nov 2001 21:31:30 +0100 From: Franz Georg =?iso-8859-1?Q?K=F6hler?= To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] smtp auth Message-ID: <20011116213130.A31063@fgk.bofh.hanau.net> References: <20011111231207.A10962@phoenix.bofh.hanau.net> <00be01c16bd3$3cce2960$0a08a8c0@ws> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <00be01c16bd3$3cce2960$0a08a8c0@ws> User-Agent: Mutt/1.3.23i X-Accept-Language: de en X-Uptime: 21:27:17 up 4 days, 20:53, 6 users, load average: 0.07, 0.09, 0.12 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Nov 13, 2001 at 12:39:14AM +0100, Jakob Hirsch wrote: >> Is there anyone who is running exim smtp auth with the vmail/sql >> data? > > Sure. I had to fiddle with this for a while since I found no real > documentation for this, only parts of configs from others. We > currently use the first part (plaintext passwords), but I'll add some > older config lines with md5 which may work, but I don't know any more. > It should not be to hard to change it to one of the other hash_methods > and maybe it would be nice to have one for all, but I don't think it's > worth the work. > remarks: > - Mac-Outlook is able to use AUTH only since v5.02 and if you _don't_ > use @ as a user-domain seperator. This seems strange, since > POP3-Login with user@domain works flawless. > - valid seperators are "@%!". You can simple add more. > > > > # announce AUTH to hosts not in relay_networks > host_auth_accept_relay = * > ... > > ### AUTHENTICATION CONFIGURATION ### > > # PLAIN: user and pass as base64-coded string > # used by: Netscape > plain: > driver = plaintext > public_name = PLAIN > server_condition = "${if and { \ > {!eq {$2}{}} \ > {!eq {$3}{}} \ > {eq {\\{plaintext\\}$3}{${lookup mysql { \ > select password_hash from popbox \ > where local_part='${extract {1}{@%!}{$2}}' \ > and domain_name='${extract {2}{@%!}{$2}}' \ > }{$value}{*:*}}} \ > }}{1}{0}}" > server_set_id = $2 > > # LOGIN: challenge from server gets md5-encoded with pass, as hex > # with user prepended sent as md5 > # used by: Outlook Express > login: > driver = plaintext > public_name = LOGIN > server_prompts = "Username:: : Password::" > server_condition = "${if and { \ > {!eq {$1}{}} \ > {!eq {$2}{}} \ > {eq {\\{plaintext\\}$2}{${lookup mysql { \ > select password_hash from popbox \ > where local_part='${extract {1}{@%!}{$1}}' \ > and domain_name='${extract {2}{@%!}{$1}}' \ > }{$value}{*:*}}} \ > }}{1}{0}}" > server_set_id = $1 > > > end > > ### END AUTHENTICATION CONFIGURATION ### > > > ### untested... ### > > plain: > driver = plaintext > public_name = PLAIN > server_condition = "${if and { \ > {!eq {$2}{}} \ > {!eq {$3}{}} \ > {eq {${md5:$3}}{${lookup mysql { \ > select password_hash from popbox \ > where local_part='${extract {1}{@%!}{$2}}' \ > and domain_name='${extract {2}{@%!}{$2}}' \ > }{$value}{*:*}}} \ > }}{1}{0}}" > server_set_id = $2 > > login: > driver = plaintext > public_name = LOGIN > server_prompts = "Username:: : Password::" > server_condition = "${if and { \ > {!eq {$1}{}} \ > {!eq {$2}{}} \ > {eq {${md5:$2}}{${lookup mysql { \ > select password_hash from popbox \ > where local_part='${extract {1}{@%!}{$1}}' \ > and domain_name='${extract {2}{@%!}{$1}}' \ > }{$value}{*:*}}} \ > }}{1}{0}}" > server_set_id = $1 > > end This does work for me, however, as Eric Renfro pointed out, there is a problem with those {md5} hashes, I solved it by simply deleting the code which adds the {md5} thingies in line 90 of PasswordCrypt.pm , so everything works perfectly now. Any recommendation of an imap server, which works with this setup, anyone? -- +--------------------------------------------------------------------------+ | http://www.hanau.net/fgk/ When in doubt, tell the truth. | | 0x5E7A588D -- Mark Twain | +--------------------------------------------------------------------------+ From fgk@bofh.hanau.net Sat Nov 17 19:31:11 2001 Received: from [213.221.81.10] (helo=zeus.frankfurt.de.velia.net ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 165BBH-0001KL-00 for vmail-discuss@lists.beasts.org; Sat, 17 Nov 2001 19:31:11 +0000 Received: from uucp by zeus.frankfurt.de.velia.net with local-bsmtp (Exim 3.12 #1) id 165BBD-0002Sa-00; Sat, 17 Nov 2001 20:31:07 +0100 Received: from fgk.bofh.hanau.net ([172.20.1.10]) by orion.bofh.hanau.net with esmtp (Exim 3.12 #1) id 165BAP-00027q-00 for ; Sat, 17 Nov 2001 20:30:17 +0100 Received: from fgk by fgk.bofh.hanau.net with local (Exim 3.32 #1 (Debian)) id 165BAP-0000V5-00 for ; Sat, 17 Nov 2001 20:30:17 +0100 Date: Sat, 17 Nov 2001 20:30:17 +0100 From: Franz Georg =?iso-8859-1?Q?K=F6hler?= To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] smtp auth Message-ID: <20011117203017.A1918@fgk.bofh.hanau.net> References: <20011111231207.A10962@phoenix.bofh.hanau.net> <00be01c16bd3$3cce2960$0a08a8c0@ws> <20011116213130.A31063@fgk.bofh.hanau.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20011116213130.A31063@fgk.bofh.hanau.net> User-Agent: Mutt/1.3.23i X-Accept-Language: de en X-Uptime: 20:26:05 up 5 days, 19:52, 3 users, load average: 0.13, 0.08, 0.02 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, Nov 16, 2001 at 09:31:30PM +0100, Franz Georg K=F6hler wrote: > On Tue, Nov 13, 2001 at 12:39:14AM +0100, Jakob Hirsch wrot= e: > >> Is there anyone who is running exim smtp auth with the vmail/sql > >> data? > >=20 > > Sure. I had to fiddle with this for a while since I found no real > > documentation for this, only parts of configs from others. We > > currently use the first part (plaintext passwords), but I'll add some > > older config lines with md5 which may work, but I don't know any more. > > It should not be to hard to change it to one of the other hash_methods > > and maybe it would be nice to have one for all, but I don't think it's > > worth the work. > > remarks: > > - Mac-Outlook is able to use AUTH only since v5.02 and if you _don't_ > > use @ as a user-domain seperator. This seems strange, since > > POP3-Login with user@domain works flawless. > > - valid seperators are "@%!". You can simple add more. > >=20 > >=20 > >=20 > > # announce AUTH to hosts not in relay_networks > > host_auth_accept_relay =3D * > > ... > >=20 > > ### AUTHENTICATION CONFIGURATION ### > >=20 > > # PLAIN: user and pass as base64-coded string > > # used by: Netscape > > plain: > > driver =3D plaintext > > public_name =3D PLAIN > > server_condition =3D "${if and { \ > > {!eq {$2}{}} \ > > {!eq {$3}{}} \ > > {eq {\\{plaintext\\}$3}{${lookup mysql { \ > > select password_hash from popbox \ > > where local_part=3D'${extract {1}{@%!}{$2}}' \ > > and domain_name=3D'${extract {2}{@%!}{$2}}' \ > > }{$value}{*:*}}} \ > > }}{1}{0}}" > > server_set_id =3D $2 > >=20 > > # LOGIN: challenge from server gets md5-encoded with pass, as hex > > # with user prepended sent as md5 > > # used by: Outlook Express > > login: > > driver =3D plaintext > > public_name =3D LOGIN > > server_prompts =3D "Username:: : Password::" > > server_condition =3D "${if and { \ > > {!eq {$1}{}} \ > > {!eq {$2}{}} \ > > {eq {\\{plaintext\\}$2}{${lookup mysql { \ > > select password_hash from popbox \ > > where local_part=3D'${extract {1}{@%!}{$1}}' \ > > and domain_name=3D'${extract {2}{@%!}{$1}}' \ > > }{$value}{*:*}}} \ > > }}{1}{0}}" > > server_set_id =3D $1 > >=20 > >=20 > > end > >=20 > > ### END AUTHENTICATION CONFIGURATION ### > >=20 > >=20 > > ### untested... ### > >=20 > > plain: > > driver =3D plaintext > > public_name =3D PLAIN > > server_condition =3D "${if and { \ > > {!eq {$2}{}} \ > > {!eq {$3}{}} \ > > {eq {${md5:$3}}{${lookup mysql { \ > > select password_hash from popbox \ > > where local_part=3D'${extract {1}{@%!}{$2}}' \ > > and domain_name=3D'${extract {2}{@%!}{$2}}' \ > > }{$value}{*:*}}} \ > > }}{1}{0}}" > > server_set_id =3D $2 > >=20 > > login: > > driver =3D plaintext > > public_name =3D LOGIN > > server_prompts =3D "Username:: : Password::" > > server_condition =3D "${if and { \ > > {!eq {$1}{}} \ > > {!eq {$2}{}} \ > > {eq {${md5:$2}}{${lookup mysql { \ > > select password_hash from popbox \ > > where local_part=3D'${extract {1}{@%!}{$1}}' \ > > and domain_name=3D'${extract {2}{@%!}{$1}}' \ > > }{$value}{*:*}}} \ > > }}{1}{0}}" > > server_set_id =3D $1 > >=20 > > end >=20 > This does work for me, however, as Eric Renfro pointed out, there is a > problem with those {md5} hashes, I solved it by simply deleting the code > which adds the {md5} thingies in line 90 of PasswordCrypt.pm , so > everything works perfectly now. I'm wondering if it is a good idea to switch to plain text passwords and offer apop? What is the reason the passwords are md5 crypted, anyway? My database is supposed to be secure, just as the connection between the database and the mailserver...? --=20 +--------------------------------------------------------------------------+ | http://www.hanau.net/fgk/ When in doubt, tell the truth. | | 0x5E7A588D -- Mark Twain | +--------------------------------------------------------------------------+ From fgk@bofh.hanau.net Sat Nov 17 23:27:08 2001 Received: from [213.221.81.10] (helo=zeus.frankfurt.de.velia.net ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.13 #8) id 165Erc-0005OU-00 for vmail-discuss@lists.beasts.org; Sat, 17 Nov 2001 23:27:08 +0000 Received: from uucp by zeus.frankfurt.de.velia.net with local-bsmtp (Exim 3.12 #1) id 165Erb-0004S7-00; Sun, 18 Nov 2001 00:27:07 +0100 Received: from fgk.bofh.hanau.net ([172.20.1.10]) by orion.bofh.hanau.net with esmtp (Exim 3.12 #1) id 165Eqs-0003r2-00 for ; Sun, 18 Nov 2001 00:26:22 +0100 Received: from fgk by fgk.bofh.hanau.net with local (Exim 3.32 #1 (Debian)) id 165Eqs-0000e7-00 for ; Sun, 18 Nov 2001 00:26:22 +0100 Date: Sun, 18 Nov 2001 00:26:22 +0100 From: Franz Georg =?iso-8859-1?Q?K=F6hler?= To: vmail-discuss@lists.beasts.org Message-ID: <20011118002622.A2479@fgk.bofh.hanau.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.3.23i X-Accept-Language: de en X-Uptime: 00:24:06 up 5 days, 23:50, 4 users, load average: 0.05, 0.02, 0.00 Subject: [Vmail-discuss] courier imap / sql authentificator Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi, is somebody out there who has successfully used courier with the data of vmail's mysql database? courier's mysql authentificator does expect some different data in the authentification table... -- +--------------------------------------------------------------------------+ | http://www.hanau.net/fgk/ When in doubt, tell the truth. | | 0x5E7A588D -- Mark Twain | +--------------------------------------------------------------------------+ From i.wormsbecker@uleth.ca Wed Dec 12 02:20:43 2001 Received: from tomts17.bellnexxia.net ([209.226.175.71] helo=tomts17-srv.bellnexxia.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #1) id 16Dz0l-0007sE-00 for vmail-discuss@lists.beasts.org; Wed, 12 Dec 2001 02:20:43 +0000 Received: from Ottawa-HSE-ppp254613.sympatico.ca ([64.230.4.156]) by tomts17-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011212022012.EDRI23490.tomts17-srv.bellnexxia.net@Ottawa-HSE-ppp254613.sympatico.ca> for ; Tue, 11 Dec 2001 21:20:12 -0500 From: Ian Wormsbecker To: VMail Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 11 Dec 2001 16:17:58 -0500 Message-Id: <1008105478.742.56.camel@debian> Mime-Version: 1.0 Subject: [Vmail-discuss] exim + vmail config Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I am attempting to get exim working with vmail. I have created the mysql tables and have used the VE-* scripts to put a few test users into the database. That works flawlessly (except VE-domain add tells me to run VE-pop which doesn't exist, but I found that VE-popbox is the one I want anyway). My problem is that exim always gives me the following error: 2001-12-12 09:58:47 refused relay (host) to from H=tomts7.bellnexxia.net (tomts7-srv.bellnexxia.net) [209.226.175.40] If inside my exim.conf file I changed qualify_domain = virtdomain1.com then all works fine. But this only enables me to receive mail for one domain name. Am I missing a setting in my exim.conf file to receive for more than one domain? I have quadruple checked to ensure I have all the exim.conf settings exactly the same as in the README. I also noticed the README with vmail-sql-0.5 is different than the README on the web, so I tried the settings on the web as well to no avail. If desired, I can send my full exim.conf and some output from the mysql database. Any help or suggestions as to where to look would be greatly appreciated Ian From stephen@openkast.com Wed Dec 12 08:36:09 2001 Received: from ns.tsnsport.com ([195.217.247.203] helo=narnain.openkast.com ident=root) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #1) id 16E4s5-0000zq-00 for vmail-discuss@lists.beasts.org; Wed, 12 Dec 2001 08:36:09 +0000 Received: (from uucp@localhost) by narnain.openkast.com (8.11.4/8.10.1) id fBC8a0T05787; Wed, 12 Dec 2001 08:36:00 GMT Received: from vorlich.openkast.com(192.168.2.1) via SMTP by narnain.openkast.com, id smtpdD29973; Wed Dec 12 08:35:54 2001 Received: by vorlich.openkast.com with Internet Mail Service (5.5.2653.19) id ; Wed, 12 Dec 2001 08:35:54 -0000 Message-ID: From: Stephen Marley To: "'Ian Wormsbecker'" , VMail Subject: RE: [Vmail-discuss] exim + vmail config Date: Wed, 12 Dec 2001 08:35:49 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I think you want: local_domains = colon.separated : list.of : domains.to-relay -- stephen@openkast.com > -----Original Message----- > From: Ian Wormsbecker [mailto:i.wormsbecker@uleth.ca] > Sent: 11 December 2001 21:18 > To: VMail > Subject: [Vmail-discuss] exim + vmail config > > > I am attempting to get exim working with vmail. I have > created the mysql > tables and have used the VE-* scripts to put a few test users into the > database. That works flawlessly (except VE-domain add > tells me to > run VE-pop which doesn't exist, but I found that VE-popbox is > the one I > want anyway). My problem is that exim always gives me the following > error: > > > 2001-12-12 09:58:47 refused relay (host) to from > H=tomts7.bellnexxia.net > (tomts7-srv.bellnexxia.net) [209.226.175.40] > > > If inside my exim.conf file I changed qualify_domain = virtdomain1.com > then all works fine. But this only enables me to receive mail for one > domain name. > > Am I missing a setting in my exim.conf file to receive for > more than one > domain? I have quadruple checked to ensure I have all the exim.conf > settings exactly the same as in the README. I also noticed the README > with vmail-sql-0.5 is different than the README on the web, so I tried > the settings on the web as well to no avail. > > If desired, I can send my full exim.conf and some output from > the mysql > database. > > > Any help or suggestions as to where to look would be greatly > appreciated > > Ian > > > > > _______________________________________________ > vmail-discuss mailing list > vmail-discuss@lists.beasts.org > http://lists.beasts.org/mailman/listinfo/vmail-discuss > From giorgini@interlogica.net Wed Dec 12 08:37:53 2001 Received: from [212.210.142.140] (helo=mail.interlogica.org ident=hidden-user) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #1) id 16E4tl-00010t-00 for vmail-discuss@lists.beasts.org; Wed, 12 Dec 2001 08:37:53 +0000 Received: from gateway.ced ([10.2.8.2] helo=UEL ident=hidden-user) by mail.interlogica.org with esmtp (Exim 3.16 #1) id 16E4vb-0001xV-00 for vmail-discuss@lists.beasts.org; Wed, 12 Dec 2001 09:39:47 +0100 Date: Wed, 12 Dec 2001 09:38:33 +0100 From: Manuel Giorgini X-Mailer: The Bat! (v1.53d) Reply-To: Manuel Giorgini Organization: Interlogica X-Priority: 3 (Normal) Message-ID: <12455714594.20011212093833@interlogica.net> To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] exim + vmail config X-Sender: Manuel Giorgini MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion [2001-12-11 22:17:58] Ian Wormsbecker, IW> If inside my exim.conf file I changed qualify_domain = virtdomain1.com IW> then all works fine. But this only enables me to receive mail for one IW> domain name. You should have a qualify_domain, that's ok. IW> Am I missing a setting in my exim.conf file to receive for more than one IW> domain? I have quadruple checked to ensure I have all the exim.conf IW> settings exactly the same as in the README. I also noticed the README IW> with vmail-sql-0.5 is different than the README on the web, so I tried IW> the settings on the web as well to no avail. When I first installed vmail-sql over exim I wasn't aware of any mailing list and I had to help myself with the web :-) the setting you are looking for seems to be local_domains = mysql;select domain_name from domain where domain_name='$key' Hope it works for you as it's working for me (more than a year's uptime, 600megs of mail every month, 21 virtual domains), that is, magnificently. :-) Cordialitŕ / Best regards / Gxis la ------------------------------------------------------------------------ Manuel Giorgini , Programmatore INTERLOGICA e-business solutions - http://www.interlogica.net IBM and Lotus Business Partner - GTA Silver Partner Via De Amicis, 2 - IT 30172 Mestre (VE) - ITALIA Tel +39 041 961392 - Fax +39 041 954201 ------------------------------------------------------------------------ From i.wormsbecker@uleth.ca Wed Dec 12 20:14:42 2001 Received: from tomts8.bellnexxia.net ([209.226.175.52] helo=tomts8-srv.bellnexxia.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #1) id 16EFm6-00078b-00 for vmail-discuss@lists.beasts.org; Wed, 12 Dec 2001 20:14:42 +0000 Received: from Ottawa-HSE-ppp254344.sympatico.ca ([64.230.3.141]) by tomts8-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011212201411.XRTB23323.tomts8-srv.bellnexxia.net@Ottawa-HSE-ppp254344.sympatico.ca>; Wed, 12 Dec 2001 15:14:11 -0500 Subject: Re: [Vmail-discuss] exim + vmail config From: Ian Wormsbecker To: Manuel Giorgini Cc: VMail In-Reply-To: <12455714594.20011212093833@interlogica.net> References: <12455714594.20011212093833@interlogica.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 12 Dec 2001 10:11:57 -0500 Message-Id: <1008169918.744.14.camel@debian> Mime-Version: 1.0 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, 2001-12-12 at 03:38, Manuel Giorgini wrote: > [2001-12-11 22:17:58] Ian Wormsbecker, > > IW> Am I missing a setting in my exim.conf file to receive for more than one > IW> domain? I have quadruple checked to ensure I have all the exim.conf > IW> settings exactly the same as in the README. I also noticed the README > IW> with vmail-sql-0.5 is different than the README on the web, so I tried > IW> the settings on the web as well to no avail. > > When I first installed vmail-sql over exim I wasn't aware of any > mailing list and I had to help myself with the web :-) > > the setting you are looking for seems to be > > local_domains = mysql;select domain_name from domain where domain_name='$key' Plugged that in and it works perfectly. Thank you very much. This vmail-sql is a sweet unit :) Ian From wash@wananchi.com Wed Jan 09 10:22:46 2002 Received: from ns2.wananchi.com ([212.49.74.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OFsb-00015O-00 for vmail-discuss@lists.beasts.org; Wed, 09 Jan 2002 10:22:45 +0000 Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1 (FreeBSD)) id 16OFr0-000BNG-00 for ; Wed, 09 Jan 2002 13:21:06 +0300 Date: Wed, 9 Jan 2002 13:21:06 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Message-ID: <20020109102106.GO14956@ns2.wananchi.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: All I can think of is a platter of organic PRUNE CRISPS being trampled by an army of swarthy, Italian LOUNGE SINGERS ... X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 1:16PM up 8 days, 20:15, 4 users, load averages: 0.77, 0.66, 0.58 Subject: [Vmail-discuss] popboxes MAX Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hello vmail users, I am new to this but I've also checked on the list archives but can't see a solution. I've deployed vmail-1.3.4 on FreeBSD with MySQL backend. When adding a domain I also specify the maximum number of popboxes ./VE-domain popboxes wash.dom max 5 This setting doesn't seem to work because even after that, I can go ahead and add more that 5 popboxes. (both from command line and web interface logged with domain passwd). Could this be a bug that is already known or something that I haven't done? TIA -Wash S y s t e m s A d m i n. -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ Hlade's Law: If you have a difficult task, give it to a lazy person -- they will find an easier way to do it. From chris@madingley.org Wed Jan 09 10:43:02 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OGCE-0001Jw-00 for vmail-discuss@lists.beasts.org; Wed, 09 Jan 2002 10:43:02 +0000 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id e09Aia8f031931; Sun, 9 Jan 2000 10:44:36 GMT Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.12.1/8.9.1) id g09AgvAN025749; Wed, 9 Jan 2002 10:42:57 GMT Date: Wed, 9 Jan 2002 10:42:57 +0000 From: Chris Lightfoot To: Odhiambo Washington Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109104257.GA25624@aquila.esc.cam.ac.uk> References: <20020109102106.GO14956@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020109102106.GO14956@ns2.wananchi.com> User-Agent: Mutt/1.3.24i X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jan 09, 2002 at 01:21:06PM +0300, Odhiambo Washington wrote: [...] > This setting doesn't seem to work because even after that, I can go ahead and > add more that 5 popboxes. (both from command line and web interface logged > with domain passwd). Could this be a bug that is already known or something > that I haven't done? Nah-- it's a `feature'. The maximum POP boxes limit is temporarily not implemented. This is in the change log for 0.4, I think. I can't remember why this is disabled, or whether there's any good reason not to put it back in. Paul? -- Cats are intended to teach us that not everything in nature has a function (Garrison Keillor) From pdw@sphinx.mythic-beasts.com Wed Jan 09 15:16:59 2002 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.33 #2) id 16OKTL-0003oP-00; Wed, 09 Jan 2002 15:16:59 +0000 Date: Wed, 9 Jan 2002 15:16:59 +0000 From: Paul Warren To: Chris Lightfoot Cc: Odhiambo Washington , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109151659.A1796@sphinx.mythic-beasts.com> References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020109104257.GA25624@aquila.esc.cam.ac.uk>; from chris@ex-parrot.com on Wed, Jan 09, 2002 at 10:42:57AM +0000 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jan 09, 2002 at 10:42:57AM +0000, Chris Lightfoot wrote: > > This setting doesn't seem to work because even after that, I can go > > ahead and add more that 5 popboxes. (both from command line and web > > interface logged with domain passwd). Could this be a bug that is > > already known or something that I haven't done? > > Nah-- it's a `feature'. The maximum POP boxes limit is > temporarily not implemented. This is in the change log for > 0.4, I think. > > I can't remember why this is disabled, or whether there's > any good reason not to put it back in. Paul? No, there isn't a good reason for it. This sort of things should really be implemented as a DB level constraint, but I suspect that MySQL doesn't support this (future TODO: move to postgres :-) There are a few other issues that need to go into vmail. I shall aim to do a release shortly. Paul From chris@madingley.org Wed Jan 09 15:24:13 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OKaK-0003sw-00 for vmail-discuss@lists.beasts.org; Wed, 09 Jan 2002 15:24:13 +0000 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id e09FPr8f001017; Sun, 9 Jan 2000 15:25:53 GMT Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.12.1/8.9.1) id g09CdPhF001849; Wed, 9 Jan 2002 12:39:25 GMT Date: Wed, 9 Jan 2002 12:39:25 +0000 From: Chris Lightfoot To: Paul Warren Cc: Odhiambo Washington , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109123925.GA1813@aquila.esc.cam.ac.uk> References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020109151659.A1796@sphinx.mythic-beasts.com> User-Agent: Mutt/1.3.24i X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jan 09, 2002 at 03:16:59PM +0000, Paul Warren wrote: [ removal of POP box limit ] > No, there isn't a good reason for it. > > This sort of things should really be implemented as a DB level > constraint, but I suspect that MySQL doesn't support this (future TODO: > move to postgres :-) It's a possibility.... > There are a few other issues that need to go into vmail. I shall > aim to do a release shortly. OK. There will be a new tpop3d release coming up `shortly', but I don't think that it will affect the vmail stuff at all. -- ``The practical scientist is trying to solve tomorrow's problem with today's computer; the computer scientist... often has it the other way around.'' (from `Numerical Recipes in C') From wash@wananchi.com Wed Jan 09 17:01:26 2002 Received: from ns2.wananchi.com ([212.49.74.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OM6P-0004uf-00 for vmail-discuss@lists.beasts.org; Wed, 09 Jan 2002 17:01:26 +0000 Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1 (FreeBSD)) id 16OM4o-0006rw-00 for ; Wed, 09 Jan 2002 19:59:46 +0300 Date: Wed, 9 Jan 2002 19:59:45 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109165945.GD13685@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> <20020109123925.GA1813@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020109123925.GA1813@aquila.esc.cam.ac.uk> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Washington [D.C.] is a city of Southern efficiency and Northern charm. -- John F. Kennedy X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 7:54PM up 9 days, 2:54, 3 users, load averages: 0.68, 0.54, 0.52 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Chris Lightfoot [20020109 18:23]: wrote: > On Wed, Jan 09, 2002 at 03:16:59PM +0000, Paul Warren wrote: > [ removal of POP box limit ] > > No, there isn't a good reason for it. > > > > This sort of things should really be implemented as a DB level > > constraint, but I suspect that MySQL doesn't support this (future TODO: > > move to postgres :-) Jesus!... I just learnt the little bits about MySQL from our webmaster so that I can implement this and he's still training me. He's not into PostgreSQL. Does that mean I am sunk this early???? Sorry...I hope it can be possible with MySQL, even.. > It's a possibility.... Only it cannot be right away, in the form of a patch or something?? > > There are a few other issues that need to go into vmail. I shall > > aim to do a release shortly. > > OK. There will be a new tpop3d release coming up > `shortly', but I don't think that it will affect the vmail > stuff at all. After 1.3.5??? I downloaded this and compiled it on FreeBSD (the ports has 1.3.4) and it gave me no problem at all, only the normal checksum issue because I was doing it from within the ports... MTIA -Wash S y s t e m s A d m i n. -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ A great nation is any mob of people which produces at least one honest man a century. From pdw@sphinx.mythic-beasts.com Wed Jan 09 17:19:06 2002 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.33 #2) id 16OMNW-00053u-00; Wed, 09 Jan 2002 17:19:06 +0000 Date: Wed, 9 Jan 2002 17:19:06 +0000 From: Paul Warren To: Odhiambo Washington , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109171906.B1796@sphinx.mythic-beasts.com> References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> <20020109123925.GA1813@aquila.esc.cam.ac.uk> <20020109165945.GD13685@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020109165945.GD13685@ns2.wananchi.com>; from wash@wananchi.com on Wed, Jan 09, 2002 at 07:59:45PM +0300 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jan 09, 2002 at 07:59:45PM +0300, Odhiambo Washington wrote: > > > This sort of things should really be implemented as a DB level > > > constraint, but I suspect that MySQL doesn't support this (future TODO: > > > move to postgres :-) > > Jesus!... I just learnt the little bits about MySQL from our webmaster so that > I can implement this and he's still training me. He's not into PostgreSQL. > Does that mean I am sunk this early???? > Sorry...I hope it can be possible with MySQL, even.. It can be done (and was done previously) when based on MySQL, but it needs to be implemented by the code before changes are committed to the database. Having used both MySQL and PostgreSQL, I prefer Postgres, by MySQL use is certainly more widespread. > > It's a possibility.... > > Only it cannot be right away, in the form of a patch or something?? Changing to Postgres would be a fair amount of work. Implementing a limit on POP boxes in Perl can be done with a relatively simple patch. NB This limit was only ever implemented in the web interface - it was never in the command line scripts, on the grounds that if you have access to the command line scripts you can change the pop box limit anyway... Paul From chris@ex-parrot.com Wed Jan 09 17:26:16 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OMUS-0005AB-00 for vmail-discuss@lists.beasts.org; Wed, 09 Jan 2002 17:26:16 +0000 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id e09HRx8f001577; Sun, 9 Jan 2000 17:27:59 GMT Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 16OMUR-00066d-00; Wed, 09 Jan 2002 17:26:15 +0000 Date: Wed, 9 Jan 2002 17:26:15 +0000 From: Chris Lightfoot To: Paul Warren Cc: Odhiambo Washington , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109172615.GA23466@caesious.cold.local> References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> <20020109123925.GA1813@aquila.esc.cam.ac.uk> <20020109165945.GD13685@ns2.wananchi.com> <20020109171906.B1796@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020109171906.B1796@sphinx.mythic-beasts.com> User-Agent: Mutt/1.3.24i X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jan 09, 2002 at 05:19:06PM +0000, Paul Warren wrote: > On Wed, Jan 09, 2002 at 07:59:45PM +0300, Odhiambo Washington wrote: > > > > This sort of things should really be implemented as a DB level > > > > constraint, but I suspect that MySQL doesn't support this (future TODO: > > > > move to postgres :-) > > > > Jesus!... I just learnt the little bits about MySQL from our webmaster so that > > I can implement this and he's still training me. He's not into PostgreSQL. > > Does that mean I am sunk this early???? > > Sorry...I hope it can be possible with MySQL, even.. > > It can be done (and was done previously) when based on MySQL, but it > needs to be implemented by the code before changes are committed to the > database. OK, I'll re-implement this now. -- ``I don't know anything about music. In my line of work you don't have to.'' (Elvis Presley) From wash@wananchi.com Wed Jan 09 17:30:09 2002 Received: from ns2.wananchi.com ([212.49.74.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OMYC-0005FR-00 for vmail-discuss@lists.beasts.org; Wed, 09 Jan 2002 17:30:08 +0000 Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1 (FreeBSD)) id 16OMWa-0008Qu-00 for ; Wed, 09 Jan 2002 20:28:28 +0300 Date: Wed, 9 Jan 2002 20:28:28 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109172828.GB30799@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> <20020109123925.GA1813@aquila.esc.cam.ac.uk> <20020109165945.GD13685@ns2.wananchi.com> <20020109171906.B1796@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020109171906.B1796@sphinx.mythic-beasts.com> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: "APL is a write-only language. I can write programs in APL, but I can't read any of them." -- Roy Keir X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 8:24PM up 9 days, 3:24, 3 users, load averages: 0.29, 0.56, 0.61 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Paul Warren [20020109 20:17]: wrote: > On Wed, Jan 09, 2002 at 07:59:45PM +0300, Odhiambo Washington wrote: > > > > This sort of things should really be implemented as a DB level > > > > constraint, but I suspect that MySQL doesn't support this (future TODO: > > > > move to postgres :-) > > > > Jesus!... I just learnt the little bits about MySQL from our webmaster so that > > I can implement this and he's still training me. He's not into PostgreSQL. > > Does that mean I am sunk this early???? > > Sorry...I hope it can be possible with MySQL, even.. > > It can be done (and was done previously) when based on MySQL, but it > needs to be implemented by the code before changes are committed to the > database. > > Having used both MySQL and PostgreSQL, I prefer Postgres, by MySQL use > is certainly more widespread. > > > > It's a possibility.... > > > > Only it cannot be right away, in the form of a patch or something?? > > Changing to Postgres would be a fair amount of work. Implementing a > limit on POP boxes in Perl can be done with a relatively simple patch. > > NB This limit was only ever implemented in the web interface - it was > never in the command line scripts, on the grounds that if you have > access to the command line scripts you can change the pop box limit > anyway... > > Paul Since I am still a beginner, I am now quite divided whether to go the PostgreSQL or MySQL way. I also just wanted this limitation on the web interface. Is that also painful to get working with MySQL? I hate to put you guys to work when you've not planned it. It's just a humble request but I sincerely feel you should ignore it if it calls for so much work. Is PostgreSQL the chosen backend for tpop3d/vmail? If so then I have no alternative ;-) TIA -Wash S y s t e m s A d m i n. -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ If this is timesharing, give me my share right now. From wash@wananchi.com Wed Jan 09 17:31:09 2002 Received: from ns2.wananchi.com ([212.49.74.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OMZ8-0005GS-00 for vmail-discuss@lists.beasts.org; Wed, 09 Jan 2002 17:31:09 +0000 Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1 (FreeBSD)) id 16OMXX-0008TJ-00 for ; Wed, 09 Jan 2002 20:29:27 +0300 Date: Wed, 9 Jan 2002 20:29:27 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109172927.GC30799@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> <20020109123925.GA1813@aquila.esc.cam.ac.uk> <20020109165945.GD13685@ns2.wananchi.com> <20020109171906.B1796@sphinx.mythic-beasts.com> <20020109172615.GA23466@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020109172615.GA23466@caesious.cold.local> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: "APL is a write-only language. I can write programs in APL, but I can't read any of them." -- Roy Keir X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 8:28PM up 9 days, 3:28, 3 users, load averages: 0.35, 0.56, 0.60 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Chris Lightfoot [20020109 20:24]: wrote: > On Wed, Jan 09, 2002 at 05:19:06PM +0000, Paul Warren wrote: > > On Wed, Jan 09, 2002 at 07:59:45PM +0300, Odhiambo Washington wrote: > > > > > This sort of things should really be implemented as a DB level > > > > > constraint, but I suspect that MySQL doesn't support this (future TODO: > > > > > move to postgres :-) > > > > > > Jesus!... I just learnt the little bits about MySQL from our webmaster so that > > > I can implement this and he's still training me. He's not into PostgreSQL. > > > Does that mean I am sunk this early???? > > > Sorry...I hope it can be possible with MySQL, even.. > > > > It can be done (and was done previously) when based on MySQL, but it > > needs to be implemented by the code before changes are committed to the > > database. > > OK, I'll re-implement this now. A BIG THANK YOU. I'll wait for the outcome. -Wash S y s t e m s A d m i n. -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ Future looks spotty. You will spill soup in late evening. From chris@ex-parrot.com Wed Jan 09 17:32:43 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OMah-0005IQ-00 for vmail-discuss@lists.beasts.org; Wed, 09 Jan 2002 17:32:43 +0000 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id e09HYP8f001607; Sun, 9 Jan 2000 17:34:25 GMT Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 16OMaf-00067j-00; Wed, 09 Jan 2002 17:32:41 +0000 Date: Wed, 9 Jan 2002 17:32:41 +0000 From: Chris Lightfoot To: Odhiambo Washington , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020109173241.GA23522@caesious.cold.local> References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> <20020109123925.GA1813@aquila.esc.cam.ac.uk> <20020109165945.GD13685@ns2.wananchi.com> <20020109171906.B1796@sphinx.mythic-beasts.com> <20020109172828.GB30799@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020109172828.GB30799@ns2.wananchi.com> User-Agent: Mutt/1.3.24i X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jan 09, 2002 at 08:28:28PM +0300, Odhiambo Washington wrote: [...] > Since I am still a beginner, I am now quite divided whether to go the > PostgreSQL or MySQL way. I also just wanted this limitation on the > web interface. Is that also painful to get working with MySQL? I hate > to put you guys to work when you've not planned it. It's just a humble > request but I sincerely feel you should ignore it if it calls for so > much work. Is PostgreSQL the chosen backend for tpop3d/vmail? If so > then I have no alternative ;-) I will put this back in today, and send a patch to the list. -- ``Suspecting the action was suspicious, the officer ordered both of them to raise their hands.'' (from The Skagit Valley Herald) From chris@ex-parrot.com Thu Jan 10 00:12:30 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OSpa-00005h-00 for vmail-discuss@lists.beasts.org; Thu, 10 Jan 2002 00:12:30 +0000 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id e0A0EH8f003151; Mon, 10 Jan 2000 00:14:17 GMT Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 16OSpZ-0006Pg-00; Thu, 10 Jan 2002 00:12:29 +0000 Date: Thu, 10 Jan 2002 00:12:29 +0000 From: Chris Lightfoot To: vmail-discuss@lists.beasts.org Cc: Paul Warren Message-ID: <20020110001229.GA24647@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.24i X-Mail-Author: me Subject: [Vmail-discuss] Announce: vmail-sql 0.6 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion http://www.ex-parrot.com/~chris/vmail-sql/vmail-sql-0.6.tar.gz 0.6 * Updated README to include details of local_domain parameter. * Reimplemented POP3 box maximums. -- Drunk Gets Nine Months in Violin Case (newspaper headline) From Paul.Makepeace@realprogrammers.com Thu Jan 10 00:31:04 2002 Received: from tantrix.realprogrammers.com ([216.228.5.63] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OT7X-0000Fk-00 for vmail-discuss@lists.beasts.org; Thu, 10 Jan 2002 00:31:04 +0000 Received: from paulm by tantrix.realprogrammers.com with local (Exim 3.33 #1 (Debian)) id 16OT7R-0008B9-00; Wed, 09 Jan 2002 16:30:57 -0800 Date: Wed, 9 Jan 2002 16:30:57 -0800 From: Paul Makepeace To: Paul Warren Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020110003057.GM21413@tantrix.realprogrammers.com> References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> <20020109123925.GA1813@aquila.esc.cam.ac.uk> <20020109165945.GD13685@ns2.wananchi.com> <20020109171906.B1796@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020109171906.B1796@sphinx.mythic-beasts.com> User-Agent: Mutt/1.3.24i Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jan 09, 2002 at 05:19:06PM +0000, Paul Warren wrote: > Changing to Postgres would be a fair amount of work. Implementing a > limit on POP boxes in Perl can be done with a relatively simple patch. Hmm, I had it working on Oracle for a while and it didn't seem *that* much extra work, FWIW (and I'm but a newbie with Oracle). Most of the work was in the set-up phase (where SQL convention & syntax is least widely shared). Oh, and getting rid of those daft joins :-) Paul -- Paul Makepeace ....................................... http://paulm.com/ "What is the reason where? Any possible variation of the basic theme." -- http://paulm.com/toys/surrealism/ From chris@ex-parrot.com Thu Jan 10 00:35:42 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OTC1-0000IC-00 for vmail-discuss@lists.beasts.org; Thu, 10 Jan 2002 00:35:41 +0000 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id e0A0bS8f003234; Mon, 10 Jan 2000 00:37:28 GMT Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 16OTC0-0006Rn-00; Thu, 10 Jan 2002 00:35:40 +0000 Date: Thu, 10 Jan 2002 00:35:40 +0000 From: Chris Lightfoot To: Paul Makepeace Cc: Paul Warren , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] popboxes MAX Message-ID: <20020110003540.GA24776@caesious.cold.local> References: <20020109102106.GO14956@ns2.wananchi.com> <20020109104257.GA25624@aquila.esc.cam.ac.uk> <20020109151659.A1796@sphinx.mythic-beasts.com> <20020109123925.GA1813@aquila.esc.cam.ac.uk> <20020109165945.GD13685@ns2.wananchi.com> <20020109171906.B1796@sphinx.mythic-beasts.com> <20020110003057.GM21413@tantrix.realprogrammers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020110003057.GM21413@tantrix.realprogrammers.com> User-Agent: Mutt/1.3.24i X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Jan 09, 2002 at 04:30:57PM -0800, Paul Makepeace wrote: > On Wed, Jan 09, 2002 at 05:19:06PM +0000, Paul Warren wrote: > > Changing to Postgres would be a fair amount of work. Implementing a > > limit on POP boxes in Perl can be done with a relatively simple patch. > > Hmm, I had it working on Oracle for a while and it didn't seem *that* > much extra work, FWIW (and I'm but a newbie with Oracle). Most of the > work was in the set-up phase (where SQL convention & syntax is least > widely shared). Oh, and getting rid of those daft joins :-) Yeah. Most of the work with switching databases is normally in changing the initialisation syntax.... A port to PG is certainly a possibility.... -- ``He was cleared of two counts involving an anteater.'' (BBC News) From giorgini@interlogica.net Thu Jan 10 10:49:47 2002 Received: from [212.210.142.140] (helo=mail.interlogica.org ident=hidden-user) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16OcmI-0003xY-00 for vmail-discuss@lists.beasts.org; Thu, 10 Jan 2002 10:49:47 +0000 Received: from gateway.ced ([10.2.8.2] helo=UEL ident=hidden-user) by mail.interlogica.org with esmtp (Exim 3.16 #1) id 16OcoF-0001Vj-00 for vmail-discuss@lists.beasts.org; Thu, 10 Jan 2002 11:51:47 +0100 Date: Thu, 10 Jan 2002 11:50:45 +0100 From: Manuel Giorgini X-Mailer: The Bat! (v1.53d) Reply-To: Manuel Giorgini Organization: Interlogica X-Priority: 3 (Normal) Message-ID: <5391854896.20020110115045@interlogica.net> To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Announce: vmail-sql 0.6 X-Sender: Manuel Giorgini MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion [2002-01-10 01:12:29] Chris Lightfoot, CL> 0.6 CL> * Updated README to include details of local_domain parameter. CL> * Reimplemented POP3 box maximums. How long to the "forwarder maximum"? :-) Cordialitŕ / Best regards / Gxis la ------------------------------------------------------------------------ Manuel Giorgini , Programmatore INTERLOGICA e-business solutions - http://www.interlogica.net IBM and Lotus Business Partner - GTA Silver Partner Via De Amicis, 2 - IT 30172 Mestre (VE) - Italia - Unione Europea Tel +39 041 961392 - Fax +39 041 954201 ------------------------------------------------------------------------ From chris@ex-parrot.com Thu Jan 10 10:52:13 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16Ocof-0003zq-00 for vmail-discuss@lists.beasts.org; Thu, 10 Jan 2002 10:52:13 +0000 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id e0AArs8f005248; Mon, 10 Jan 2000 10:53:54 GMT Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 16OcoS-0006nE-00; Thu, 10 Jan 2002 10:52:00 +0000 Date: Thu, 10 Jan 2002 10:52:00 +0000 From: Chris Lightfoot To: Manuel Giorgini Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Announce: vmail-sql 0.6 Message-ID: <20020110105200.GA26107@caesious.cold.local> References: <5391854896.20020110115045@interlogica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5391854896.20020110115045@interlogica.net> User-Agent: Mutt/1.3.24i X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Thu, Jan 10, 2002 at 11:50:45AM +0100, Manuel Giorgini wrote: > [2002-01-10 01:12:29] Chris Lightfoot, > > CL> 0.6 > CL> * Updated README to include details of local_domain parameter. > CL> * Reimplemented POP3 box maximums. > > How long to the "forwarder maximum"? :-) Well, if you want to implement it, feel free to send a patch.... -- Knowledge is power -- Power corrupts -- Study hard -- Be evil! From wash@wananchi.com Fri Jan 11 12:39:37 2002 Received: from ns2.wananchi.com ([212.49.74.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16P0y8-0007P9-00 for vmail-discuss@lists.beasts.org; Fri, 11 Jan 2002 12:39:37 +0000 Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1 (FreeBSD)) id 16P0wO-0006BO-00 for ; Fri, 11 Jan 2002 15:37:48 +0300 Date: Fri, 11 Jan 2002 15:37:48 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Message-ID: <20020111123748.GJ76549@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Ogden's Law: The sooner you fall behind, the more time you have to catch up. X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 3:34PM up 10 days, 22:33, 2 users, load averages: 0.15, 0.19, 0.22 Subject: [Vmail-discuss] VMC implementation Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hello gurus, I am looking at vmc but even though it gives me an interface it says "Method Not Allowed The requested method POST is not allowed for the URL /vmc/index.phtml. Apache/1.3.22 Server at mail.wananchi.com Port 80 " I've looked around but cannot see NOTES on implementation but I see the directory is SETGID.... drwxr-sr-x 3 www www 512 Jan 11 11:36 vmc Any help will be highly appreciated. -Wash S y s t e m s A d m i n. -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ Fertility is hereditary. If your parents didn't have any children, neither will you. From chris@madingley.org Fri Jan 11 15:29:44 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16P3cm-0000bX-00 for vmail-discuss@lists.beasts.org; Fri, 11 Jan 2002 15:29:44 +0000 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id e0BFVs8f011498; Tue, 11 Jan 2000 15:31:54 GMT Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.12.1/8.9.1) id g0BFTgJo006207; Fri, 11 Jan 2002 15:29:42 GMT Date: Fri, 11 Jan 2002 15:29:42 +0000 From: Chris Lightfoot To: Odhiambo Washington , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] VMC implementation Message-ID: <20020111152942.GA6177@aquila.esc.cam.ac.uk> References: <20020111123748.GJ76549@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020111123748.GJ76549@ns2.wananchi.com> User-Agent: Mutt/1.3.24i X-Mail-Author: me Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, Jan 11, 2002 at 03:37:48PM +0300, Odhiambo Washington wrote: > Hello gurus, > > I am looking at vmc but even though it gives me an interface it says > > "Method Not Allowed > The requested method POST is not allowed for the URL /vmc/index.phtml. > > Apache/1.3.22 Server at mail.wananchi.com Port 80 > " > > I've looked around but cannot see NOTES on implementation but I see the > directory is SETGID.... > > > drwxr-sr-x 3 www www 512 Jan 11 11:36 vmc > > > Any help will be highly appreciated. I'd love to, but I'm afraid that I don't know anything about vmc.... Out of interest, what features are lacking in the web config scripts which are part of vmail-sql? The results aren't as pretty, but they're probably easier to install.... -- Today is the tomorrow you worried about yesterday From wash@wananchi.com Fri Jan 11 16:07:05 2002 Received: from ns2.wananchi.com ([212.49.74.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16P4Cm-0001DU-00 for vmail-discuss@lists.beasts.org; Fri, 11 Jan 2002 16:07:03 +0000 Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1 (FreeBSD)) id 16P3nC-000FXW-00 for ; Fri, 11 Jan 2002 18:40:30 +0300 Date: Fri, 11 Jan 2002 18:40:30 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Message-ID: <20020111154030.GW76549@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: <20020111123748.GJ76549@ns2.wananchi.com> <20020111152942.GA6177@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020111152942.GA6177@aquila.esc.cam.ac.uk> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Ogden's Law: The sooner you fall behind, the more time you have to catch up. X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 6:35PM up 11 days, 1:35, 1 user, load averages: 0.12, 0.17, 0.16 Subject: [Vmail-discuss] Vmail-sql error Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Chris Lightfoot [20020111 18:28]: wrote: > I'd love to, but I'm afraid that I don't know anything > about vmc.... > > Out of interest, what features are lacking in the web > config scripts which are part of vmail-sql? The results > aren't as pretty, but they're probably easier to > install.... Hello Chris, vmail-sql is fine. Only some people like me are always tempted with gisty looks ;0 Anyway, with vmail-sql (latest) wash@ns2#./VE-domain popboxes relvish.com max 5 VE-domain: `max' is not a valid selection for max popboxes While... wash@ns2 ('tty') /root/bin/vmail-sql/admin-tools 179 -> sudo ./VE-domain VE-domain: add or remove virtual email domains VE-domain add [unix user] VE-domain alias VE-domain remove VE-domain list VE-domain popboxes (max popboxes|unlimited) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Something slightly amiss. wash@ns2#./VE-domain popboxes relvish.com 5 Done ++ TIA -Wash S y s t e m s A d m i n. -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ Legalize free-enterprise murder: why should governments have all the fun? From i.wormsbecker@uleth.ca Tue Jan 22 20:04:40 2002 Received: from h24-71-223-13.cg.shawcable.net ([24.71.223.13] helo=pd5mo1so.prod.shaw.ca) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16T79s-0005Mu-00 for vmail-discuss@lists.beasts.org; Tue, 22 Jan 2002 20:04:40 +0000 Received: from pd5mr2so.prod.shaw.ca (pd5mr2so-qfe3.prod.shaw.ca [10.0.141.233]) by l-daemon (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GQC00J3GVQN7M@l-daemon> for vmail-discuss@lists.beasts.org; Tue, 22 Jan 2002 13:03:59 -0700 (MST) Received: from pn2ml3so (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GQC00L2RVQNH0@l-daemon> for vmail-discuss@lists.beasts.org; Tue, 22 Jan 2002 13:03:59 -0700 (MST) Received: from localhost.localdomain ([24.67.34.138]) by l-daemon (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GQC005KIVQNMH@l-daemon> for vmail-discuss@lists.beasts.org; Tue, 22 Jan 2002 13:03:59 -0700 (MST) Date: Tue, 22 Jan 2002 08:02:05 -0500 From: Ian Wormsbecker To: VMail Message-id: <1011704526.450.11.camel@debian> MIME-version: 1.0 X-Mailer: Evolution/1.0.1 Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [Vmail-discuss] pop before smtp question Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I am looking at getting pop before smtp going with my exim/tpop3d/vmail setup. I have looked at the exim faq, and they have some stuff in there about pop before smtp. The only problem I have with it is that they have 4 different scripts that run, and they make files in all kinds of places and stuff. I am not comfortable with all of that. I have previously used a pop-before-smtp perl script from http://people.oven.com/bet/pop-before-smtp/ with postfix which has worked flawlessly. Does anyone know if there is a similar script floating around to run with exim and tpop3d? If I had any perl skills at all, I would try to hack the script to work with exim and tpop3d. Any input or suggestions are appreciated. Ian From klebermass@ffb.org Wed Jan 23 08:16:20 2002 Received: from [62.146.73.130] (helo=ffb.org) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16TIZv-00040o-00 for vmail-discuss@lists.beasts.org; Wed, 23 Jan 2002 08:16:19 +0000 Received: from colemarcus ([::ffff:217.80.242.88]) by ffb.org with esmtp; Wed, 23 Jan 2002 09:15:48 +0100 Message-ID: <002001c1a3e6$31e6a810$e79cfea9@colemarcus> From: klebermass@ffb.org To: "VMail" References: <1011704526.450.11.camel@debian> Subject: Re: [Vmail-discuss] pop before smtp question Date: Wed, 23 Jan 2002 09:16:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I have an hack on an older tpop3d server, to update a timestamp field in my mysql DB ( i have stored the emailadresses in mysql) and then i tested with exim if the sending emailadress hat fetched mail during the last 15 minutes . But this hack isnt the real best one, because u can only send mails with mailadresses who have a pop3 box, AND if someone knows your mailadress, he can send also during this 15 minutes timewindow ( there is no IP - limitation). In the newest tpop3d server there seems to be a posibility to get the IP of the caller, so at the momenten im trying to change tpop3d so that it is saving the IP in the database ( in the authentication functions there is a new calling value implemented, const char *host /* unused */, so im trying to work with this one). Then with exim i can look into db if the IP has fetched mail during the last 10 minutes or so. ----- Original Message ----- From: "Ian Wormsbecker" To: "VMail" Sent: Tuesday, January 22, 2002 2:02 PM Subject: [Vmail-discuss] pop before smtp question > I am looking at getting pop before smtp going with my exim/tpop3d/vmail > setup. I have looked at the exim faq, and they have some stuff in there > about pop before smtp. The only problem I have with it is that they have > 4 different scripts that run, and they make files in all kinds of places > and stuff. I am not comfortable with all of that. I have previously used > a pop-before-smtp perl script from > http://people.oven.com/bet/pop-before-smtp/ with postfix which has > worked flawlessly. > > Does anyone know if there is a similar script floating around to run > with exim and tpop3d? If I had any perl skills at all, I would try to > hack the script to work with exim and tpop3d. > > Any input or suggestions are appreciated. > > > Ian > > > > > > _______________________________________________ > vmail-discuss mailing list > vmail-discuss@lists.beasts.org > http://lists.beasts.org/mailman/listinfo/vmail-discuss > From wash@wananchi.com Fri Jan 25 15:20:47 2002 Received: from ns2.wananchi.com ([212.49.74.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16U89m-0000Wu-00 for vmail-discuss@lists.beasts.org; Fri, 25 Jan 2002 15:20:47 +0000 Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1 (FreeBSD)) id 16U88F-000OWg-00; Fri, 25 Jan 2002 18:19:11 +0300 Date: Fri, 25 Jan 2002 18:19:11 +0300 From: Odhiambo Washington To: VMail Cc: i.wormsbecker@uleth.ca Subject: Re: [Vmail-discuss] pop before smtp question Message-ID: <20020125151911.GA92396@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , VMail , i.wormsbecker@uleth.ca References: <1011704526.450.11.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1011704526.450.11.camel@debian> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: "The two most common things in the universe are hydrogen and stupidity." X-Operating-System: FreeBSD 4.5-RC i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 6:18PM up 7:01, 1 user, load averages: 0.51, 0.34, 0.26 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Ian Wormsbecker [20020122 23:06]: wrote: > I am looking at getting pop before smtp going with my exim/tpop3d/vmail > setup. I have looked at the exim faq, and they have some stuff in there > about pop before smtp. The only problem I have with it is that they have > 4 different scripts that run, and they make files in all kinds of places > and stuff. I am not comfortable with all of that. I have previously used > a pop-before-smtp perl script from > http://people.oven.com/bet/pop-before-smtp/ with postfix which has > worked flawlessly. > > Does anyone know if there is a similar script floating around to run > with exim and tpop3d? If I had any perl skills at all, I would try to > hack the script to work with exim and tpop3d. > 1. From the FAQ (http://www.exim.org) Q0806: How can I get POP-auth-before-relay support in Exim? A0806: See http://cc.ysu.edu/~doug/exim-pop.tar.Z which has some scripts for this, courtesy of Doug S >. -Wash S y s t e m s A d m i n. -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ Boston, n.: Ludwig van Beethoven being jeered by 50,000 sports fans for finishing second in the Irish jig competition. From cam@turner.fm Fri Feb 15 23:01:26 2002 Received: from tomts8.bellnexxia.net ([209.226.175.52] helo=tomts8-srv.bellnexxia.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16brM5-0005KX-00; Fri, 15 Feb 2002 23:01:26 +0000 Received: from storm.turner.fm ([65.93.158.120]) by tomts8-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020215230124.RJFM13561.tomts8-srv.bellnexxia.net@storm.turner.fm>; Fri, 15 Feb 2002 18:01:24 -0500 Message-Id: <5.1.0.14.0.20020216174321.01d9c3d8@mail.turner.fm> X-Sender: cam@turner.fm@mail.turner.fm X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 16 Feb 2002 18:02:44 -0500 To: tpop3d-discuss@lists.beasts.org,vmail-discuss@lists.beasts.org From: Cameron Turner Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [Vmail-discuss] SMTP AUTH with MD5 PW HASHES Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hello all, I've been reading your list archives (vmail discuss, tpop3d-discuss, and exim-users) for a few days now trying to get SMTP AUTH working with my VMAIL databases. I understand that it's a common problem, but I have tried all the options I can find and none of them seem to work. I'd like to use the password_hash field from the popbox table (which is a 32-byte MD5 hash of the password) to authenticate a user for SMTP via the PLAIN method. I've tried the following (based on what i read on the lists): plain: driver = plaintext public_name = PLAIN server_condition = "${if and { \ {!eq {$2}{}} \ {!eq {$3}{}} \ {crypteq {$3}{\\{md5\\}07c600cc80aa7f3e32cd661f44a4db64}}} {1} {0} }" server_set_id = $2 plain: driver = plaintext public_name = PLAIN server_condition = ${if and { \ {!eq {$2}{}} \ {!eq {$3}{}} \ {crypteq {$3}{\{md5\}07c600cc80aa7f3e32cd661f44a4db64}}} {1} {0} } server_set_id = $2 plain: driver = plaintext public_name = PLAIN server_condition = "${if and { \ {!eq {$2}{}} \ {!eq {$3}{}} \ {eq {md5:$3}{07c600cc80aa7f3e32cd661f44a4db64}}} {1} {0} }" server_set_id = $2 plain: driver = plaintext public_name = PLAIN server_condition = "${if \ crypteq {$3}{\\{md5\\}07c600cc80aa7f3e32cd661f44a4db64} {1} {0} }" server_set_id = $2 Where "07c600cc80aa7f3e32cd661f44a4db64" is the result of the call to the database (which I have working). None of them seem to work. Can anyone help me? Please? I'm very frustrated. I also think I'm very close. I'm using Exim 3.34 & tpop3d-1.3.5 (thus they need to interoperate). Thanks, Cam From chelu@deimos.biocora.com Sat Feb 16 00:03:15 2002 Received: from 217-125-79-43.uc.nombres.ttd.es ([217.125.79.43] helo=deimos.es) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16bsJu-0005nL-00 for vmail-discuss@lists.beasts.org; Sat, 16 Feb 2002 00:03:15 +0000 Received: from localhost ([127.0.0.1] helo=deimos.biocora.com ident=chelu) by deimos.es with esmtp (Exim 3.32 #1 (Debian)) id 16bsG0-000533-00; Sat, 16 Feb 2002 00:59:12 +0100 Message-ID: <3C6DA0CA.B454289E@deimos.biocora.com> Date: Sat, 16 Feb 2002 00:59:06 +0100 From: Jose Luis Martin X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4 i686) X-Accept-Language: en MIME-Version: 1.0 To: Cameron Turner , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] SMTP AUTH with MD5 PW HASHES References: <5.1.0.14.0.20020216174321.01d9c3d8@mail.turner.fm> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Cameron Turner wrote: .... I'm using this exim conf, and it's working, I'm use md5 password only. plain: driver = plaintext public_name = PLAIN server_condition = "${if eq{${md5:$3}}{${substr_5:${lookup mysql{select password_hash from popbox where local_part='${local_part:$2}' and domain_name='${domain:$2}'}{$value}}}}{1}{0}}" server_set_id = $2 login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = "${if eq{${md5:$2}}{${substr_5:${lookup mysql{select password_hash from popbox where local_part='${local_part:$1}' and domain_name='${domain:$1}'}{$value}}}}{1}{0}}" server_set_id = $1 -- Jose Luis Martin From james@cpmd.com Mon Feb 18 20:20:05 2002 Received: from server1900.net ([209.239.36.40]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16cuGa-0007vm-00 for vmail-discuss@lists.beasts.org; Mon, 18 Feb 2002 20:20:04 +0000 Received: from james ([206.128.211.162]) by server1900.net (8.10.2/8.10.2) with SMTP id g1IKK2f20788 for ; Mon, 18 Feb 2002 15:20:02 -0500 From: "James Atkinson" To: Date: Mon, 18 Feb 2002 16:16:40 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Subject: [Vmail-discuss] IMAP and vmail-sql Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hello everyone, I was wondering if anyone knew an IMAP server that could be used with vmail-sql? Our server administrator has setup vmail-sql to handle all our mail needs for our hosting server, but a situation has come up where we need an IMAP server ASAP and our admin is out of town. So any help would be great, thanks - James Atkinson james@cpmd.com cpmd internet consultancy british virgin islands http://www.cpmd.com From chris@ex-parrot.com Mon Feb 18 21:58:01 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16cvnM-00008u-00 for vmail-discuss@lists.beasts.org; Mon, 18 Feb 2002 21:58:00 +0000 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id g1ILvu2P000360; Mon, 18 Feb 2002 21:57:56 GMT Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 16cvnI-0001bo-00; Mon, 18 Feb 2002 21:57:56 +0000 Date: Mon, 18 Feb 2002 21:57:56 +0000 From: Chris Lightfoot To: James Atkinson Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and vmail-sql Message-ID: <20020218215756.GA6178@caesious.cold.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i X-Mail-Author: me X-Face: "kUA_=&I|(by86eXgYc|U}5`O%M(P#,)y`g7N}Boz4b^JTFYHPz:s%idl@t$\Vv$3OL6:>GEGwFHrV$/bfnL=6uO/ggqZfet:&D3 Q=9c Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Feb 18, 2002 at 04:16:40PM -0400, James Atkinson wrote: > Hello everyone, > > I was wondering if anyone knew an IMAP server that could be used with > vmail-sql? Our server administrator has setup vmail-sql to handle all our > mail needs for our hosting server, but a situation has come up where we need > an IMAP server ASAP and our admin is out of town. > > So any help would be great, thanks I'm not aware of any. I have a long-term TODO list item to write an IMAP server (in my opinion all of the existing ones suck...). I believe that the Courier IMAP server is popular and has some MySQL interoperability features. -- ``... that night when, according to legend, an RCA Marketing Manager received a phone call from a disturbed customer. His 301 [typesetter] had just hyphenated `God'.'' (Paul E. Justus, quoted in `The TeXbook') From fgk@bofh.hanau.net Mon Feb 18 22:15:08 2002 Received: from hermes.frankfurt.de.velia.net ([213.221.81.15] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16cw3w-0000Gx-00 for vmail-discuss@lists.beasts.org; Mon, 18 Feb 2002 22:15:08 +0000 Received: from zeus.frankfurt.de.velia.net ([213.221.81.10] ident=mail) by hermes.frankfurt.de.velia.net with esmtp (Exim 3.34 #5) id 16cw3v-0003fz-00 for vmail-discuss@lists.beasts.org; Mon, 18 Feb 2002 23:15:07 +0100 Received: from uucp by zeus.frankfurt.de.velia.net with local-bsmtp (Exim 3.34 #1) id 16cw3v-0007DB-00; Mon, 18 Feb 2002 23:15:07 +0100 Received: from fgk.bofh.hanau.net ([172.20.1.10]) by orion.bofh.hanau.net with esmtp (Exim 3.33 #1) id 16cw3U-0008EO-00 for ; Mon, 18 Feb 2002 23:14:40 +0100 Received: from fgk by fgk.bofh.hanau.net with local (Exim 3.34 #1 (Debian)) id 16cw3T-0000IO-00 for ; Mon, 18 Feb 2002 23:14:39 +0100 Date: Mon, 18 Feb 2002 23:14:39 +0100 From: Franz Georg =?iso-8859-15?Q?K=F6hler?= To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and vmail-sql Message-ID: <20020218221439.GA1136@fgk.bofh.hanau.net> References: <20020218215756.GA6178@caesious.cold.local> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20020218215756.GA6178@caesious.cold.local> User-Agent: Mutt/1.3.27i X-Accept-Language: de en X-Uptime: 23:13:46 up 14:38, 3 users, load average: 0.00, 0.02, 0.00 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Feb 18, 2002 at 09:57:56PM +0000, Chris Lightfoot wrote: > On Mon, Feb 18, 2002 at 04:16:40PM -0400, James Atkinson wrote: >> Hello everyone, >> >> I was wondering if anyone knew an IMAP server that could be used with >> vmail-sql? Our server administrator has setup vmail-sql to handle all our >> mail needs for our hosting server, but a situation has come up where we need >> an IMAP server ASAP and our admin is out of town. >> >> So any help would be great, thanks > > I'm not aware of any. I have a long-term TODO list item to > write an IMAP server (in my opinion all of the existing > ones suck...). > > I believe that the Courier IMAP server is popular and has > some MySQL interoperability features. At this point, there is no perl authenticator for courier avaiable, which is aware of the vmail/sql database structure. From pdw@sphinx.mythic-beasts.com Tue Feb 19 09:09:00 2002 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.33 #2) id 16d6Gi-0002tY-00; Tue, 19 Feb 2002 09:09:00 +0000 Date: Tue, 19 Feb 2002 09:09:00 +0000 From: Paul Warren To: James Atkinson Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and vmail-sql Message-ID: <20020219090900.M12067@sphinx.mythic-beasts.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from james@cpmd.com on Mon, Feb 18, 2002 at 04:16:40PM -0400 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Mon, Feb 18, 2002 at 04:16:40PM -0400, James Atkinson wrote: > Hello everyone, > > I was wondering if anyone knew an IMAP server that could be used with > vmail-sql? Our server administrator has setup vmail-sql to handle all our > mail needs for our hosting server, but a situation has come up where we need > an IMAP server ASAP and our admin is out of town. Out of interest, why do you need an IMAP server rather than a POP3 server? Any IMAP server that did support it would be fairly restricted - only one mail folder - so there wouldn't be much of a gain over using POP3. We've talked over the possibilities of doing virtual IMAP accounts a few times, but have never come to any stunningly good solutions. Paul From chelu@deimos.biocora.com Tue Feb 19 10:13:58 2002 Received: from 217-125-79-43.uc.nombres.ttd.es ([217.125.79.43] helo=deimos.es) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16d7HZ-0003Jo-00 for vmail-discuss@lists.beasts.org; Tue, 19 Feb 2002 10:13:58 +0000 Received: from localhost ([127.0.0.1] helo=deimos.biocora.com ident=chelu) by deimos.es with esmtp (Exim 3.32 #1 (Debian)) id 16d7Da-0000Id-00; Tue, 19 Feb 2002 11:09:50 +0100 Message-ID: <3C72246E.2A2450EE@deimos.biocora.com> Date: Tue, 19 Feb 2002 11:09:50 +0100 From: Jose Luis Martin X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4 i686) X-Accept-Language: en MIME-Version: 1.0 To: Chris Lightfoot , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and vmail-sql References: <20020218215756.GA6178@caesious.cold.local> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Chris Lightfoot wrote: > On Mon, Feb 18, 2002 at 04:16:40PM -0400, James Atkinson wrote: > > Hello everyone, > > > > I was wondering if anyone knew an IMAP server that could be used with > > vmail-sql? Our server administrator has setup vmail-sql to handle all our > > mail needs for our hosting server, but a situation has come up where we need > > an IMAP server ASAP and our admin is out of town. > > > > So any help would be great, thanks > > I'm not aware of any. I have a long-term TODO list item to > write an IMAP server (in my opinion all of the existing > ones suck...). > > I believe that the Courier IMAP server is popular and has > some MySQL interoperability features. from /etc/courier/courier-authmysqlrc: # This example is a little bit modified adaptation of vmail-sql # database scheme: # # MYSQL_SELECT_CLAUSE SELECT popbox.local_part, \ # CONCAT('{MD5}', popbox.password_hash), \ # domain.uid, \ # domain.gid, \ # popbox.clearpw, \ # CONCAT(domain.path, '/', popbox.mbox_name), \ # '', \ # domain.quota, \ # '', \ # FROM popbox, domain \ # WHERE popbox.local_part = '$(local_part)' \ # AND popbox.domain_name = '$(domain)' \ # AND popbox.domain_name = domain.domain_name de select clause may return localpart, {md5}passord_hash, uid, gid, clearpw, pathtopopbox, quota .... Im not tested in any way, but seem that courirer-authmysql is ok to work with vmail-sql. -- Jose Luis Martin From wanted@gnu.univ.gda.pl Tue Feb 19 10:23:18 2002 Received: from gnu.univ.gda.pl ([153.19.120.250] ident=mail) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16d7Qb-0003Ol-00 for vmail-discuss@lists.beasts.org; Tue, 19 Feb 2002 10:23:18 +0000 Received: from wanted by gnu.univ.gda.pl with local (Exim 3.34 #3 (Debian)) id 16d7QW-0008II-00 for ; Tue, 19 Feb 2002 11:23:12 +0100 Date: Tue, 19 Feb 2002 11:23:12 +0100 From: Marcin Sochacki To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and vmail-sql Message-ID: <20020219112311.A31571@gnu.univ.gda.pl> References: <20020219090900.M12067@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020219090900.M12067@sphinx.mythic-beasts.com>; from pdw@ex-parrot.com on Tue, Feb 19, 2002 at 09:09:00AM +0000 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Feb 19, 2002 at 09:09:00AM +0000, Paul Warren wrote: > Out of interest, why do you need an IMAP server rather than a POP3 > server? Because one can find a lot of good webmail applications for IMAP, contrary to POP3-based ones. > Any IMAP server that did support it would be fairly restricted > - only one mail folder - so there wouldn't be much of a gain over using > POP3. Why limit to only one mailfolder? One could have the server create folders like this: $folder_path = $mailbox_path . '@' . $folder_name; e.g. my login is 'wanted' and I have to folders: Sent and Trash: /var/mail/example.com/wanted@Sent /var/mail/example.com/wanted@Trash '@' can be changed to some other character if you want. > We've talked over the possibilities of doing virtual IMAP accounts a few > times, but have never come to any stunningly good solutions. Writing a new IMAP server seems to be quite a big task. But maybe just adding support for Vmail to some existing IMAP daemon is not that difficult? Even if it's not as pure solution as writing one from scratch, it might be very useful feature for ISPs. Marcin From pdw@sphinx.mythic-beasts.com Tue Feb 19 10:40:35 2002 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.33 #2) id 16d7hL-0003cA-00; Tue, 19 Feb 2002 10:40:35 +0000 Date: Tue, 19 Feb 2002 10:40:35 +0000 From: Paul Warren To: Marcin Sochacki Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and vmail-sql Message-ID: <20020219104035.O12067@sphinx.mythic-beasts.com> References: <20020219090900.M12067@sphinx.mythic-beasts.com> <20020219112311.A31571@gnu.univ.gda.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020219112311.A31571@gnu.univ.gda.pl>; from wanted@gnu.univ.gda.pl on Tue, Feb 19, 2002 at 11:23:12AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Feb 19, 2002 at 11:23:12AM +0100, Marcin Sochacki wrote: > On Tue, Feb 19, 2002 at 09:09:00AM +0000, Paul Warren wrote: > > Out of interest, why do you need an IMAP server rather than a POP3 > > server? > > Because one can find a lot of good webmail applications for IMAP, contrary > to POP3-based ones. One of the main reasons for this being the limits of POP3 vs IMAP. > > Any IMAP server that did support it would be fairly restricted > > - only one mail folder - so there wouldn't be much of a gain over using > > POP3. > > Why limit to only one mailfolder? One could have the server create > folders like this: > $folder_path = $mailbox_path . '@' . $folder_name; > e.g. my login is 'wanted' and I have to folders: Sent and Trash: > /var/mail/example.com/wanted@Sent > /var/mail/example.com/wanted@Trash > '@' can be changed to some other character if you want. Yes, this much is not impossible to overcome, but requires the cooperation of the IMAP server. > > We've talked over the possibilities of doing virtual IMAP accounts a few > > times, but have never come to any stunningly good solutions. > > Writing a new IMAP server seems to be quite a big task. But maybe just > adding support for Vmail to some existing IMAP daemon is not that > difficult? Even if it's not as pure solution as writing one from scratch, > it might be very useful feature for ISPs. We considered this. There are a few problems: 1. We don't want to ever touch the wu-imapd code again. It stinks. 2. To do so would place security requirements on the IMAP server that it was never designed to achieve. Specifically, the IMAP server would run as the same UNIX user when serving up different virtual user accounts. We would be relying on the IMAP server to ensure that users can't read each others mail, but the IMAP server was never designed with this in mind. Given wu-imapd's absymal security record, it seems unlikely that this would ever be secure. Hence the write-from-scratch approach. FWIW I am currently putting the finishing touches to the initial release of our (IMAP-based) webmail program, remail. Once we get this up and running, I suspect that we will be looking more actively at solving the virtual webmail problem. Paul From chris@madingley.org Tue Feb 19 10:59:08 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=beth.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16d7zI-0003oy-00 for vmail-discuss@lists.beasts.org; Tue, 19 Feb 2002 10:59:08 +0000 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by beth.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id g1JAww2P002835; Tue, 19 Feb 2002 10:58:58 GMT Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.12.1/8.9.1) id g1JAwwdg012100; Tue, 19 Feb 2002 10:58:58 GMT Date: Tue, 19 Feb 2002 10:58:58 +0000 From: Chris Lightfoot To: Paul Warren Cc: Marcin Sochacki , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] IMAP and vmail-sql Message-ID: <20020219105858.GA11484@aquila.esc.cam.ac.uk> References: <20020219090900.M12067@sphinx.mythic-beasts.com> <20020219112311.A31571@gnu.univ.gda.pl> <20020219104035.O12067@sphinx.mythic-beasts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020219104035.O12067@sphinx.mythic-beasts.com> User-Agent: Mutt/1.3.24i X-Mail-Author: me X-Face: "kUA_=&I|(by86eXgYc|U}5`O%M(P#,)y`g7N}Boz4b^JTFYHPz:s%idl@t$\Vv$3OL6:>GEGwFHrV$/bfnL=6uO/ggqZfet:&D3 Q=9c Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Feb 19, 2002 at 10:40:35AM +0000, Paul Warren wrote: > On Tue, Feb 19, 2002 at 11:23:12AM +0100, Marcin Sochacki wrote: > > On Tue, Feb 19, 2002 at 09:09:00AM +0000, Paul Warren wrote: > > > Any IMAP server that did support it would be fairly restricted > > > - only one mail folder - so there wouldn't be much of a gain over using > > > POP3. > > > > Why limit to only one mailfolder? One could have the server create > > folders like this: > > $folder_path = $mailbox_path . '@' . $folder_name; > > e.g. my login is 'wanted' and I have to folders: Sent and Trash: > > /var/mail/example.com/wanted@Sent > > /var/mail/example.com/wanted@Trash > > '@' can be changed to some other character if you want. > > Yes, this much is not impossible to overcome, but requires the > cooperation of the IMAP server. Indeed. It might be preferable to do this with actual directories, in fact. But either is a possibility. > > > We've talked over the possibilities of doing virtual IMAP accounts a few > > > times, but have never come to any stunningly good solutions. > > > > Writing a new IMAP server seems to be quite a big task. But maybe just > > adding support for Vmail to some existing IMAP daemon is not that > > difficult? Even if it's not as pure solution as writing one from scratch, > > it might be very useful feature for ISPs. > > We considered this. There are a few problems: > 1. We don't want to ever touch the wu-imapd code again. It stinks. Plus, it's non-free, slow, and not sufficiently secure for this purpose. (I'm not a free-software fascist, but if I'm going to put a lot of effort into modifying something like that, I'd better be able to distribute more than just a patch....) I've been thinking about how a timapd ought to be constructed, and have a reasonable idea of how to do it properly. However, the IMAP spec is huge, and a good fraction of it needs to be implemented in order to make a worthwhile server, so this is not a trivial task. -- ``Note that you do not need a parachute to sky-dive. You need a parachute to sky-dive twice.'' From louise@louise.amiga.hu Tue Feb 19 18:34:13 2002 Received: from louise.ahiv.hu ([195.228.168.218]) by sphinx.mythic-beasts.com with smtp (Exim 3.33 #2) id 16dF5g-0008KX-00 for vmail-discuss@lists.beasts.org; Tue, 19 Feb 2002 18:34:12 +0000 Received: (qmail 2020793208 invoked by uid 508); 19 Feb 2002 19:28:04 -0000 Received: from mail.ahiv.hu (HELO louise2) (195.228.168.219) by louise.ahiv.hu with SMTP; 19 Feb 2002 19:28:04 -0000 Message-ID: <003601c1b973$6bb49960$dfc113ab@louise2> From: "LouiSe" To: Date: Tue, 19 Feb 2002 19:29:20 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0033_01C1B97B.BACE9020" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Vmail-discuss] Exim + mySQL problem Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C1B97B.BACE9020 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi! i've a big problem with my vmail configuration... i couldn't set up the = exim MTA to send mail into virtual domains, but everything else works corectly = (tpop3d, domain administrator scripts). my config is a Debian Potato with Exim 3.22 and mySQL v3.22 ERROR IN MY EXIM LOG: 2002-02-19 20:25:59 16dFBD-0001ks-00 =3D=3D louise@mail.ihg.hu = D=3Dvirtual_forward defer (-1): search_find deferred: MYSQL connection = failed: Access denied for user: 'vmailuser@localhost' (Using password: = YES) 1ST LINE OF MY EXIM.CONF hide mysql_servers =3D localhost/vmail/vmailuser/vmailpassword ; =20 (the last parameter (password) is plain text?) please help me LouiSe http://louise.amiga.hu ------=_NextPart_000_0033_01C1B97B.BACE9020 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi!
 
i've a big problem with my vmail = configuration... i=20 couldn't set up the exim MTA
to send mail into virtual domains, but = everything=20 else works corectly (tpop3d,
domain administrator = scripts).
 
my config is a Debian Potato with Exim = 3.22 and=20 mySQL v3.22
 
ERROR IN MY EXIM LOG:
 
2002-02-19 20:25:59 16dFBD-0001ks-00 = =3D=3D louise@mail.ihg.hu = D=3Dvirtual_forward defer=20 (-1): search_find deferred: MYSQL connection failed: Access denied for = user: 'vmailuser@localhost' (Using = password:=20 YES)
1ST LINE OF MY EXIM.CONF
hide mysql_servers =3D=20 localhost/vmail/vmailuser/vmailpassword ; 
 
(the last parameter (password) is plain = text?)
 
please help me
 
LouiSe
http://louise.amiga.hu
------=_NextPart_000_0033_01C1B97B.BACE9020-- From pdw@sphinx.mythic-beasts.com Wed Feb 20 09:05:45 2002 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.33 #2) id 16dSh7-000449-00; Wed, 20 Feb 2002 09:05:45 +0000 Date: Wed, 20 Feb 2002 09:05:45 +0000 From: Paul Warren To: LouiSe Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Exim + mySQL problem Message-ID: <20020220090545.A15574@sphinx.mythic-beasts.com> References: <003601c1b973$6bb49960$dfc113ab@louise2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003601c1b973$6bb49960$dfc113ab@louise2>; from louise@louise.amiga.hu on Tue, Feb 19, 2002 at 07:29:20PM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Feb 19, 2002 at 07:29:20PM +0100, LouiSe wrote: > > 1ST LINE OF MY EXIM.CONF > hide mysql_servers = localhost/vmail/vmailuser/vmailpassword ; Lose the ";" off the end, and possibly put double quotes around the whole thing. Paul From pdw@sphinx.mythic-beasts.com Wed Feb 20 09:29:58 2002 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.33 #2) id 16dT4Y-0004HR-00; Wed, 20 Feb 2002 09:29:58 +0000 Date: Wed, 20 Feb 2002 09:29:58 +0000 From: Paul Warren To: LouiSe Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Exim + mySQL problem Message-ID: <20020220092958.B15574@sphinx.mythic-beasts.com> References: <003601c1b973$6bb49960$dfc113ab@louise2> <20020220090545.A15574@sphinx.mythic-beasts.com> <002f01c1b9ef$5980f370$dfc113ab@louise2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002f01c1b9ef$5980f370$dfc113ab@louise2>; from louise@louise.amiga.hu on Wed, Feb 20, 2002 at 10:16:27AM +0100 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Feb 20, 2002 at 10:16:27AM +0100, LouiSe wrote: > > > 1ST LINE OF MY EXIM.CONF > > > hide mysql_servers = localhost/vmail/vmailuser/vmailpassword ; > > > > Lose the ";" off the end, and possibly put double quotes around the > > whole thing. > > THANX! that was the problem... but the README says this one... :( Oops. That's now fixed for the next release. cheers, Paul From james@phpbb.com Fri Feb 22 21:10:28 2002 Received: from server1900.net ([209.239.36.40]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16eMxX-0004pS-00 for vmail-discuss@lists.beasts.org; Fri, 22 Feb 2002 21:10:27 +0000 Received: from james ([206.128.211.162]) by server1900.net (8.10.2/8.10.2) with SMTP id g1MLAIZ17347 for ; Fri, 22 Feb 2002 16:10:18 -0500 From: "James Atkinson" To: Date: Fri, 22 Feb 2002 17:06:57 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Subject: [Vmail-discuss] Forwards to multiple addresses Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Quick question, I need to setup some forwards that go to multiple addresses however no matter what format I try in the remote_name field of the forwarder table I get errors like this from exim: 2002-02-23 04:44:41 test@test.com: virtual_forward director deferred: error in alias lookup: malformed address: james@test.com may not follow james@test.com in "james@test.com james@test.com" *** Frozen Any idea's on how I can this up? Thanks James Atkinson james@cpmd.com cpmd internet consultancy british virgin islands http://www.cpmd.com From pdw@ex-parrot.com Sat Feb 23 01:22:40 2002 Received: from smtp.mailbox.co.uk ([195.82.125.32] helo=smtp.mailbox.net.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16eQtc-0006s2-00 for vmail-discuss@lists.beasts.org; Sat, 23 Feb 2002 01:22:40 +0000 Received: from [212.18.227.111] (helo=mythic-beasts.freeserve.co.uk) by smtp.mailbox.net.uk with esmtp (Exim 3.22 #2) id 16eQta-0003E9-00; Sat, 23 Feb 2002 01:22:38 +0000 Received: from pdw by mythic-beasts.freeserve.co.uk with local (Exim 3.03 #1) id 16eQtc-0001S7-00; Sat, 23 Feb 2002 01:22:40 +0000 Date: Sat, 23 Feb 2002 01:22:40 +0000 From: Paul Warren To: James Atkinson Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Forwards to multiple addresses Message-ID: <20020223012240.A5305@cerberus.grovehouse.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: ; from james@phpbb.com on Fri, Feb 22, 2002 at 05:06:57PM -0400 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Fri, Feb 22, 2002 at 05:06:57PM -0400, James Atkinson wrote: > I need to setup some forwards that go to multiple addresses however no > matter what format I try in the remote_name field of the forwarder table I > get errors like this from exim: Simply add more than one forwarder for the same local part: VE-forwarder add mydomain.com fred foo@address1.com VE-forwarder add mydomain.com fred bar@address2.com Note, you cannot mix POP boxes and forwarders for the same local part. Paul From rajeev.rudrakshi@cdac.ernet.in Fri Mar 22 16:32:45 2002 Received: from [196.1.109.254] (helo=mailhub.cdac.ernet.in) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16oRy8-0005Q6-00 for vmail-discuss@lists.beasts.org; Fri, 22 Mar 2002 16:32:44 +0000 Received: from rajeevrw2p (RajeevR-W2P.corp.cdac.ernet.in [192.168.7.90]) by mailhub.cdac.ernet.in (8.11.4/8.11.4) with SMTP id g2MGWS207687 for ; Fri, 22 Mar 2002 22:02:28 +0530 (IST) Message-ID: <000a01c1d1bf$7cc8d5e0$5a07a8c0@rajeevrw2p> From: "Rajeev" To: Date: Fri, 22 Mar 2002 22:04:50 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C1D1ED.96565860" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Subject: [Vmail-discuss] problem regarding webmail server Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C1D1ED.96565860 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello,=20 I got this mail id while I was surfing through a discussion = [Vmail-discuss] Webmail for vmail-sql I am facing a problem in a webbased mail server ... I want a webbased interfeace to change the password at the server .. The o/s is solaris .. and i am using imapd as authentication mechanism = .. if u have any clue about this please let me know ........ Thanks and Regards, KAUSTUBH CHAPORKAR ------=_NextPart_000_0007_01C1D1ED.96565860 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I got this mail id while I was surfing = through a=20 discussion [Vmail-discuss] Webmail for=20 vmail-sql
I am facing a problem in a webbased mail server=20 ...
I want a webbased interfeace to change the password = at the=20 server ..
The o/s is solaris .. and i am using imapd as = authentication=20 mechanism ..
if u have any clue about this please let me know=20 ........
 
Thanks and Regards,
KAUSTUBH CHAPORKAR
 
------=_NextPart_000_0007_01C1D1ED.96565860-- From sales@ihostweb.co.uk Mon Mar 25 14:44:14 2002 Received: from host213-123-249-96.in-addr.btopenworld.com ([213.123.249.96] helo=linux1.ihostweb.co.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16pVhm-0002T6-00 for vmail-discuss@lists.beasts.org; Mon, 25 Mar 2002 14:44:14 +0000 Received: from hercules.ca3.ihostweb.co.uk ([192.168.0.12] helo=hercules) by linux1.ihostweb.co.uk with asmtp (Exim 3.22 #8) id 16pVmF-00017g-00 for vmail-discuss@lists.beasts.org; Mon, 25 Mar 2002 14:48:51 +0000 Message-ID: <012e01c1d40b$b2348640$0c00a8c0@ca3.ihostweb.co.uk> From: "iHostWeb Sales" To: Date: Mon, 25 Mar 2002 14:45:23 -0000 Organization: iHostWeb Services MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [Vmail-discuss] Can anyone help? - install trouble Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Can anyone help me, or has anyone else suffered this problem. I'm trying to install vmail sql 0.6. I've set all the options in Config.pm as needed, upgraded the database, first with 0.4 then with the 0.5 upgrade, and I always get error messages saying: ..... you need to upgrade to 0.4 ..... etc etc .... you need to upgrade to 0.5 .... etc etc...... Can anyone help? Gareth Down -- gjd@ihostweb.net From diff@thefuture.adsl.dk Tue Mar 26 18:42:13 2002 Received: from port251.ds1-ynoe.adsl.cybercity.dk ([212.242.125.132] helo=thefuture.adsl.dk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16pvtd-0006ri-00 for vmail-discuss@lists.beasts.org; Tue, 26 Mar 2002 18:42:13 +0000 Received: from thefuture.adsl.dk (obelix.thefutuer.adsl.dk [10.0.0.3]) by thefuture.adsl.dk (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id B3621F5759 for ; Tue, 26 Mar 2002 20:28:43 +0100 (CET) Message-ID: <3CA0C099.7090709@thefuture.adsl.dk> Date: Tue, 26 Mar 2002 19:40:25 +0100 From: =?ISO-8859-10?Q?Ren=E9?= Brask =?ISO-8859-10?Q?S=F8rensen?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 X-Accept-Language: en-us MIME-Version: 1.0 To: vmail-discuss@lists.beasts.org Content-Type: text/plain; charset=ISO-8859-10; format=flowed Content-Transfer-Encoding: 7bit Subject: [Vmail-discuss] vmail compatible of suporting different clients Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi all I'm just currious if anyone can confirm that vmail is able to work with clients like outlook and evolution ??? (the pop3 part). I'm using postfix+mysql+qpopper right now and have problems with the way of outlook treading usernames for pop3 accounts vs. postfix and qpopper... thanks Rene From chris@madingley.org Tue Mar 26 18:52:49 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=aleph.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16pw3t-0006zH-00 for vmail-discuss@lists.beasts.org; Tue, 26 Mar 2002 18:52:49 +0000 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by aleph.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id g2QIqmUF010118; Tue, 26 Mar 2002 18:52:48 GMT Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.12.1/8.9.1) id g2QIqmhG008594; Tue, 26 Mar 2002 18:52:48 GMT Date: Tue, 26 Mar 2002 18:52:48 +0000 From: Chris Lightfoot To: =?iso-8859-1?Q?Ren=E9_Brask_S=F8rensen?= Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] vmail compatible of suporting different clients Message-ID: <20020326185248.GB8068@aquila.esc.cam.ac.uk> References: <3CA0C099.7090709@thefuture.adsl.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <3CA0C099.7090709@thefuture.adsl.dk> User-Agent: Mutt/1.3.24i X-Mail-Author: me X-Face: "kUA_=&I|(by86eXgYc|U}5`O%M(P#,)y`g7N}Boz4b^JTFYHPz:s%idl@t$\Vv$3OL6:>GEGwFHrV$/bfnL=6uO/ggqZfet:&D3 Q=9c X-Face-Plug: http://www.mythic-beasts.com/tools-toys/xface/ Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by aleph.esc.cam.ac.uk id g2QIqmUF010118 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Mar 26, 2002 at 07:40:25PM +0100, Ren=E9 Brask S=F8rensen wrote: > Hi all >=20 > I'm just currious if anyone can confirm that vmail is able to work with= =20 > clients like outlook and evolution ??? (the pop3 part).=20 >=20 > I'm using postfix+mysql+qpopper right now and have problems with the wa= y=20 > of outlook treading usernames for pop3 accounts vs. postfix and qpoppe= r... This is really a tpop3d question rather than a vmail-sql one. Any client which speaks the POP3 protocol correctly will interact OK with tpop3d. There are user interface problems with some broken mail user agents which, if the user enters a strings such as `foo@bar.com' assume that the user has entered an email address in error, and so assume that the full username is `foo'. Typically bugs of this sort can be worked around by having users specify `foo!bar.com', `foo%bar.com' or `foo:bar.com'; tpop3d interprets any of the characters [@%:!] as a domain separator. I don't know of any problems with Microsoft Outlook and POP3 usernames specifically, but I don't use Outlook and I expect that any such reports would be drowned in the flood of security problems. --=20 A cynic is a man who, upon smelling flowers, looks around for a coffin. (Mencken) From chris@dfwstangs.net Wed Mar 27 03:13:07 2002 Received: from dsl081-114-233.dfw1.dsl.speakeasy.net ([64.81.114.233] helo=dfwstangs.net) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16q3rj-0002Bo-00 for vmail-discuss@lists.beasts.org; Wed, 27 Mar 2002 03:12:47 +0000 Received: from dsl081-114-236.dfw1.dsl.speakeasy.net ([64.81.114.236] helo=homer) by dfwstangs.net with smtp (Exim 3.31 #3) id 16q3tM-0005nG-00 for vmail-discuss@lists.beasts.org; Tue, 26 Mar 2002 21:14:28 -0600 Message-ID: <003001c1d53d$2fb2e8a0$070a0a0a@homer> From: "Chris Douglas" To: Date: Tue, 26 Mar 2002 21:12:11 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002D_01C1D50A.E507AFC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Vmail-discuss] exim 4.02/vmail-sql config Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion This is a multi-part message in MIME format. ------=_NextPart_000_002D_01C1D50A.E507AFC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have been using exim for a while and decided to try the = exim/vmail-sql/Mysql combo on a new server to do virtual boxes. I got version 4.02 of exim and have been trying to convert the config = file settings posted on the vmail-sql site to work with the new syntax = of 4.02 but I am having no luck. Does anyone have an exim config that = works? Will it work or should I go back to a 3.x version? Thanks Chris Douglas ------=_NextPart_000_002D_01C1D50A.E507AFC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
   I have been using exim for = a while and=20 decided to try the exim/vmail-sql/Mysql combo on a new server to do = virtual=20 boxes.
I got version 4.02 of exim and have = been trying to=20 convert the config file settings posted on the vmail-sql site to = work with=20 the new syntax of 4.02 but I am having no luck.  Does anyone have = an=20 exim config that works?  Will it work or should I go back to a = 3.x=20 version?
 
Thanks
Chris = Douglas
------=_NextPart_000_002D_01C1D50A.E507AFC0-- From chris@ex-parrot.com Wed Mar 27 08:27:37 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=aleph.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16q8mP-0003TU-00 for vmail-discuss@lists.beasts.org; Wed, 27 Mar 2002 08:27:37 +0000 Received: from caesious.cold.local (janus.esc.cam.ac.uk [131.111.64.94]) by aleph.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id g2R8RYUF011204; Wed, 27 Mar 2002 08:27:35 GMT Received: from chris by caesious.cold.local with local (Exim 3.03 #4) id 16q8mM-000877-00; Wed, 27 Mar 2002 08:27:34 +0000 Date: Wed, 27 Mar 2002 08:27:34 +0000 From: Chris Lightfoot To: Chris Douglas Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] exim 4.02/vmail-sql config Message-ID: <20020327082734.GA31179@caesious.cold.local> References: <003001c1d53d$2fb2e8a0$070a0a0a@homer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003001c1d53d$2fb2e8a0$070a0a0a@homer> User-Agent: Mutt/1.3.24i X-Mail-Author: me X-Face: "kUA_=&I|(by86eXgYc|U}5`O%M(P#,)y`g7N}Boz4b^JTFYHPz:s%idl@t$\Vv$3OL6:>GEGwFHrV$/bfnL=6uO/ggqZfet:&D3 Q=9c X-Face-Plug: http://www.mythic-beasts.com/tools-toys/xface/ Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Mar 26, 2002 at 09:12:11PM -0600, Chris Douglas wrote: > Hello, > I have been using exim for a while and decided to try > the exim/vmail-sql/Mysql combo on a new server to do > virtual boxes. > I got version 4.02 of exim and have been trying to > convert the config file settings posted on the vmail-sql > site to work with the new syntax of 4.02 but I am having > no luck. Does anyone have an exim config that works? > Will it work or should I go back to a 3.x version? It will certainly be possible to make vmail-sql work with Exim version 4, but it will require substantial changes due to structural changes to Exim. We haven't yet looked at an update for Exim 4. -- ``The Algernons were all from minor public schools. In the new mood of classlessness, they could plausibly carry on as if they came from major ones.'' (Clive James, on 1960s Cambridge) From abacus@pulsewidth.org Tue Apr 02 17:37:57 2002 Received: from h0030652f2a85.ne.client2.attbi.com ([24.128.104.215] helo=pulsewidth.org) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16sRID-0001q1-00 for vmail-discuss@lists.beasts.org; Tue, 02 Apr 2002 17:37:57 +0100 Received: from [10.0.1.12] ([10.0.1.12]) by pulsewidth.org (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id LAA39036 for ; Tue, 2 Apr 2002 11:22:16 -0500 (EST) User-Agent: Microsoft-Entourage/9.0.1.3108 Date: Tue, 02 Apr 2002 11:39:07 -0500 From: Bob Wyman To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: [Vmail-discuss] cannot find router driver "aliasfile" Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I have run into a strange problem, I had finished setting up vmail, everything was working nicely, the web interface worked, I could send mail was getting ready to test if I could receive it when I restarted exim and now it will not start anymore and outputs the following error: 2002-04-02 08:06:00 Exim configuration error in line 412: router virtual_forward: cannot find router driver "aliasfile" Line 412 is the fist instance that calls the router driver "aliasfile" The strange part is that it was running perfectly with this same configure file, and nothing was changed in the configure file before exim was restarted. I have tried a recompile (assuming something was corrupted) and re-installed exim, same error. I can only guess why the router driver "aliasfile" is suddenly broken, and I am stumped as how to get it fixed. I am running my vmail-sql-0.6 setup on IRIX 6.5 with Exim-4.02, tpop3d-1.3.5, mysql-3.23.49 Everything was compiled with the SGI MipsPro compiler with the exception of tpop3d which was compiled with gcc due to issues it had with the sgi cc Any help would be greatly appreciated I am frustrated because everything appeared to be running smoothly and now I am back to square one! Thanks -Bob From chris@madingley.org Tue Apr 02 17:43:50 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=aleph.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16sRNt-0001t1-00 for vmail-discuss@lists.beasts.org; Tue, 02 Apr 2002 17:43:49 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by aleph.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id g32GhmUF024073; Tue, 2 Apr 2002 17:43:48 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.12.1/8.9.1) id g32GhmrF031364; Tue, 2 Apr 2002 17:43:48 +0100 Date: Tue, 2 Apr 2002 17:43:48 +0100 From: Chris Lightfoot To: Bob Wyman Cc: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] cannot find router driver "aliasfile" Message-ID: <20020402164348.GA31100@aquila.esc.cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i X-Mail-Author: me X-Face: "kUA_=&I|(by86eXgYc|U}5`O%M(P#,)y`g7N}Boz4b^JTFYHPz:s%idl@t$\Vv$3OL6:>GEGwFHrV$/bfnL=6uO/ggqZfet:&D3 Q=9c X-Face-Plug: http://www.mythic-beasts.com/tools-toys/xface/ Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Tue, Apr 02, 2002 at 11:39:07AM -0500, Bob Wyman wrote: > I am running my vmail-sql-0.6 setup on IRIX 6.5 with Exim-4.02, ^^^^ The configuration described in the vmail-sql docs is for Exim 3 -- we haven't looked into updating it for version 4 yet, though it is certainly feasible. -- ``Fog In Channel: Continent Cut Off'' (newspaper headline, c. 1905) From wash@wananchi.com Wed Apr 03 16:11:34 2002 Received: from ns2.wananchi.com ([62.8.64.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16smQ9-0003D9-00 for vmail-discuss@lists.beasts.org; Wed, 03 Apr 2002 16:11:34 +0100 Received: from wash by ns2.wananchi.com with local (Exim 3.35 #1 (FreeBSD)) id 16smPW-000PB8-00 for ; Wed, 03 Apr 2002 18:10:54 +0300 Date: Wed, 3 Apr 2002 18:10:54 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] cannot find router driver "aliasfile" Message-ID: <20020403151054.GH8425@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: "Don't say yes until I finish talking." -- Darryl F. Zanuck X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: XFCE X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 6:09PM up 25 days, 2 hrs, 3 users, load averages: 1.50, 1.48, 1.36 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Bob Wyman [20020402 19:38]: wrote: > I am running my vmail-sql-0.6 setup on IRIX 6.5 with Exim-4.02, > tpop3d-1.3.5, mysql-3.23.49 This is Exim issue. In 4.x aliasfile == redirect -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ How long a minute is depends on which side of the bathroom door you're on. From wash@wananchi.com Wed Apr 03 16:12:31 2002 Received: from ns2.wananchi.com ([62.8.64.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16smR4-0003EP-00 for vmail-discuss@lists.beasts.org; Wed, 03 Apr 2002 16:12:31 +0100 Received: from wash by ns2.wananchi.com with local (Exim 3.35 #1 (FreeBSD)) id 16smQT-000PDh-00 for ; Wed, 03 Apr 2002 18:11:53 +0300 Date: Wed, 3 Apr 2002 18:11:53 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] cannot find router driver "aliasfile" Message-ID: <20020403151153.GI8425@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: "Don't say yes until I finish talking." -- Darryl F. Zanuck X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 6:11PM up 25 days, 2:02, 3 users, load averages: 1.43, 1.45, 1.36 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Bob Wyman [20020402 19:38]: wrote: > 2002-04-02 08:06:00 Exim configuration error in line 412: > router virtual_forward: cannot find router driver "aliasfile" [..] > I am running my vmail-sql-0.6 setup on IRIX 6.5 with Exim-4.02, > tpop3d-1.3.5, mysql-3.23.49 aliasfile == redirect in Exim-4.x -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ Sorry, no fortune this time. From chris@madingley.org Wed Apr 03 16:14:13 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=aleph.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16smSi-0003HC-00 for vmail-discuss@lists.beasts.org; Wed, 03 Apr 2002 16:14:12 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by aleph.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id g33FE8UF026007; Wed, 3 Apr 2002 16:14:08 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.12.1/8.9.1) id g33FE8ji015092; Wed, 3 Apr 2002 16:14:08 +0100 Date: Wed, 3 Apr 2002 16:14:08 +0100 From: Chris Lightfoot To: Odhiambo Washington , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] cannot find router driver "aliasfile" Message-ID: <20020403151408.GB14826@aquila.esc.cam.ac.uk> References: <20020403151054.GH8425@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020403151054.GH8425@ns2.wananchi.com> User-Agent: Mutt/1.3.24i X-Mail-Author: me X-Face: "kUA_=&I|(by86eXgYc|U}5`O%M(P#,)y`g7N}Boz4b^JTFYHPz:s%idl@t$\Vv$3OL6:>GEGwFHrV$/bfnL=6uO/ggqZfet:&D3 Q=9c X-Face-Plug: http://www.mythic-beasts.com/tools-toys/xface/ Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion On Wed, Apr 03, 2002 at 06:10:54PM +0300, Odhiambo Washington wrote: > * Bob Wyman [20020402 19:38]: wrote: > > I am running my vmail-sql-0.6 setup on IRIX 6.5 with Exim-4.02, > > tpop3d-1.3.5, mysql-3.23.49 > > This is Exim issue. In 4.x aliasfile == redirect Have you translated the vmail-sql descriptions for Exim 4? If so, we'd appreciate a copy so that we can update the distribution.... -- Always remember that you are unique, just like everybody else. From wash@wananchi.com Wed Apr 03 18:17:05 2002 Received: from ns2.wananchi.com ([62.8.64.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16soNa-0004nd-00 for vmail-discuss@lists.beasts.org; Wed, 03 Apr 2002 18:17:03 +0100 Received: from wash by ns2.wananchi.com with local (Exim 3.35 #1 (FreeBSD)) id 16soMy-0007Vp-00 for ; Wed, 03 Apr 2002 20:16:24 +0300 Date: Wed, 3 Apr 2002 20:16:23 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] cannot find router driver "aliasfile" Message-ID: <20020403171623.GJ8425@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: <20020403151054.GH8425@ns2.wananchi.com> <20020403151408.GB14826@aquila.esc.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020403151408.GB14826@aquila.esc.cam.ac.uk> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: "Don't say yes until I finish talking." -- Darryl F. Zanuck X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: XFCE X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 7:31PM up 25 days, 3:22, 1 user, load averages: 1.39, 1.31, 1.30 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Chris Lightfoot [20020403 18:13]: wrote: > On Wed, Apr 03, 2002 at 06:10:54PM +0300, Odhiambo Washington wrote: > > * Bob Wyman [20020402 19:38]: wrote: > > > I am running my vmail-sql-0.6 setup on IRIX 6.5 with Exim-4.02, > > > tpop3d-1.3.5, mysql-3.23.49 > > > > This is Exim issue. In 4.x aliasfile == redirect > > Have you translated the vmail-sql descriptions for Exim 4? > If so, we'd appreciate a copy so that we can update the > distribution.... Once it was mentioned, I went into it, installing Exim-4.02 on a test env. I haven't succeeded with the conversion of the sql queries. I see the first main issue seems to be the use of $key in the query. Exim-4 configure file utility says: " You have used $key in a configuration option. This variable does not exist in Exim 4. Instead, the value you need for your lookup will be in one of the other variables such as $domain or $host. You will need to edit the new configuration to sort this out." Since then we've been banging our heads with the in-house sql 'gurus' but haven't come out with something :-/ -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ "The first rule of magic is simple. Don't waste your time waving your hands and hoping when a rock or a club will do." -- McCloctnik the Lucid From wash@wananchi.com Mon Apr 08 17:19:16 2002 Received: from ns2.wananchi.com ([62.8.64.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 16ubrN-0002aq-00 for vmail-discuss@lists.beasts.org; Mon, 08 Apr 2002 17:19:13 +0100 Received: from wash by ns2.wananchi.com with local (Exim 3.35 #1 (FreeBSD)) id 16ubqQ-000JNJ-00; Mon, 08 Apr 2002 19:18:14 +0300 Date: Mon, 8 Apr 2002 19:18:14 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Cc: Odhiambo Washington Subject: Re: [Vmail-discuss] cannot find router driver "aliasfile" Message-ID: <20020408161814.GR89924@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: <20020403151054.GH8425@ns2.wananchi.com> <20020403151408.GB14826@aquila.esc.cam.ac.uk> <20020403171623.GJ8425@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020403171623.GJ8425@ns2.wananchi.com> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Common sense is the collection of prejudices acquired by age eighteen. -- Albert Einstein X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 7:16PM up 30 days, 3:07, 1 user, load averages: 0.18, 0.18, 0.16 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * Odhiambo Washington [20020403 20:18]: wrote: > * Chris Lightfoot [20020403 18:13]: wrote: > > On Wed, Apr 03, 2002 at 06:10:54PM +0300, Odhiambo Washington wrote: > > > * Bob Wyman [20020402 19:38]: wrote: > > > > I am running my vmail-sql-0.6 setup on IRIX 6.5 with Exim-4.02, > > > > tpop3d-1.3.5, mysql-3.23.49 > > > > > > This is Exim issue. In 4.x aliasfile == redirect > > > > Have you translated the vmail-sql descriptions for Exim 4? > > If so, we'd appreciate a copy so that we can update the > > distribution.... > > Once it was mentioned, I went into it, installing Exim-4.02 on a test env. > > I haven't succeeded with the conversion of the sql queries. > > I see the first main issue seems to be the use of $key in the query. > Exim-4 configure file utility says: > > > " You have used $key in a configuration option. This variable does not > exist in Exim 4. Instead, the value you need for your lookup will be > in one of the other variables such as $domain or $host. You will > need to edit the new configuration to sort this out." > > Since then we've been banging our heads with the in-house sql 'gurus' > but haven't come out with something :-/ I was at it again with a colleague and I swapped $key with $original_domain, the query for "local_domains = " was passed but it got stuck on a director. I will try again 2morrow ;-) -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ "Here's something to think about: How come you never see a headline like `Psychic Wins Lottery'?" -- Jay Leno From tdn@tdn.co.ke Tue Apr 23 17:50:58 2002 Received: from mx1.uunet.co.ke ([195.202.64.8] helo=jupiter.uunet.co.ke) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 1703VK-0001ts-00 for vmail-discuss@lists.beasts.org; Tue, 23 Apr 2002 17:50:58 +0100 Received: from [195.202.85.42] (helo=tdn) by jupiter.uunet.co.ke with smtp (Exim 3.36 #1) id 1703UN-0004Dl-00 for vmail-discuss@lists.beasts.org; Tue, 23 Apr 2002 19:49:59 +0300 Message-ID: <00c601c1eb3b$3538d780$2a55cac3@tdn> From: To: Date: Tue, 23 Apr 2002 19:53:26 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [Vmail-discuss] VMAIL and Maildir deliveries Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hi there, Just installed vmail-sql and seems to work fine, I would like to change exim to deliver to Maildir rather than the mbox format.... How do I go about this? Rgds TDN From jh@plonk.de Tue Apr 23 21:26:26 2002 Received: from pd954761c.dip.t-dialin.net ([217.84.118.28] helo=jh.ath.cx) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 1706rq-0003o1-00 for vmail-discuss@lists.beasts.org; Tue, 23 Apr 2002 21:26:26 +0100 Received: from ws ([192.168.8.10]) by jh.ath.cx with smtp (Exim 3.36 #1) id 1706re-0000ha-00; Tue, 23 Apr 2002 22:26:14 +0200 Message-ID: <012d01c1eb05$1cbbad30$0a08a8c0@ws> From: "Jakob Hirsch" To: , References: <00c601c1eb3b$3538d780$2a55cac3@tdn> Subject: Re: [Vmail-discuss] VMAIL and Maildir deliveries Date: Tue, 23 Apr 2002 22:26:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion tdn@tdn.co.ke wrote: > I would like to change exim to deliver to Maildir rather than the > mbox format.... sane decision. Maybe you should look into Exim's spec.txt. virtual_localdelivery: maildir_format From tdn@tdn.co.ke Wed Apr 24 13:40:57 2002 Received: from mx1.uunet.co.ke ([195.202.64.8] helo=jupiter.uunet.co.ke) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 170M4u-0002iI-00 for vmail-discuss@lists.beasts.org; Wed, 24 Apr 2002 13:40:57 +0100 Received: from [195.202.85.42] (helo=tdn) by jupiter.uunet.co.ke with smtp (Exim 3.36 #1) id 170M3b-0002Lm-00; Wed, 24 Apr 2002 15:39:35 +0300 Message-ID: <017301c1ebe1$66dd9090$7896a8c0@tdn> From: To: "Jakob Hirsch" , References: <00c601c1eb3b$3538d780$2a55cac3@tdn> <012d01c1eb05$1cbbad30$0a08a8c0@ws> Subject: Re: [Vmail-discuss] VMAIL and Maildir deliveries Date: Wed, 24 Apr 2002 15:43:06 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion > sane decision. > > Maybe you should look into Exim's spec.txt. my worry was whether the vmail code and database format is in any way tied to exim delivering to mbox format Rgds TDN ----- Original Message ----- From: "Jakob Hirsch" To: ; Sent: Tuesday, April 23, 2002 1:26 PM Subject: Re: [Vmail-discuss] VMAIL and Maildir deliveries > tdn@tdn.co.ke wrote: > > > I would like to change exim to deliver to Maildir rather than the > > mbox format.... > > > sane decision. > > Maybe you should look into Exim's spec.txt. > > virtual_localdelivery: > maildir_format > > > > _______________________________________________ > vmail-discuss mailing list > vmail-discuss@lists.beasts.org > http://lists.beasts.org/mailman/listinfo/vmail-discuss > From saugusto@lesein.es Wed Apr 24 15:50:49 2002 Received: from [195.76.120.4] (helo=localhost.localdomain) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 170O6b-0003ws-00 for vmail-discuss@lists.beasts.org; Wed, 24 Apr 2002 15:50:49 +0100 Received: from 192.168.2.253 (web.lesein.es [195.76.120.28] (may be forged)) by localhost.localdomain (8.11.6/8.11.0) with ESMTP id g3OFrWM12685 for ; Wed, 24 Apr 2002 17:53:32 +0200 Date: Wed, 24 Apr 2002 16:50:21 +0200 From: =?ISO-8859-1?B?U2Fsb23pIEF1Z3VzdG8gU2FudG9z?= X-Mailer: The Bat! (v1.53d) Reply-To: =?ISO-8859-1?B?U2Fsb23pIEF1Z3VzdG8gU2FudG9z?= X-Priority: 3 (Normal) Message-ID: <2616541762.20020424165021@lesein.es> To: vmail-discuss@lists.beasts.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by localhost.localdomain id g3OFrWM12685 Subject: [Vmail-discuss] Help Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion Hello to all: I am installing exim + tpop3d + vmail. But to me it does not work. I have installed the Exim and tpop3d. But I cannot install the Vmail-SQL. When I install the vmail gives an error: Rewriting scripts/VE-domain Rewriting scripts/VE-forwarder Rewriting scripts/VE-passwd Rewriting scripts/VE-popbox Rewriting web/cgi-bin/login Rewriting web/cgi-bin/logout Rewriting web/cgi-bin/passwd_domain Rewriting web/cgi-bin/passwd_popbox Rewriting web/cgi-bin/email_setup (0.4) Database upgrade required The database format for storing password hashes has changed. Please revi= ew and apply db/upgrade-0.4.sql before using this version of vmail. (0.5) Database upgrade required The database tables for popboxes and forwarders are altered slightly for = this release. Please review and apply db/upgrade-0.5.sql before using this ver= sion of vmail. (0.5) Exim config update required The Exim configuration has been altered for this release to support alias= ing of domains. Please see the config in the README file. Somebody can help me. Thousand thanks This is the configuration of the Exim: ###################################################################### # Runtime configuration file for Exim # ###################################################################### # This is a default configuration file which will operate correctly in # uncomplicated installations. Please see the manual for a complete list # of all the runtime configuration options that can be included in a # configuration file. There are many more than are mentioned here. The # manual is in the file doc/spec.txt in the Exim distribution as a plain # ASCII file. Other formats (PostScript, Texinfo, HTML, PDF) are availabl= e # from the Exim ftp sites. The manual is also online via the Exim web sit= es. # This file is divided into several parts, all but the last of which are # terminated by a line containing the word "end". The parts must appear # in the correct order, and all must be present (even if some of them are # in fact empty). Blank lines, and lines starting with # are ignored. ############ IMPORTANT ########## IMPORTANT ########### IMPORTANT #######= ##### # = # # Whenever you change Exim's configuration file, you *must* remember to H= UP # # the Exim daemon, because it will not pick up the new configuration unti= l # # until you do this. It is usually a good idea to test a new configuratio= n # # for syntactic correctness (e.g. using "exim -C /config/file -bV") first= . # # = # ############ IMPORTANT ########## IMPORTANT ########### IMPORTANT #######= ##### ###################################################################### # MAIN CONFIGURATION SETTINGS # ###################################################################### received_header_text =3D Received: ${if def:sender_rcvhost {from $sender_= rcvhost\n }{${if def:sender_ident {from $sender_ident }}${if def:s= ender_helo_name {(helo=3D$sender_helo_name)\n }}}}by ${primary_hostname= } ${if def:received_protocol {with $received_protocol}} (Correo LESEIN)\n= id ${message_id}${if def:received_for {\n for $received_for}} # Specify your host's canonical name here. This should normally be the fu= lly # qualified "official" name of your host. If this option is not set, the # uname() function is called to obtain the name. # primary_hostname =3D # Specify the domain you want to be added to all unqualified addresses # here. An unqualified address is one that does not contain an "@" charac= ter # followed by a domain. For example, "caesar@rome.ex" is a fully qualifie= d # address, but the string "caesar" (i.e. just a login name) is an unquali= fied # email address. Unqualified addresses are accepted only from local calle= rs by # default. See the receiver_unqualified_{hosts,nets} options if you want # to permit unqualified addresses from remote sources. If this option is # not set, the primary_hostname value is used for qualification. # qualify_domain =3D # If you want unqualified recipient addresses to be qualified with a diff= erent # domain to unqualified sender addresses, specify the recipient domain he= re. # If this option is not set, the qualify_domain value is used. # qualify_recipient =3D # Specify your local domains as a colon-separated list here. If this opti= on # is not set (i.e. not mentioned in the configuration file), the # qualify_recipient value is used as the only local domain. If you do not= want # to do any local deliveries, uncomment the following line, but do not su= pply # any data for it. This sets local_domains to an empty string, which is n= ot # the same as not mentioning it at all. An empty string specifies that th= ere # are no local domains; not setting it at all causes the default value (t= he # setting of qualify_recipient) to be used. local_domains =3D pepe.es:pepep.com # If you want to accept mail addressed to your host's literal IP address,= for # example, mail addressed to "user@[111.111.111.111]", then uncomment the # following line, or supply the literal domain(s) as part of "local_domai= ns" # above. You also need to comment "forbid_domain_literals" below. This is= not # recommended for today's Internet. # local_domains_include_host_literals # The following line prevents Exim from recognizing addresses of the form # "user@[111.111.111.111]" that is, with a "domain literal" (an IP addres= s) # instead of a named domain. The RFCs still require this form, but it mak= es # little sense to permit mail to be sent to specific hosts by their IP ad= dress # in the modern Internet, and this ancient format has been used by those # seeking to abuse hosts by using them for unwanted relaying. If you real= ly # do want to support domain literals, remove the following line, and see # also the "domain_literal" router below. forbid_domain_literals # No local deliveries will ever be run under the uids of these users (a c= olon- # separated list). An attempt to do so gets changed so that it runs under= the # uid of "nobody" instead. This is a paranoic safety catch. Note the defa= ult # setting means you cannot deliver mail addressed to root as if it were a # normal user. This isn't usually a problem, as most sites have an alias = for # root that redirects such mail to a human administrator. never_users =3D root # The use of your host as a mail relay by any host, including the local h= ost # calling its own SMTP port, is locked out by default. If you want to per= mit # relaying from the local host, you should set # # host_accept_relay =3D localhost # # If you want to permit relaying through your host from certain hosts or = IP # networks, you need to set the option appropriately, for example # # host_accept_relay =3D my.friends.host : 192.168.0.0/16 host_auth_accept_relay =3D * #host_accept_relay =3D * #host_accept_relay =3D 212.0.0.0/8 # # If you are an MX backup or gateway of some kind for some domains, you m= ust # set relay_domains to match those domains. This will allow any host to # relay through your host to those domains. # # relay_domains =3D # # See the section of the manual entitled "Control of relaying" for more # information. # The setting below causes Exim to do a reverse DNS lookup on all incomin= g # IP calls, in order to get the true host name. If you feel this is too # expensive, you can specify the networks for which a lookup is done, or # remove the setting entirely. host_lookup =3D * # By default, Exim expects all envelope addresses to be fully qualified, = that # is, they must contain both a local part and a domain. If you want to ac= cept # unqualified addresses (just a local part) from certain hosts, you can s= pecify # these hosts by setting one or both of # # receiver_unqualified_hosts =3D # sender_unqualified_hosts =3D # # to control sender and receiver addresses, respectively. When this is do= ne, # unqualified addresses are qualified using the settings of qualify_domai= n # and/or qualify_recipient (see above). # By default, Exim does not make any checks, other than syntactic ones, o= n # incoming addresses during the SMTP dialogue. This reduces delays in SMT= P # transactions, but it does mean that you might accept messages with unkn= own # recipients, and/or bad senders. # Uncomment this line if you want incoming recipient addresses to be veri= fied # during the SMTP dialogue. Unknown recipients are then rejected at this = stage, # and the generation of a failure message is the job of the sending host. # receiver_verify # Uncomment this line if you want incoming sender addresses (return-paths= ) to # be verified during the SMTP dialogue. Verification can normally only ch= eck # that the domain exists. # sender_verify # Exim contains support for the Realtime Blackhole List (RBL) that is bei= ng # maintained as part of the DNS. See http://mail-abuse.org/rbl/ for backg= round. # Uncommenting the first line below will make Exim reject mail from any # host whose IP address is blacklisted in the RBL at blackholes.mail-abus= e.org. # Some others have followed the RBL lead and have produced other lists: D= UL is # a list of dial-up addresses, and there are also a number of other lists # of various kinds at orbs.org. # rbl_domains =3D blackholes.mail-abuse.org # rbl_domains =3D blackholes.mail-abuse.org:dialups.mail-abuse.org # If you want Exim to support the "percent hack" for all your local domai= ns, # uncomment the following line. This is the feature by which mail address= ed # to x%y@z (where z is one of your local domains) is locally rerouted to # x@y and sent on. Otherwise x%y is treated as an ordinary local part. # percent_hack_domains =3D * # When Exim can neither deliver a message nor return it to sender, it "fr= eezes" # the delivery error message (aka "bounce message"). There are also other # circumstances in which messages get frozen. They will stay on the queue= for # ever unless one of the following options is set. # This option unfreezes unfreezes bounce messages after two days, tries # once more to deliver them, and ignores any delivery failures. ignore_errmsg_errors_after =3D 2d # This option cancels (removes) frozen messages that are older than a wee= k. timeout_frozen_after =3D 7d mysql_servers =3D localhost/vmail/root/pass spool_directory =3D /var/spool/exim smtp_banner =3D $primary_hostname ESMTP Correo pepe end ###################################################################### # TRANSPORTS CONFIGURATION # ###################################################################### # ORDER DOES NOT MATTER # # Only one appropriate transport is called for each delivery. # ###################################################################### # A transport is used only when referenced from a director or a router th= at # successfully handles an address. # This transport is used for delivering messages over SMTP connections. remote_smtp: driver =3D smtp # This transport is to deliver mail going to virtual domains to user # mailspools in directories under /var/spool/mail/SERVERS/foo/bar; this i= s # triggered from a director below. virtual_localdelivery: driver =3D appendfile file =3D ${lookup mysql{select path from domain left join domain_alias = on domain_alias.domain_name =3D domain.domain_name where domain.domain_na= me =3D '$domain' or domain_alias.alias =3D '$domain'}{$value}fail}/${look= up mysql{select mbox_name from popbox left join domain_alias on popbox.do= main_name =3D domain_alias.domain_name where (popbox.domain_name =3D '$do= main' or domain_alias.alias =3D '$domain') and local_part =3D '$local_par= t'}{$value}fail} delivery_date_add envelope_to_add return_path_add user =3D ${lookup mysql{select unix_user from domain left join domain_a= lias on domain_alias.domain_name =3D domain.domain_name where domain.doma= in_name =3D '$domain' or domain_alias.alias =3D '$domain'}{$value}fail} mode =3D 0660 # This transport is used for local delivery to user mailboxes in traditio= nal # BSD mailbox format. By default it will be run under the uid and gid of = the # local user, and requires the sticky bit to be set on the /var/mail dire= ctory. # Some systems use the alternative approach of running mail deliveries un= der a # particular group instead of using the sticky bit. The commented options= below # show how this can be done. local_delivery: driver =3D appendfile file =3D /var/mail/$local_part delivery_date_add envelope_to_add return_path_add group =3D mail mode =3D 0660 # This transport is used for handling pipe deliveries generated by alias # or .forward files. If the pipe generates any standard output, it is ret= urned # to the sender of the message as a delivery error. Set return_fail_outpu= t # instead of return_output if you want this to happen only when the pipe = fails # to complete normally. You can set different transports for aliases and # forwards if you want to - see the references to address_pipe in the dir= ectors # section below. address_pipe: driver =3D pipe return_output # This transport is used for handling deliveries directly to files that a= re # generated by aliasing or forwarding. address_file: driver =3D appendfile delivery_date_add envelope_to_add return_path_add # This transport is used for handling autoreplies generated by the filter= ing # option of the forwardfile director. address_reply: driver =3D autoreply end ###################################################################### # DIRECTORS CONFIGURATION # # Specifies how local addresses are handled # ###################################################################### # ORDER DOES MATTER # # A local address is passed to each in turn until it is accepted. # ###################################################################### # Local addresses are those with a domain that matches some item in the # "local_domains" setting above, or those which are passed back from the # routers because of a "self=3Dlocal" setting (not used in this configura= tion). # This director handles aliasing using a traditional /etc/aliases file. # ##### NB NB You must ensure that /etc/aliases exists. It used to be the c= ase ##### NB NB that every Unix had that file, because it was the Sendmail de= fault. ##### NB NB These days, there are systems that don't have it. Your aliase= s ##### NB NB file should at least contain an alias for "postmaster". # # If any of your aliases expand to pipes or files, you will need to set # up a user and a group for these deliveries to run under. You can do # this by uncommenting the "user" option below (changing the user name # as appropriate) and adding a "group" option if necessary. Alternatively= , you # can specify "user" on the transports that are used. Note that those # listed below are the same as are used for .forward files; you might wan= t # to set up different ones for pipe and file deliveries from aliases. # The virtualemail database allows local parts to correspond to remote # addresses (forwarding), to be aliases for local maildrops, or to be loc= al # maildrops. These are expressed in tables forwarder and popbox # respectively. # Handle forwarders and aliases (same database table) virtual_forward: driver =3D aliasfile search_type =3D mysql query =3D "select remote_name from forwarder left join domain_alias on = domain_alias.domain_name =3D forwarder.domain_name where local_part =3D '= $local_part' and (forwarder.domain_name =3D '$domain' or alias =3D '$doma= in')" forbid_file =3D true forbid_pipe =3D true # Handle delivery; see sample config C009 for what this is based on; it o= nly # handles things for the virtual domains, which are listed in the databas= e. virtual_localuser: driver =3D aliasfile search_type =3D mysql query =3D "select mbox_name from popbox left join domain_alias on domai= n_alias.domain_name =3D popbox.domain_name where local_part =3D '$local_p= art' and (popbox.domain_name =3D '$domain' or alias =3D '$domain')" transport =3D virtual_localdelivery # deliver any undelivered virtual email according to the _default_ forwar= der virtual_defaultuser: driver =3D aliasfile search_type =3D mysql query =3D "select remote_name from forwarder left join domain_alias on = domain_alias.domain_name =3D forwarder.domain_name where local_part =3D '= _default_' and (forwarder.domain_name =3D '$domain' or domain_alias.alias= =3D '$domain')" forbid_file =3D true forbid_pipe =3D true system_aliases: driver =3D aliasfile file =3D /etc/aliases search_type =3D lsearch # user =3D exim file_transport =3D address_file pipe_transport =3D address_pipe # This director handles forwarding using traditional .forward files. # If you want it also to allow mail filtering when a forward file # starts with the string "# Exim filter", uncomment the "filter" option. # The no_verify setting means that this director will be skipped when # verifying addresses if sender_verify or receiver_verify is set (though # they are not set by default). Similarly, no_expn means that this direct= or # will be skipped if smtp_expn_hosts is set to allow any hosts to use the # EXPN command. # The check_ancestor option means that if the forward file generates an # address that is an ancestor of the current one, the current one gets # passed on instead. This covers the case where A is aliased to B and B # has a .forward file pointing to A. # The three transports specified at the end are those that are used when # forwarding generates a direct delivery to a file, or to a pipe, or sets # up an auto-reply, respectively. userforward: driver =3D forwardfile file =3D .forward no_verify no_expn check_ancestor # filter file_transport =3D address_file pipe_transport =3D address_pipe reply_transport =3D address_reply # This director matches local user mailboxes. localuser: driver =3D localuser transport =3D local_delivery end ###################################################################### # ROUTERS CONFIGURATION # # Specifies how remote addresses are handled # ###################################################################### # ORDER DOES MATTER # # A remote address is passed to each in turn until it is accepted. # ###################################################################### # Remote addresses are those with a domain that does not match any item # in the "local_domains" setting above. # This router routes to remote hosts over SMTP using a DNS lookup. Any do= main # that resolves to an IP address on the loopback interface (127.0.0.0/8) = is # treated as if it had no DNS entry. lookuphost: driver =3D lookuphost transport =3D remote_smtp ignore_target_hosts =3D 127.0.0.0/8 # This router routes to remote hosts over SMTP by explicit IP address, # when an email address is given in "domain literal" form, for example, # . The RFCs require this facility. However, it is # little-known these days, and has been exploited by evil people seeking # to abuse SMTP relays. Consequently it is commented out in the default # configuration. If you uncomment this router, you also need to comment o= ut # "forbid_domain_literals" above, so that Exim can recognize the syntax o= f # domain literal addresses. # domain_literal: # driver =3D ipliteral # transport =3D remote_smtp end ###################################################################### # RETRY CONFIGURATION # ###################################################################### # This single retry rule applies to all domains and all errors. It specif= ies # retries every 15 minutes for 2 hours, then increasing retry intervals, # starting at 1 hour and increasing each time by a factor of 1.5, up to 1= 6 # hours, then retries every 8 hours until 4 days have passed since the fi= rst # failed delivery. # Domain Error Retries # ------ ----- ------- * * F,2h,15m; G,16h,1h,1.5; F,4d,8h end ###################################################################### # REWRITE CONFIGURATION # ###################################################################### # There are no rewriting specifications in this default configuration fil= e. end ###################################################################### # AUTHENTICATION CONFIGURATION # ###################################################################### plain: driver =3D plaintext public_name =3D PLAIN server_condition =3D "${if crypteq{$3}\ {${lookup mysql{select password_hash from popbox where mbox_name =3D '${l= ocal_part:$2}' and domain_name =3D'${domain:$2}'}\ {$value}{fail}}}{1}{0}}" server_set_id =3D $1 login: driver =3D plaintext public_name =3D LOGIN server_prompts =3D "Username::: Password::" server_condition =3D "${if crypteq{$2}\ {${lookup mysql{select password_hash from popbox where mbox_name =3D '${l= ocal_part:$1}' and domain_name =3D'${domain:$1}'}\ {$value}{fail}}}{1}{0}}" server_set_id =3D $1 # End of Exim configuration file =20 That I make bad. Somebody can help me. Thanks --=20 Saludos, Salom=E9 mailto:saugusto@lesein.es From gareth.down@dpcomputers.co.uk Wed Apr 24 16:42:53 2002 Received: from host213-123-249-96.in-addr.btopenworld.com ([213.123.249.96] helo=linux1.ihostweb.co.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 170Ouy-0004V7-00 for vmail-discuss@lists.beasts.org; Wed, 24 Apr 2002 16:42:52 +0100 Received: from [192.168.1.12] (helo=hercules) by linux1.ihostweb.co.uk with asmtp (Exim 3.22 #8) id 170O44-0003Wj-00; Wed, 24 Apr 2002 15:48:12 +0100 Message-ID: <000c01c1ebe9$69565f20$0c01a8c0@hercules> From: "Gareth Down" To: =?iso-8859-1?Q?Salom=E9_Augusto_Santos?= , References: <2616541762.20020424165021@lesein.es> Subject: Re: [Vmail-discuss] Help Date: Wed, 24 Apr 2002 16:40:26 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion I too had that problem, and i was forced to give up in the end, I had done the database upgrades and everything, using the latest version etc, etc all the obvious stuff. If anyone could help, i'd appreciate it Gareth Down ----- Original Message ----- From: "Salomé Augusto Santos" To: Sent: Wednesday, April 24, 2002 7:50 AM Subject: [Vmail-discuss] Help Hello to all: I am installing exim + tpop3d + vmail. But to me it does not work. I have installed the Exim and tpop3d. But I cannot install the Vmail-SQL. When I install the vmail gives an error: Rewriting scripts/VE-domain Rewriting scripts/VE-forwarder Rewriting scripts/VE-passwd Rewriting scripts/VE-popbox Rewriting web/cgi-bin/login Rewriting web/cgi-bin/logout Rewriting web/cgi-bin/passwd_domain Rewriting web/cgi-bin/passwd_popbox Rewriting web/cgi-bin/email_setup (0.4) Database upgrade required The database format for storing password hashes has changed. Please review and apply db/upgrade-0.4.sql before using this version of vmail. (0.5) Database upgrade required The database tables for popboxes and forwarders are altered slightly for this release. Please review and apply db/upgrade-0.5.sql before using this version of vmail. (0.5) Exim config update required The Exim configuration has been altered for this release to support aliasing of domains. Please see the config in the README file. Somebody can help me. Thousand thanks This is the configuration of the Exim: ###################################################################### # Runtime configuration file for Exim # ###################################################################### # This is a default configuration file which will operate correctly in # uncomplicated installations. Please see the manual for a complete list # of all the runtime configuration options that can be included in a # configuration file. There are many more than are mentioned here. The # manual is in the file doc/spec.txt in the Exim distribution as a plain # ASCII file. Other formats (PostScript, Texinfo, HTML, PDF) are available # from the Exim ftp sites. The manual is also online via the Exim web sites. # This file is divided into several parts, all but the last of which are # terminated by a line containing the word "end". The parts must appear # in the correct order, and all must be present (even if some of them are # in fact empty). Blank lines, and lines starting with # are ignored. ############ IMPORTANT ########## IMPORTANT ########### IMPORTANT ############ # # # Whenever you change Exim's configuration file, you *must* remember to HUP # # the Exim daemon, because it will not pick up the new configuration until # # until you do this. It is usually a good idea to test a new configuration # # for syntactic correctness (e.g. using "exim -C /config/file -bV") first. # # # ############ IMPORTANT ########## IMPORTANT ########### IMPORTANT ############ ###################################################################### # MAIN CONFIGURATION SETTINGS # ###################################################################### received_header_text = Received: ${if def:sender_rcvhost {from $sender_rcvhost\n }{${if def:sender_ident {from $sender_ident }}${if def:sender_helo_name {(helo=$sender_helo_name)\n }}}}by ${primary_hostname} ${if def:received_protocol {with $received_protocol}} (Correo LESEIN)\n id ${message_id}${if def:received_for {\n for $received_for}} # Specify your host's canonical name here. This should normally be the fully # qualified "official" name of your host. If this option is not set, the # uname() function is called to obtain the name. # primary_hostname = # Specify the domain you want to be added to all unqualified addresses # here. An unqualified address is one that does not contain an "@" character # followed by a domain. For example, "caesar@rome.ex" is a fully qualified # address, but the string "caesar" (i.e. just a login name) is an unqualified # email address. Unqualified addresses are accepted only from local callers by # default. See the receiver_unqualified_{hosts,nets} options if you want # to permit unqualified addresses from remote sources. If this option is # not set, the primary_hostname value is used for qualification. # qualify_domain = # If you want unqualified recipient addresses to be qualified with a different # domain to unqualified sender addresses, specify the recipient domain here. # If this option is not set, the qualify_domain value is used. # qualify_recipient = # Specify your local domains as a colon-separated list here. If this option # is not set (i.e. not mentioned in the configuration file), the # qualify_recipient value is used as the only local domain. If you do not want # to do any local deliveries, uncomment the following line, but do not supply # any data for it. This sets local_domains to an empty string, which is not # the same as not mentioning it at all. An empty string specifies that there # are no local domains; not setting it at all causes the default value (the # setting of qualify_recipient) to be used. local_domains = pepe.es:pepep.com # If you want to accept mail addressed to your host's literal IP address, for # example, mail addressed to "user@[111.111.111.111]", then uncomment the # following line, or supply the literal domain(s) as part of "local_domains" # above. You also need to comment "forbid_domain_literals" below. This is not # recommended for today's Internet. # local_domains_include_host_literals # The following line prevents Exim from recognizing addresses of the form # "user@[111.111.111.111]" that is, with a "domain literal" (an IP address) # instead of a named domain. The RFCs still require this form, but it makes # little sense to permit mail to be sent to specific hosts by their IP address # in the modern Internet, and this ancient format has been used by those # seeking to abuse hosts by using them for unwanted relaying. If you really # do want to support domain literals, remove the following line, and see # also the "domain_literal" router below. forbid_domain_literals # No local deliveries will ever be run under the uids of these users (a colon- # separated list). An attempt to do so gets changed so that it runs under the # uid of "nobody" instead. This is a paranoic safety catch. Note the default # setting means you cannot deliver mail addressed to root as if it were a # normal user. This isn't usually a problem, as most sites have an alias for # root that redirects such mail to a human administrator. never_users = root # The use of your host as a mail relay by any host, including the local host # calling its own SMTP port, is locked out by default. If you want to permit # relaying from the local host, you should set # # host_accept_relay = localhost # # If you want to permit relaying through your host from certain hosts or IP # networks, you need to set the option appropriately, for example # # host_accept_relay = my.friends.host : 192.168.0.0/16 host_auth_accept_relay = * #host_accept_relay = * #host_accept_relay = 212.0.0.0/8 # # If you are an MX backup or gateway of some kind for some domains, you must # set relay_domains to match those domains. This will allow any host to # relay through your host to those domains. # # relay_domains = # # See the section of the manual entitled "Control of relaying" for more # information. # The setting below causes Exim to do a reverse DNS lookup on all incoming # IP calls, in order to get the true host name. If you feel this is too # expensive, you can specify the networks for which a lookup is done, or # remove the setting entirely. host_lookup = * # By default, Exim expects all envelope addresses to be fully qualified, that # is, they must contain both a local part and a domain. If you want to accept # unqualified addresses (just a local part) from certain hosts, you can specify # these hosts by setting one or both of # # receiver_unqualified_hosts = # sender_unqualified_hosts = # # to control sender and receiver addresses, respectively. When this is done, # unqualified addresses are qualified using the settings of qualify_domain # and/or qualify_recipient (see above). # By default, Exim does not make any checks, other than syntactic ones, on # incoming addresses during the SMTP dialogue. This reduces delays in SMTP # transactions, but it does mean that you might accept messages with unknown # recipients, and/or bad senders. # Uncomment this line if you want incoming recipient addresses to be verified # during the SMTP dialogue. Unknown recipients are then rejected at this stage, # and the generation of a failure message is the job of the sending host. # receiver_verify # Uncomment this line if you want incoming sender addresses (return-paths) to # be verified during the SMTP dialogue. Verification can normally only check # that the domain exists. # sender_verify # Exim contains support for the Realtime Blackhole List (RBL) that is being # maintained as part of the DNS. See http://mail-abuse.org/rbl/ for background. # Uncommenting the first line below will make Exim reject mail from any # host whose IP address is blacklisted in the RBL at blackholes.mail-abuse.org. # Some others have followed the RBL lead and have produced other lists: DUL is # a list of dial-up addresses, and there are also a number of other lists # of various kinds at orbs.org. # rbl_domains = blackholes.mail-abuse.org # rbl_domains = blackholes.mail-abuse.org:dialups.mail-abuse.org # If you want Exim to support the "percent hack" for all your local domains, # uncomment the following line. This is the feature by which mail addressed # to x%y@z (where z is one of your local domains) is locally rerouted to # x@y and sent on. Otherwise x%y is treated as an ordinary local part. # percent_hack_domains = * # When Exim can neither deliver a message nor return it to sender, it "freezes" # the delivery error message (aka "bounce message"). There are also other # circumstances in which messages get frozen. They will stay on the queue for # ever unless one of the following options is set. # This option unfreezes unfreezes bounce messages after two days, tries # once more to deliver them, and ignores any delivery failures. ignore_errmsg_errors_after = 2d # This option cancels (removes) frozen messages that are older than a week. timeout_frozen_after = 7d mysql_servers = localhost/vmail/root/pass spool_directory = /var/spool/exim smtp_banner = $primary_hostname ESMTP Correo pepe end ###################################################################### # TRANSPORTS CONFIGURATION # ###################################################################### # ORDER DOES NOT MATTER # # Only one appropriate transport is called for each delivery. # ###################################################################### # A transport is used only when referenced from a director or a router that # successfully handles an address. # This transport is used for delivering messages over SMTP connections. remote_smtp: driver = smtp # This transport is to deliver mail going to virtual domains to user # mailspools in directories under /var/spool/mail/SERVERS/foo/bar; this is # triggered from a director below. virtual_localdelivery: driver = appendfile file = ${lookup mysql{select path from domain left join domain_alias on domain_alias.domain_name = domain.domain_name where domain.domain_name = '$domain' or domain_alias.alias = '$domain'}{$value}fail}/${lookup mysql{select mbox_name from popbox left join domain_alias on popbox.domain_name = domain_alias.domain_name where (popbox.domain_name = '$domain' or domain_alias.alias = '$domain') and local_part = '$local_part'}{$value}fail} delivery_date_add envelope_to_add return_path_add user = ${lookup mysql{select unix_user from domain left join domain_alias on domain_alias.domain_name = domain.domain_name where domain.domain_name = '$domain' or domain_alias.alias = '$domain'}{$value}fail} mode = 0660 # This transport is used for local delivery to user mailboxes in traditional # BSD mailbox format. By default it will be run under the uid and gid of the # local user, and requires the sticky bit to be set on the /var/mail directory. # Some systems use the alternative approach of running mail deliveries under a # particular group instead of using the sticky bit. The commented options below # show how this can be done. local_delivery: driver = appendfile file = /var/mail/$local_part delivery_date_add envelope_to_add return_path_add group = mail mode = 0660 # This transport is used for handling pipe deliveries generated by alias # or .forward files. If the pipe generates any standard output, it is returned # to the sender of the message as a delivery error. Set return_fail_output # instead of return_output if you want this to happen only when the pipe fails # to complete normally. You can set different transports for aliases and # forwards if you want to - see the references to address_pipe in the directors # section below. address_pipe: driver = pipe return_output # This transport is used for handling deliveries directly to files that are # generated by aliasing or forwarding. address_file: driver = appendfile delivery_date_add envelope_to_add return_path_add # This transport is used for handling autoreplies generated by the filtering # option of the forwardfile director. address_reply: driver = autoreply end ###################################################################### # DIRECTORS CONFIGURATION # # Specifies how local addresses are handled # ###################################################################### # ORDER DOES MATTER # # A local address is passed to each in turn until it is accepted. # ###################################################################### # Local addresses are those with a domain that matches some item in the # "local_domains" setting above, or those which are passed back from the # routers because of a "self=local" setting (not used in this configuration). # This director handles aliasing using a traditional /etc/aliases file. # ##### NB NB You must ensure that /etc/aliases exists. It used to be the case ##### NB NB that every Unix had that file, because it was the Sendmail default. ##### NB NB These days, there are systems that don't have it. Your aliases ##### NB NB file should at least contain an alias for "postmaster". # # If any of your aliases expand to pipes or files, you will need to set # up a user and a group for these deliveries to run under. You can do # this by uncommenting the "user" option below (changing the user name # as appropriate) and adding a "group" option if necessary. Alternatively, you # can specify "user" on the transports that are used. Note that those # listed below are the same as are used for .forward files; you might want # to set up different ones for pipe and file deliveries from aliases. # The virtualemail database allows local parts to correspond to remote # addresses (forwarding), to be aliases for local maildrops, or to be local # maildrops. These are expressed in tables forwarder and popbox # respectively. # Handle forwarders and aliases (same database table) virtual_forward: driver = aliasfile search_type = mysql query = "select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = '$local_part' and (forwarder.domain_name = '$domain' or alias = '$domain')" forbid_file = true forbid_pipe = true # Handle delivery; see sample config C009 for what this is based on; it only # handles things for the virtual domains, which are listed in the database. virtual_localuser: driver = aliasfile search_type = mysql query = "select mbox_name from popbox left join domain_alias on domain_alias.domain_name = popbox.domain_name where local_part = '$local_part' and (popbox.domain_name = '$domain' or alias = '$domain')" transport = virtual_localdelivery # deliver any undelivered virtual email according to the _default_ forwarder virtual_defaultuser: driver = aliasfile search_type = mysql query = "select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = '_default_' and (forwarder.domain_name = '$domain' or domain_alias.alias = '$domain')" forbid_file = true forbid_pipe = true system_aliases: driver = aliasfile file = /etc/aliases search_type = lsearch # user = exim file_transport = address_file pipe_transport = address_pipe # This director handles forwarding using traditional .forward files. # If you want it also to allow mail filtering when a forward file # starts with the string "# Exim filter", uncomment the "filter" option. # The no_verify setting means that this director will be skipped when # verifying addresses if sender_verify or receiver_verify is set (though # they are not set by default). Similarly, no_expn means that this director # will be skipped if smtp_expn_hosts is set to allow any hosts to use the # EXPN command. # The check_ancestor option means that if the forward file generates an # address that is an ancestor of the current one, the current one gets # passed on instead. This covers the case where A is aliased to B and B # has a .forward file pointing to A. # The three transports specified at the end are those that are used when # forwarding generates a direct delivery to a file, or to a pipe, or sets # up an auto-reply, respectively. userforward: driver = forwardfile file = .forward no_verify no_expn check_ancestor # filter file_transport = address_file pipe_transport = address_pipe reply_transport = address_reply # This director matches local user mailboxes. localuser: driver = localuser transport = local_delivery end ###################################################################### # ROUTERS CONFIGURATION # # Specifies how remote addresses are handled # ###################################################################### # ORDER DOES MATTER # # A remote address is passed to each in turn until it is accepted. # ###################################################################### # Remote addresses are those with a domain that does not match any item # in the "local_domains" setting above. # This router routes to remote hosts over SMTP using a DNS lookup. Any domain # that resolves to an IP address on the loopback interface (127.0.0.0/8) is # treated as if it had no DNS entry. lookuphost: driver = lookuphost transport = remote_smtp ignore_target_hosts = 127.0.0.0/8 # This router routes to remote hosts over SMTP by explicit IP address, # when an email address is given in "domain literal" form, for example, # . The RFCs require this facility. However, it is # little-known these days, and has been exploited by evil people seeking # to abuse SMTP relays. Consequently it is commented out in the default # configuration. If you uncomment this router, you also need to comment out # "forbid_domain_literals" above, so that Exim can recognize the syntax of # domain literal addresses. # domain_literal: # driver = ipliteral # transport = remote_smtp end ###################################################################### # RETRY CONFIGURATION # ###################################################################### # This single retry rule applies to all domains and all errors. It specifies # retries every 15 minutes for 2 hours, then increasing retry intervals, # starting at 1 hour and increasing each time by a factor of 1.5, up to 16 # hours, then retries every 8 hours until 4 days have passed since the first # failed delivery. # Domain Error Retries # ------ ----- ------- * * F,2h,15m; G,16h,1h,1.5; F,4d,8h end ###################################################################### # REWRITE CONFIGURATION # ###################################################################### # There are no rewriting specifications in this default configuration file. end ###################################################################### # AUTHENTICATION CONFIGURATION # ###################################################################### plain: driver = plaintext public_name = PLAIN server_condition = "${if crypteq{$3}\ {${lookup mysql{select password_hash from popbox where mbox_name = '${local_part:$2}' and domain_name ='${domain:$2}'}\ {$value}{fail}}}{1}{0}}" server_set_id = $1 login: driver = plaintext public_name = LOGIN server_prompts = "Username::: Password::" server_condition = "${if crypteq{$2}\ {${lookup mysql{select password_hash from popbox where mbox_name = '${local_part:$1}' and domain_name ='${domain:$1}'}\ {$value}{fail}}}{1}{0}}" server_set_id = $1 # End of Exim configuration file That I make bad. Somebody can help me. Thanks -- Saludos, Salomé mailto:saugusto@lesein.es _______________________________________________ vmail-discuss mailing list vmail-discuss@lists.beasts.org http://lists.beasts.org/mailman/listinfo/vmail-discuss From pdw@sphinx.mythic-beasts.com Wed Apr 24 16:56:01 2002 Received: from pdw by sphinx.mythic-beasts.com with local (Exim 3.33 #2) id 170P7c-0004g6-00; Wed, 24 Apr 2002 16:55:56 +0100 Date: Wed, 24 Apr 2002 16:55:55 +0100 From: Paul Warren To: Gareth Down Cc: =?iso-8859-1?Q?Salom=E9_Augusto_Santos?= , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] Help Message-ID: <20020424165555.E3204@sphinx.mythic-beasts.com> References: <2616541762.20020424165021@lesein.es> <000c01c1ebe9$69565f20$0c01a8c0@hercules> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000c01c1ebe9$69565f20$0c01a8c0@hercules>; from gareth.down@dpcomputers.co.uk on Wed, Apr 24, 2002 at 04:40:26PM -0700 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion > (0.4) Database upgrade required > The database format for storing password hashes has changed. Please review > and > apply db/upgrade-0.4.sql before using this version of vmail. > > (0.5) Database upgrade required > The database tables for popboxes and forwarders are altered slightly for > this > release. Please review and apply db/upgrade-0.5.sql before using this > version of > vmail. > > (0.5) Exim config update required > The Exim configuration has been altered for this release to support aliasing > of > domains. Please see the config in the README file. > > Somebody can help me. Thousand thanks I'm afraid that these errors are entirely spurious - you may simply ignore them if this is a new install. For some reason, it thinks that you have a previous version is installed and that you will therefore need to manually make various updates to your DB / Exim setup. As long as you have correctly set up your database and Exim you should be fine. I'll get this fixed shortly - apologies for such a stupid bug. Paul From wash@wananchi.com Thu Apr 25 17:31:29 2002 Received: from ns2.wananchi.com ([62.8.64.4]) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 170m9Y-00074h-00 for vmail-discuss@lists.beasts.org; Thu, 25 Apr 2002 17:31:29 +0100 Received: from wash by ns2.wananchi.com with local (Exim 3.36 #1 (FreeBSD)) id 170m7t-0001ZG-00 for ; Thu, 25 Apr 2002 19:29:45 +0300 Date: Thu, 25 Apr 2002 19:29:45 +0300 From: Odhiambo Washington To: vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] VMAIL and Maildir deliveries Message-ID: <20020425162945.GU85311@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , vmail-discuss@lists.beasts.org References: <00c601c1eb3b$3538d780$2a55cac3@tdn> <012d01c1eb05$1cbbad30$0a08a8c0@ws> <017301c1ebe1$66dd9090$7896a8c0@tdn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <017301c1ebe1$66dd9090$7896a8c0@tdn> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Carmel, New York, has an ordinance forbidding men to wear coats and trousers that don't match. X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 7:27PM up 47 days, 3:18, 3 users, load averages: 2.30, 2.23, 1.85 Sender: vmail-discuss-admin@lists.beasts.org Errors-To: vmail-discuss-admin@lists.beasts.org X-BeenThere: vmail-discuss@lists.beasts.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: vmail-sql discussion * tdn@tdn.co.ke [20020424 15:41]: wrote: > > sane decision. > > > > Maybe you should look into Exim's spec.txt. > > my worry was whether the vmail code and database format is in any way tied > to exim delivering to mbox format > > Rgds > TDN If that works let me know. I have a feeling it will and you can even add a mail directory spec to tpop3d.conf but I am wondering if anyone has gone the extra mile to have that maildir work with an imap setup, like courier. -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) First Law of Socio-Genetics: Celibacy is not hereditary. From chris@madingley.org Thu Apr 25 17:44:09 2002 Received: from daleth.esc.cam.ac.uk ([131.111.64.59] helo=aleph.esc.cam.ac.uk) by sphinx.mythic-beasts.com with esmtp (Exim 3.33 #2) id 170mLo-0007EC-00 for vmail-discuss@lists.beasts.org; Thu, 25 Apr 2002 17:44:08 +0100 Received: from aquila.esc.cam.ac.uk (janus.esc.cam.ac.uk [131.111.64.94]) by aleph.esc.cam.ac.uk (8.12.1/8.9.1) with ESMTP id g3PGi06H029727; Thu, 25 Apr 2002 17:44:00 +0100 Received: (from chris@localhost) by aquila.esc.cam.ac.uk (8.12.1/8.9.1) id g3PGhrD8013241; Thu, 25 Apr 2002 17:43:53 +0100 Date: Thu, 25 Apr 2002 17:43:53 +0100 From: Chris Lightfoot To: tdn@tdn.co.ke Cc: Jakob Hirsch , vmail-discuss@lists.beasts.org Subject: Re: [Vmail-discuss] VMAIL and Maildir deliveries Message-ID: <20020425164353.GA13099@aquila.esc.cam.ac.uk> References: <00c601c1eb3b$3538d780$2a55cac3@tdn> <012d01c1eb05$1cbbad30$0a08a8c0@ws> <017301c1ebe1$66dd9090$7896a8c0@tdn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <017301c1e