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 23, 2006 11:19:41 am
List:net.sourceforge.lists.courier-maildrop

Before you respond i'm try it alone ...

I have now recompiled maildrop with this :

./configure --enable-maildropmysql --enable-maildirquota --with-devel --with-mysqlconfig=/etc/maildropmysql.cf

id address crypt clear name uid gid home domain maildir imapok bool1 bool2 1 nu@domaine.be 123456 "" 500 500 /var/spool/postfix/virtual/ domaine.be /var/spool/postfix/virtual/domaine.be/num/Maildir/ 1 1 1

You can see here my users table in Postfix database

(Where to add the request for mysql ?)

And i have this on maildropmysql.cf :

____________________________________________ hostname localhost database Postfix dbuser xxxxx dbpw xxxxxx dbtable users default_uidnumber 500 default_gidnumber 500 uid_field address uidnumber_field uid gidnumber_field gid maildir_field maildir homedirectory_field home

____________________________________________

And with maildrop -v i have this :

[number@numberfixe ~]$ maildrop -v maildrop 2.0.2 Copyright 1998-2005 Double Precision, Inc. GDBM extensions enabled. Maildir quota extension enabled. This program is distributed under the terms of the GNU General Public License. See COPYING for additional information.

But when i do maildrop -d te@domaine.be i always have this : "Invalid user specified." and in maillog : status=bounced (user unknown. Command output: Invalid user specified. )

Why ? :-(

And to finish, what i need to write in maildroprc ?

____________________________________________________________- # Set the default mailbox. DEFAULT="$HOME/Maildir"

# Set the default shell. SHELL="/bin/ash"

maildirmake=/usr/local/bin/maildirmake MAILDIR=$DEFAULT JUNK_FOLDER=.Junk

_JUNK_DEST=$MAILDIR/$JUNK_FOLDER/

#automatically create the Junk folder `test -d $_JUNK_DEST` if ($RETURNCODE != 0 ) { `$maildirmake $_JUNK_DEST` # auto subscribe. the following works for courier-imap #`echo INBOX.Junk >> $MAILDIR/courierimapsubscribed` } ... if (/^X-Spam-Flag:\s*YES/) { exception { to "$_JUNK_DEST"; } }

if (/^X-Sender: numb@hotmail.com/) { exception { to "$MAILDIR/.Trash"; } }

it's correct ? (number_85_ it's only there for test :)

Many thanks and good evening all