you could store spam (compressed) for users who have opted to turn on
filter to a sql database which they can then view in the 'spam hold' area
and have delivered or deleted if they so desire.

simplified example:

:0 iW
* FILTER ?? yes
* ^X-Spam-Status: Yes
| /usr/bin/spamstore.pl ${LOGNAME} ${FROM} || exit 75


#!/usr/local/bin/perl

use DBI();
use Compress::Bzip2

$mailbox=$ARGV[0];
$sender=$ARGV[1];

while (<STDIN>){$source=$source .= $_;}
$dest = Compress::Bzip2::compress($source);

$dbh = DBI->connect("DBI:mysql:$database",....{ RaiseError => $errflag,
$statement="insert into spamstore (mailbox,sender,email,..,..) values(?,?,?,?,?,?,?)";
$sth = $dbh->prepare($statement) || ... return error
$sth->execute($mailbox,$sender,....,$dest) || .. return error



On Sat, 18 May 2002, Igor
Demi wrote:

>
> Hi everyone
>
> Can spam assasin be configured so that if it rejects email (spam) it
> forwards it to specific account or can I get some info about rejected
> mails?
>
> Thanks
> --
> Mr. Igor Demi
>
> SOT Finnish Software Engineering Ltd.
> Kreutzwaldi 7-4, 10124, Tallinn, Estonia
>
> Phone:        +372 641 9975
> Fax:          +372 641 9876
> Mobile:       +372 55 699 683
> E-mail:       [EMAIL PROTECTED]
> WWW:  http://www.sot.com
>
>
> _______________________________________________________________
> Hundreds of nodes, one monster rendering program.
> Now that's a super model! Visit http://clustering.foundries.sf.net/
>
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>


_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to