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:mouss (mou@netoyen.net)
Date:Mar 25, 2006 6:57:38 am
List:net.sourceforge.lists.courier-maildrop

Num ber wrote:

./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...

And also with administrateur (at) soez, wemaster, test and demo account try with the user specified in master.cf.

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

ahuh?

# 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.

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).

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. - 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).

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).

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!

J'suis étudiant en informatique, et serieusement, j'suis en admiration ... Le monde de linux est assez récent pour moi et c'est tellement bien :p )

I actually run NetBSD. but that's not very important.