After hours of fight my setup is working:

1) maildrop 1.5.0
2) vpopmail 5.2
3) qmailadmin 1.0.4
4) sqwebmail 3.3.3

I have just one problem:

I dont need to loose the catchall feature of vpopmail, so I cant use a
.qmail-default in the domain dir to instruct qmail to use maildrop. One
possible solution is to keep the .qmail-default untouched, and create a
.qmail-user for every user in the domain, with the following:
| /usr/local/bin/maildrop /etc/maildroprc

and maildroprc
VHOME=`/var/vpopmail/bin/vuserinfo -d $EXT@$HOST`

include $VHOME/Maildir/.mailfilter

the user .mailfilter contains the following:
# DO NOT EDIT THIS FILE.  This is an automatically generated filter.

import SENDER
if ($SENDER eq "")

##Folder:*Seu email contem teste

to "| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox"

This way, I dont loose the vdelivermail features (like quota), and use the
maildrop filtering too. The .mailfilter file is created by the sqwebmail. My
problem is that this way, I will have to create a .qmail-<user> file to
every user in every domain, and maintain this sincronized.... How can I
avoid this? Im thinking in hack qmailadmin, but this is a 'last resort'.

Thanks in advance,

ALMEIDA, Fernando Costa de
Computeasy Informática
ICQ 72293951

Reply via email to