If qmailadmin 1.0.23 activates mailfilter in the .qmail file of an account
like
"|/var/qmail/bin/preline /usr/bin/maildrop /www/vpopmail/etc/mailfilter"
And you're using ONE SINGLE mailfilter file for ALL domains specified like
the following:
--------- mailfilter --------------
SHELL="/bin/sh"
import EXT
import HOST
VPOP="| /www/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/www/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
logfile "mailfilter.log"
if ( $VHOME eq "" )
{
log "========"
log "ERROR: VHOME isn't set!"
to "$VPOP"
}
else
{
if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
}
}
if (/^X-Spam-Flag: *YES/)
{
exception {
include $VHOME/Maildir/.mailfilter
}
`test -d $VHOME/Maildir/.Spam`
if( $RETURNCODE == 1)
{
`maildirmake -f Spam $VHOME/Maildir`
}
exception {
to "$VHOME/Maildir/.Spam/"
}
}
exception {
include $VHOME/Maildir/.mailfilter
}
# default delivery
exception {
to "$VHOME/Maildir/"
}
}
------END of mailfilter ------------
Everything works fine, even forwards (alias).
But if you mark the account as remote catch-all (normal catch-all disables
.qmail processing), all other addresses (except pop accounts and forwards)
are bounced back because VHOME in mailfilter is not specified and the
default VPOP says (... bounce-no-mailbox").
BTW the .qmail-default file contains "| /www/vpopmail/bin/vdelivermail ''
thisaccount(at)domain.xy".
Has anyone solved this? How do I use the spam protection feature of
qmailadmin 1.0.23 at a catch-all account with one single mailfilter file for
all domains?
So, I think it should not be possible to select an account as catch-all if
spam protection is enabled. Or there should be a warning message at least.
Perhaps it would be possible to do a work-around by reading the
.qmail-default file for VPOP in mailfilter.
Vpopmail 5.3.20
Maildrop 1.5.3
Qmailadmin 1.0.23
Dino Tsoumakis
http://www.tsoumakis.de
[EMAIL PROTECTED]