OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: dspam/maildrop problem.

From: Jeremy May (jeremyrootservices.net)
Date: Mon Jan 03 2005 - 08:39:06 CST


Ok now i got another problem.

any maildrop ppl on the list?

i compiled it in but this shows it is not.

maildrop 1.8.0 Copyright 1998-2004 Double Precision, Inc.
Maildir quota extension enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.

compile options:
export CPPFLAGS="-I/usr/include/mysql"
export LDFLAGS="-L/usr/lib"
export USE="mysql"
./configure --prefix=/usr/ --enable-maildirquota --enable-maildropmysql
--with-mysqlconfig=/etc/courier/maildropmysql.cf --enable-maildrop-uid=101
--enable-maildrop-gid=101 --enable-authlib

so my question is how do i get it to include the mysql features. the
install file dont really help much.

--jeremy

<quote who="Magnus Bäck">
> On Sunday, January 02, 2005 at 23:03 CET,
> Jeremy May <jeremyrootservices.net> wrote:
>
>> <quote who="Magnus Bäck">
>> > On Sunday, January 02, 2005 at 22:47 CET,
>> > Jeremy May <jeremyrootservices.net> wrote:
>> >
>> >> transport_maps = mysql:/etc/postfix/mysql-transport.cf
>> >
>> > [...]
>> >
>> >> virtual_transport = dspam
>> >> virtual_uid_maps = static:2000
>
> [...]
>
>> > What is the output of the following command?
>> >
>> > postmap -q rootservices.net mysql:/etc/postfix/mysql-transport.cf
>>
>> [Sun Jan 2][rootmorpheus][/etc/postfix]$ postmap -q rootservices.net
>> mysql:/etc/postfix/mysql-transport.cf
>> virtual
>
> As I suspected, you override your virtual_transport setting with
> transport_maps. Stop that, and unless you have very good reasons
> you should not use the potentially high-latency mysql table type
> for transport_maps. Any delays will delay delivery of all messages.
> Since Postfix 2.0, transport_maps is no longer needed for virtual
> mailbox domains.
>
> --
> Magnus Bäck
> magnusdsek.lth.se
>