hello i new in the forum.
i use spamassassin at my work
all the spam are quarantined to /var/lib/spamassassin/virusmail
sometime people say that the server is qurantined a good e-mail
i need to to send a copy all of the spam to an account like
spam@mydomain.com
and if i have to retrieve the spam i can from this account
i try many possibilities but they don't work
my little script :
cd /var/lib/amavis/virusmail
gzip -d spam-*
ls spam-* > list.txt
sendmail -bm
spam@mydomain.com < `cat list.txt`
or
sendmail -bm
spam@mydomain.com < `ls spam-*`
or
sendmail
spam@mydomain.com < -exec ls spam-* {} \;
have you an idea ???
thank you
Max