Hi,

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:
_________________________________________________________
#MFMAILDROP=2
#
# DO NOT EDIT THIS FILE.  This is an automatically generated filter.

MAILDIRQUOTA="1000000000S"
FROM='[EMAIL PROTECTED]'
import SENDER
if ($SENDER eq "")
{
 SENDER=$FROM
}

##Op:contains
##Header:
##Value:teste
##Folder:*Seu email contem teste
##From:
##PlainString
##Body
##Name: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
www.computeasy.com.br
BSD USER BSD050945
ICQ 72293951


Reply via email to