[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Maildrop drama with virtual domains



Hi all,
 
Maildrop is giving me a huge headache....
 
I´m on sarge Linux impala 2.6.8-1-686-smp #1 SMP Thu Nov 25 04:55:00 UTC 2004 i686 GNU/Linux
 
I've compiled maildrop with
 
./configure \
--enable-maildirquota \
--prefix=/usr \
--enable-maildropmysql \
--with-mysqlconfig=/etc/maildrop/maildropmysql.conf \
--enable-maildrop-uid=1001 \
--enable-maildrop-gid=1001
 
# tree -gau /home/vmail displays:
 
/home/vmail
`-- [700      vmail   ]  validmysqldomain.com
    `-- [700      vmail   ]  validmysqluser
        `-- [700      vmail   ]  Maildir
            |-- [700      vmail   ]  cur
            |-- [700      vmail   ]  new
            `-- [700      vmail   ]  tmp
my /etc/maildrop/maildropmysql.conf
 
hostname             127.0.0.1
port                 3306
database             postfix
dbuser               postfix
dbpw                 xxxxxx
dbtable              postfix_users
default_uidnumber    1001
default_gidnumber    1001
uid_field            email
uidnumber_field      uid
gidnumber_field      gid
maildir_field        maildir
homedirectory_field  homedir
quota_field          quota
mailstatus_field     postfix
where_clause         AND postfix = 'y'
 
my /etc/maildroprc
 
if ( $SIZE < 26144 )
{
exception {
xfilter "/usr/bin/spamassassin"
}
}
if (/^X-Spam-Flag: *YES/)
{
exception {
to "$HOME/$DEFAULT/.Spam/"
}
}
else
{
exception {
to "$HOME/$DEFAULT"
}
}
# ls -shla /etc/maildroprc displays

1.0K -rwxrwxrwx  1 vmail vmail 185 2005-01-03 18:34 maildroprc
 
My problem is:
 
# maildrop -v displays:
 
maildrop 1.6.3 Copyright 1998-2003 Double Precision, Inc.
Maildir quota extension enabled.
Virtual user database via MySQL extension enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.

 
# echo "teste" | maildrop -V -d validmysqluser@validmysqldomain.com displays:
maildrop: Unable to open filter file, errno=2.
 
# echo "oi" | maildrop -d validmysqluser@validmysqldomain.com displays:
maildrop: Unable to change to home directory.

What the hell i´m doing wrong?
 
Thanks in advance
 
Guilherme B. Viebig
 
 

Reply to: