You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by martin <ma...@excite.com> on 2006/05/04 08:27:59 UTC
drop spam mail by user pref
Dear all,
spamd/spamc can had a user pref. file for user defined socring/white list etc,
and using milter (spamass-milter) to control drop the spam mail or not.
my question is, can drop the spam mail based on user pref. file? e.g. some
user can decide to drop [marked] spam email, while other can still receive those
emails and filtering himself/herself.
from man page, i found spamass-milter can use -u defaultuser to do some user
pref. action, but seem just passing to spamc.
so, is it possiable to drop mail based on user pref?
thx
Re: drop spam mail by user pref
Posted by martin <ma...@excite.com>.
> > Matt Kettler <mkettler_sa <at> comcast.net> writes:
> One way to achieve your desired goal would be to have SA tag the
> messages at the MTA level and then craft your delivery agent
> (EG procmail) to parse the SA headers and take action at
> delivery time to drop a message or route it to a spam-bin folder
> for each of the individual recipients.
>
> We use a system that is structured that way. Thus I can SMTP reject
> very high scoring spam and let the users decide what they want in
> their INBOX or 'spam-bin' for what's left over.
>
thx for fast reply.
is procmail helpful in a system that only using sendmail for income/outgo email
and pop3 service (no imap) for user recv. email?
Re: drop spam mail by user pref
Posted by David B Funk <db...@engineering.uiowa.edu>.
On Tue, 9 May 2006, martin wrote:
> Matt Kettler <mkettler_sa <at> comcast.net> writes:
> > >
> > SpamAssassin cannot be configured to drop mail at all.
> >
> > Based on how SA integrates into the mail chain it can only modify the
> > contents of the message. It has no ability to delete or alter message
> > delivery.
> i understood this, so just want to ask any milter like interface (e.g
> MailScanner, spamass-milter etc) can do such thing (not globally drop mail, but
> based on user config)?
>
> thx a lot
per-user prefs functions are best done at the delivery stage
(EG procmail).
milter like interfaces fit into the MTA chain and
thus operate on the message before delivery. At that stage a message
may have multiple recipients and thus you cannot identify one
paritcular user. (IE SA gets a single message that may have many
recipients so which user's prefs should it use?).
One way to achieve your desired goal would be to have SA tag the
messages at the MTA level and then craft your delivery agent
(EG procmail) to parse the SA headers and take action at
delivery time to drop a message or route it to a spam-bin folder
for each of the individual recipients.
We use a system that is structured that way. Thus I can SMTP reject
very high scoring spam and let the users decide what they want in
their INBOX or 'spam-bin' for what's left over.
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{
Re: drop spam mail by user pref
Posted by martin <ma...@excite.com>.
Matt Kettler <mkettler_sa <at> comcast.net> writes:
> >
> SpamAssassin cannot be configured to drop mail at all.
>
> Based on how SA integrates into the mail chain it can only modify the
> contents of the message. It has no ability to delete or alter message
> delivery.
i understood this, so just want to ask any milter like interface (e.g
MailScanner, spamass-milter etc) can do such thing (not globally drop mail, but
based on user config)?
thx a lot
Re: drop spam mail by user pref
Posted by Matt Kettler <mk...@comcast.net>.
martin wrote:
> Dear all,
> spamd/spamc can had a user pref. file for user defined socring/white list etc,
> and using milter (spamass-milter) to control drop the spam mail or not.
> my question is, can drop the spam mail based on user pref. file? e.g. some
> user can decide to drop [marked] spam email, while other can still receive those
> emails and filtering himself/herself.
>
> from man page, i found spamass-milter can use -u defaultuser to do some user
> pref. action, but seem just passing to spamc.
>
> so, is it possiable to drop mail based on user pref?
> thx
>
SpamAssassin cannot be configured to drop mail at all.
Based on how SA integrates into the mail chain it can only modify the
contents of the message. It has no ability to delete or alter message
delivery.
>
>