11 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] [Courier-maildrop] Po...
FromSent OnAttachments
Num berMar 23, 2006 9:35 am 
Num berMar 23, 2006 11:19 am 
Num berMar 24, 2006 4:37 am 
moussMar 24, 2006 3:39 pm 
Num berMar 25, 2006 4:24 am 
moussMar 25, 2006 5:04 am 
Num berMar 25, 2006 6:21 am 
moussMar 25, 2006 6:57 am 
Num berMar 25, 2006 8:19 am 
moussMar 25, 2006 3:46 pm 
Num berMay 10, 2006 5:54 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] [Courier-maildrop] Postfix + Mysql and Maildrop ??Actions...
From:Num ber (numb@hotmail.com)
Date:Mar 25, 2006 8:19:39 am
List:net.sourceforge.lists.courier-maildrop

./configure --enable-maildropmysql --enable-auth-lib

try adding options for trusted users and groups . for example: --enable-trusted-users=root --enable-trusted-groups=mail adjust as necessary.

I use postfix user for postfix, and the Maildir have number right.. and 777 chmod.. And courier, run with root right..

the chmod is bad. you don't want any process to alter your mail store...

Yes i know, but i'm only want to test the mailserver.. the right was stored in mysql (uid and gid) and when all work, i can use a different chmod But before, i would like to see if all work good..

And also with administrateur (at) soez, wemaster, test and demo account

try with the user specified in master.cf.

The user is vmail.. They was on the mail group

For configure i dont know where i can find the config option.. All the option you said was not on the ./configure --help...

ahuh?

LoL, sorry i'don't have seen all the config option..

# cd work/maildrop-2.0.1 # ./configure --help |grep trusted --enable-trusted-users='...' specify users allowed to use the -d option --enable-restrict-trusted=1 restrict -d for trusted users only # ./maildrop/configure --help |grep trusted --enable-trusted-users='...' specify users allowed to use the -d option --enable-trusted-groups='...' specify groups allowed to use the -d option --enable-restrict-trusted=1 restrict -d for trusted users only

make sure you got the right sources and the right version.

Maildrop 2.0.2

What does this config do ? Where can i find some info ?

Mine is built via (NetBSD's) pkgsrc. the configure options are

--localstatedir=/var --sysconfdir=/usr/pkg/etc/courier --disable-root-check --enable-unicode --with-trashquota --with-db=db --with-mailuser=courier --with-mailgroup=mail --with-etcdir=/usr/pkg/etc/courier --enable-maildirquota --enable-maildrop-uid=root --enable-maildrop-gid=mail --enable-trusted-users=root\ courier\ qmaild --enable-trusted-groups=mail --enable-syslog=1 --enable-authlib --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man --localstatedir=/var --sysconfdir=/usr/pkg/etc/courier --disable-root-check --enable-unicode --with-trashquota --with-db=db --with-mailuser=courier --with-mailgroup=mail --with-etcdir=/usr/pkg/etc/courier --enable-maildirquota --enable-maildrop-uid=root --enable-maildrop-gid=mail --enable-trusted-users=root courier qmaild --enable-trusted-groups=mail --enable-syslog=1 --enable-authlib --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man

postfix runs maildrop as user=vmail, and vmail is in the mail group (This is specified in /etc/group).

Like me .. But before to use maildrop with postfix, i would like to test.. And for the moment they don't work :-(

Already test : ./configure ./configure --enable-maildropmysql --with-mysqlconfig=/etc/maildropmysql.cf ./configure --enable-maildropmysql --enable-auth-lib ./configure --enable-maildropmysql --enable-auth-lib --enable-trusted-users=root --enable-trusted-groups=postfix

- remove the maildropmysql option. this is too old.

Ok ...

- the postfix user and/or group have nothing to do here. they must solely be used inside postfix. use the group of the "vmail" user (the user used in user= options to run maildrop in master.cf).

Like this :

./configure --enable-auth-lib --enable-trusted-users=root --enable-trusted-groups=vmail

???

I don't understand .. I would like to see in mysql the log file.. But mysql don't start with --log=/home/number/mysql.log parameter .

try with --log=mysql.log instead. but I doubt maildrop is asking authdaemon at all (stop authdaemon and retry).

Thanks, i'm now going to test with the mysql log output (Can i see if authdaemon was asking by maildrop ??)

well, stop or chmod the socket. (make sure to remember the original permissions, so that you can chmod'em back).

the socket : /var/spool/authdaemon/socket ??? It's already done ... And nothing append :-(

Many thanks to all

(Mouss, je sais que tu parles, francais... Je peux savoir ce que tu fais comme travail ?

this is more appropriate offlist!

Oki, merci :-p