Hi Alf,

first replace the .qmail-default in the <domain> subdirectory file 
with the following:

| /usr/bin/maildrop .mailfilter


Then specify a .mailfilter file with the following content:

# domain wide mailfilter - searches for user-specific mailfilters
VPOP="|/home/popboxes/bin/vdelivermail '' 
bounce-no-mailbox"
VHOME=`/home/popboxes/bin/vuserinfo -d $EXT@$HOST`

`test -d $VHOME/Maildir` 
if ( $RETURNCODE == 1 )
 {echo "Sorry, no mailbox here by that name. (#5.1.1)"
EXITCODE=100
exit
}
`test -f $VHOME/Maildir/mailfilter`
if ( $RETURNCODE == 0 )
{
  include $VHOME/Maildir/mailfilter
}
to "$VPOP"
exit

Finally you need a maildirfilterconfig file in the users Maildir
eg. <domain><user>/Maildir  with the following content:

# MAILDIRFILTER is path/name of the mailfilter file
#               relative to a users Maildir directory
# MAILDIR       is the path to a users Maildir directory
#               from the .mailfilter file for the domain
# 21.10.2002    B.Plagge, First Choice Internet Ltd, Tokyo
MAILDIRFILTER=mailfilter
MAILDIR=$VHOME/Maildir

Regards,

Bernd


Alfredo Daniel 
Rezinovskyさんの<001a01c2d763$8723ce00$0500000a@52346ba573c50>から
>Anyone has a succeded installation of maildrop suppont under sqwebmail when
>using vpopmail ?
>
>--
>Alfrenovsky
>
>

-- 
bp mailto:[EMAIL PROTECTED]


Reply via email to