7 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] Maildrop at Debian Sarge
FromSent OnAttachments
Sérgio FerreiraNov 7, 2005 10:30 am.dat
Tony EarnshawNov 7, 2005 12:54 pm 
Dave AugustusNov 7, 2005 1:21 pm 
Sérgio FerreiraNov 8, 2005 4:35 am 
Sérgio FerreiraNov 8, 2005 4:43 am 
Tony EarnshawNov 9, 2005 2:11 am 
Sérgio FerreiraNov 9, 2005 8:03 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 at Debian SargeActions...
From:Sérgio Ferreira (serg@minc.gov.br)
Date:Nov 8, 2005 4:43:34 am
List:net.sourceforge.lists.courier-maildrop

Hi Tony,

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net] On Behalf Of Tony Earnshaw Sent: Monday, November 07, 2005 6:52 PM To: cour@lists.sourceforge.net Subject: Re: [maildropl] Maildrop at Debian Sarge

må den 07.11.2005 Klokka 16:30 (-0200) skreiv Sérgio Ferreira:

I trying to setup Maildrop, on DEBIAN SARGE.

What actual version of maildrop (as supplied by Courier, not Debian - the latter of which "I have eaten no cheese"[1]) would that be?

This is what I got:

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

"Good point about the cheese" :-)

I am using Postfix as MDA and LDAP to store the user informations. Courier is working well (IMAP, authdaemon...)

Courier authlib present? Version?

I belive is not present "Beginner stuffs". Only reference to authlib I found was a dirextory that contains:

-rwxr-xr-x 1 root root 18968 Sep 13 09:23 authdaemon -rwxr-xr-x 1 root root 520 Sep 13 09:23 authdaemond -rwxr-xr-x 1 root root 72856 Sep 13 09:23 authdaemond.ldap -rwxr-xr-x 1 root root 52440 Sep 13 09:23 authdaemond.plain drwxr-xr-x 2 root root 4096 Nov 1 16:25 changepwd

I am facing this problem. I set "mailadmin" user to be the owner of mail home directory and handling with virtual and authentication stuffs. But, Maildrop is using the user that received the mail message to try get access at mail home directory, in other words, he can´t get access with this user. I tried a lot of arrangement with the complile options and config stuffs and until now wasn´t able to make It work.

Someone have some clue how to solve It?

grep '^[^#]' authldaprc?

LDAP_SERVER localhost LDAP_PORT 389 LDAP_PROTOCOL_VERSION 3 LDAP_BASEDN ou=Users,dc=cultura,dc=gov,dc=br LDAP_BINDDN cn=replica,dc=cultura,dc=gov,dc=br LDAP_BINDPW teste LDAP_TIMEOUT 15 LDAP_AUTHBIND 1 LDAP_MAIL mail LDAP_DOMAIN cultura.gov.br LDAP_GLOB_UID mailadmin LDAP_GLOB_GID Mail LDAP_HOMEDIR homeDirectory LDAP_MAILDIR mailMessageStore LDAP_FULLNAME cn LDAP_CRYPTPW userPassword LDAP_UID 10010 LDAP_GID 15000 LDAP_DEREF never LDAP_TLS 0

These are the log error when I:

set root as the owner of /usr/bin/maildrop (with setuid)

maildrop[28163]: Unable to change to home directory.

grep '^[^#]' /etc/maildroprc?

#EXTENSION="$1" #RECIPIENT=tolower("$2") ###USER="$3" ###HOST="$4" #SENDER="$5"

###`echo "DEFAULT=$DEFAULT" > /tmp/maildrop.out` ###`echo "HOME=$HOME" >> /tmp/maildrop.out` ###`echo "USER=$USER" >> /tmp/maildrop.out` ###`echo "HOST=$HOST" >> /tmp/maildrop.out`

###USERDIR=/home/data/$USER ###DEFAULT=$USERDIR/Maildir/ ###LOGFILE=$USERDIR/mailfilter.log

###log "--- Delivery to $DEFAULT ----" ###to "$DEFAULT"

FROM="$USER@$DOMAIN" to "$DEFAULT"

I´m not set spam stuffs so far, I´m not using this file because I guess there is a problem here too.

and this with the mailadmin set.

maildrop[28183]: Cannot set my user or group id.

See above ...

--Tonni

[1] "Ik heb er geen kaas van gegeten" (colloquial Dutch) = "I have no knowledge of anything to do with it".

Thanks,

Sergio