Thanks Daniel for the hints. :)

> > By default SA attaches suspected SPAM mails in non text/plain format as
> > "Content-Disposition: attached", which means for me, that the mail only
> > is displayed when I willingly click a button.
> > 
> > This is very inconvenient for quickly scanning the SPAM mails for false
> > positives. As I setup my MUA to not download images and no scripts will
> > be executed, I don't mind these SPAM mails being displayed. So, here is
> > the question:
> >
> > Is it possible, to set "Content-Disposition: inline" for all SPAM mails,
> > regardless of their content?
> 
> You could just shut off safe reporting if you trust your MUA, just put
> "report_safe 0" in your user_prefs.

Not really what I want, cause this even will drop the informative clear
text part with the triggered rules. They can be very useful.


> > Can SA do this for me, or would I have to rewrite the message? Any hints
> > welcome. SA feature I just overlooked? Procmail recipe?
> 
> Well, you could write a script and pipe the SpamAssassin output through
> it in procmail.  You'd want to be careful to only change the SA
> Content-Disposition, but that's possible.  Or you could just modify the
> source in PerMsgStatus.pm.  Look for '$disposition = $inline";'

Sure, I can write that script and hook it up to my procmail recipe. In
fact, that was the only solution I could think of, but I hoped I just
overlooked an option.

I will do this, if I don't find a better solution.


PerMsgStatus.pm: Yeah, that's a good one, thanks. I am not afraid of
messing around with the SA source code.

But as I said, I am using spamd/spamc. Is this perl module really
evaluated by spamd on startup?


> Note that "inline" is used (in 2.60, I don't remember what 2.55 did) if
> the message is lacking a Content-Type: header or the Content-Type:
> header is text/plain.

Seems to behave the same, from a quick glance.

...guenther


-- 
char *t="[EMAIL PROTECTED]";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to