4 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] maildrop 1.5.2 + vpop...
FromSent OnAttachments
Benjamin TomhaveApr 8, 2003 10:01 am 
Benjamin TomhaveApr 9, 2003 12:37 pm 
Devin RubiaApr 10, 2003 6:00 am 
Robin BowesApr 10, 2003 7:04 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [maildropl] maildrop 1.5.2 + vpopmail w/ mysqlActions...
From:Benjamin Tomhave (btom@sofast.net)
Date:Apr 9, 2003 12:37:51 pm
List:net.sourceforge.lists.courier-maildrop

Problem solved (sort of)! I found a diff. list archive and, from January, found the following posting: http://www.riverside.org/archive/html/maildrop/2003-01/msg00008.html

In that posting, it says that maildrop uses the shell of the calling user. In my case, this user is vpopmail, and had a shell of /sbin/nologin listed. As soon as I changed it to /bin/bash, then all was well. Unfortunately, this opens up a potentially glaring security hole, too. I don't think I want vpopmail to have a valid shell, though, do I? Anyway... that leads me to the following...

FEATURE REQUEST: I would like a configuration option (or patch, I guess, though I wouldn't know where to begin with that) to choose whether maildrop uses the calling account's shell or if it uses a hardcoded shell. I personally would prefer to have a hardcoded shell since this seems safer than using the calling account's shell.

Thoughts? Flames?

Thanks,

-ben

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Benjamin Tomhave Sent: Tuesday, April 08, 2003 11:01 AM To: cour@lists.sourceforge.net Subject: [maildropl] maildrop 1.5.2 + vpopmail w/ mysql

Hello,

I posted yesterday, haven't seen anybody responding whatsoever, so I'm reposting, though with more config info.

As it stands right now I have qmail 1.03 + vpopmail 5.3.19 w/ mysql w/ seekable patch enabled + maildrop 1.52. It has been independently verified that the seekable patch is working properly within vpopmail, so the issue appears to be with maildrop. I have tried compiling maildrop with several commandline options. The current version has:

# maildrop -v maildrop 1.5.2 Copyright 1998-2003 Double Precision, Inc. GDBM extensions enabled. Maildir quota extension enabled. Virtual user database extension enabled. Virtual user database via MySQL extension enabled. This program is distributed under the terms of the GNU General Public License. See COPYING for additional information.

I have create a .qmail-default file with the following contents:

| maildrop ../mailfilter

And then, for testing purposes, I have the following content in my mailfilter file:

# cat mailfilter import EXT import HOME VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" to "$VPOP"

At this point I am not even sure if maildrop is working correctly (how can I test if it's working correctly?). I did a "make check" before doing the install-strip and install-man and it came back with all test successful.

I'm not finding anything in the archives about how to solve this problem (though I've seen a couple posts indicating similar problems). The issue seems to be in maildrop and it's ability to handle the mail through a .qmail file with vpopmail. As with the other person who posted, am wondering if maildrop is clearing or resetting environment variables somehow?

I would also like to know why I am not seeing any syslog messages? Does --enable-syslog=1 set it to local1 instead of local3? Is that what I'm missing here?

Thank you,

-ben