Re: [maildropl] maildrop&mysql
Brought to you by:
mrsam
|
From: Martin List-P. <ma...@li...> - 2002-01-14 15:14:55
|
I user the following options for my setup (Debian Woody, Postfix,
Courier-IMAP & POP3, Maildrop, MySQL)
./configure --prefix=/usr --mandir='${prefix}/share/man' \
--libexecdir='${prefix}/lib/maildrop' \
--with-default-maildrop=./Maildir/. \
--enable-use-dotlock=1 --enable-use-flock=0 \
--enable-sendmail=/usr/sbin/sendmail --enable-maildirquota \
--with-etcdir=/etc/maildrop --enable-maildropmysql \
--with-mysqlconfig=/etc/maildrop/maildropmysql.config \
--with-ldapconfig=/etc/maildrop/maildropldap.config \
--enable-restrict-trusted=0
--enable-restrict-trusted has to be taken carefully, whatever what way your
system fits best you also can specify trusted-users.
The following is in my master.cf in postfix:
maildrop unix - n n - - pipe
flags=R user=mail argv=/usr/bin/maildrop -V9 -d ${user}
Which works fine.
Regards,
Martin List-Petersen
ma...@li...
http://www.marlow.dk
----- Original Message -----
From: "Deim Agoston" <ag...@id...>
To: "Maildrop list" <cou...@li...>
Sent: Monday, January 14, 2002 4:12 PM
Subject: [maildropl] maildrop&mysql
> Hello!
>
> I wanted to configure maildrop to use mysql for client accounts.
> I also want to use postfix as MTA, so I configured it as before
> with maildrop+userdb. The later setup worked fine but now I want
> (have) to work with MySQL. So I setup everything as before:
> added the domain topostfix's transport map and regenaretd it's
> binary format. Reloaded the postfix configuration. And sent a letter.
> It goes to the pipe daemon of postfix and passes it to maildrop,
> but maildrop says there's no such user and the status of the mail
> is deferred. Eventually I will use a patch previously posted by a
gentleman
> to the list which replaces EX_TEMPFAIL to EX_NOUSER. (I will explain
> why I want to do it instead of looking up the username at RCPT TO
> command, but in the next letter.) I followed the lines in
> maildropmysql.config, it's under /etc and I use the right
> column names. I set up Courier-IMAP with MySQL before so
> it was easy to do. But I still cannot send mail to users in
> the db. The OS is Debian GNU/Linux Woody. When I compiled
> Courier-IMAP on the machine I had to use -L/usr/lib -lmysqlclient -lz -lm
> because the MySQL was copiled with libz support in it.
> Maybe the maildrop makefile doesn't use -lz and that's the
> problem. If anybody hs any idea than send reply. Thanks,
> Ago
>
> _______________________________________________
> Courier-maildrop mailing list
> Cou...@li...
> https://lists.sourceforge.net/lists/listinfo/courier-maildrop
>
|