[SA-exim] report_safe

Robert Kehl mailinglists at robertkehl.de
Wed Sep 17 10:31:29 PDT 2003


Hi all!

I once had it, I think, but now it's gone:

What are the correct settings to have spamassassin defang *every* spam
mail, so I can view the spam contents safely as text/plain in the body
of the mail.

I can manage to add the message as a text/plain attachement, but would
like to have the defanged text in the body itself. This is not the case
with arriving text/html message, although the attachement shows a
correctly defanged text/plain version...

System: Mandrake 9.1
exim 4.22, sa-exim 3.1, localscan_dlopen-patch
SA 2.55

/etc/mail/spamassassin/10_local.cf:
rewrite_subject         1
#fold_headers           1
#spam_level_stars       1
spam_level_char         >
subject_tag             *****SPAM*****
report_header           0
use_terse_report        0
report_safe             2
defang_mime             1
^^^^^^ tried with and without

sa-exim.conf:
SAEximDebug: 1
SAspamcpath: /usr/bin/spamc
SAEximRunCond: ${if !eq {$h_X-SA-Do-Not-Run:}{Yes} {1}{0}}
SAEximRejCond: ${if !eq {$h_X-SA-Do-Not-Rej:}{Yes} {1}{0}}
SAmaxbody: 1048576
SATruncBodyCond: 0
SARewriteBody: 1
SAPrependArchiveWithFrom: 1
SAmaxarchivebody: 20971520
SAerrmaxarchivebody: 1073741824
SAmaxrcptlistlength: 0
SAaddSAEheaderBeforeSA: 1
SAtimeoutsave: /var/spool/exim/SAtimeoutsave
SAtimeoutSavCond: 1
SAerrorsave: /var/spool/exim/SAerrorsave
SAerrorSavCond: 1
SAteergrube: 10.0
SAteergrubecond: ${if and { {!eq {$sender_host_address}{127.0.0.1}} {!eq
{${substr_0_12:$sender_host_address}}{192.168.100.}} } {1}{0}}
SAteergrubetime: 900
SAteergrubeSavCond: 1
SAteergrubesave: /var/spool/exim/SAteergrube
SAteergrubeoverwrite: 1
SAdevnull: 2000.0
SAdevnullSavCond: 1
SAdevnullsave: /var/spool/exim/SAdevnull
SApermreject: 1800.0
SApermrejectSavCond: 1
SApermrejectsave: /var/spool/exim/SApermreject
SAtempreject: 1900.0
SAtemprejectonerror: 0
SAtemprejectSavCond: 1
SAtemprejectsave: /var/spool/exim/SAtempreject
SAtemprejectoverwrite: 1
SAspamacceptsave: /var/spool/exim/SAspamaccept
SAspamacceptSavCond: 0
SAnotspamsave: /var/spool/exim/SAnotspam
SAnotspamSavCond: 0
SAmsgteergrubewait: wait for more output
SAmsgteergruberej: Please try again later
SAmsgpermrej: Permanently rejected
SAmsgtemprej: Please try again later
SAmsgerror: Temporary local error while processing message, please
contact postmaster

Thanks in advance for any answer to this question,

Robert Kehl




More information about the SA-Exim mailing list