I have 2 spam commands available to users currently and don't let them
use qmailadmin for this reason. It is modified right now by our staff.
in my perfect world clicking one of the check boxen would do this
stick this in their .qmail file
|preline /usr/local/bin/maildrop /home/vpopmail/etc/mailfilter-id
###############mailfilter-id contents############################
SHELL=/bin/bash
VMAILDIR="$PWD/Maildir/"
USERNAME=`echo ${PWD##*/}`
USERHOST=`PWDTMP=${PWD%/*}; echo ${PWDTMP##*/}`
# run through SpamAssassin (if less than the specified size)
xfilter "/usr/bin/spamc -u [EMAIL PROTECTED]"
# if it falls through to here, just put it in their inbox
to "$VMAILDIR"
#################################################################
it scans for spam with spamc/spamd and then tags the message subject
with a [SPAM!] prefix and sticks it into their regular maildir
so that they can sort it or filter it easily and as they see fit.
and the other would do this
|preline /usr/local/bin/maildrop /home/vpopmail/etc/mailfilter-qa
#####################mailfilter-qa contents#######################
SHELL=/bin/bash
VMAILDIR="$PWD/Maildir/"
USERNAME=`echo ${PWD##*/}`
USERHOST=`PWDTMP=${PWD%/*}; echo ${PWDTMP##*/}`
# run through SpamAssassin (if less than the specified size)
xfilter "/usr/bin/spamc -u [EMAIL PROTECTED]"
# if it falls through to here, just put it in their inbox
if (/^X-Spam-Flag: *YES/)
{
exception {
to "[EMAIL PROTECTED]"
}
}
else
{
exception {
to "$VMAILDIR"
}
}
###################################################################
it scans for mail with spamc/spamd and then if the spamflag comes back
from spamc as yes it forwards it to a quarantine box that they can check
via webmail instead of putting it in their maildir on a machine
that way mail isn't just deleted but it doesn't end up being delivered
to them at all. And if someone says they missed an important message
they can still go back and forward a message back to their regular
mailbox.
I would just like qmailadmin to be able to toggle between these
I call them filter and identify
On Thu, 2004-01-08 at 16:32, Rick Widmer wrote:
> >the only thing on my wish list is what I mentioned here already ...
> >
> > I would like to be able to specify 2 spam commands in qmailadmin
> > 2 checkboxes one that could be labeled filter and one that could be
> > labeled identify.
> >
> > this is so that my users could have the option of having their mail
> > sent to a quarantine box and never recieving it in their inbox
> > and one for people that just want the spam to be tagged and delivered
> > so that they can split it out in mailfolders for themselves with es
> > rules on their mail client.
>
>
> What does this do? Change the contents of the .qmail file?
>
> Does it have to be customized for each user?
>
> Can you send examples of the desired output in each state?
>
> Are you SURE no one will ever need more than two choices?
>
>
> Rick
>
>
>
>
>
--
Thanks,
David Rodgers
------------------------------------------------
SCO aka The Santa Claus Operation
If you believe in them you'll believe anything!