W dniu 27.07.2010 15:09, Marcin Mirosław pisze:
I'm going to do it in this way:
# here i'd like to remove some headers
........
# check mail with dpsam
warn
message = ${run{/usr/local/bin/dspam-wrapper.sh
${spool_directory}/scan/${message_id}/${message_id}.eml }{$value}{$value}}
# and i want to reuse headers generated by dspam in SA
warn
message = X-Spam-Report:$spam_report
spam = nobody:true
cat wrapper:
#!/bin/sh
/usr/bin/dspamc --client --mode=teft --user mail --stdout
--deliver=spam,innocent <"$1" | formail -X "x-dspam"
I don't know how to remove headers at acl_data time (i'd like to remove
foreign dspam headers). System filter works at deliver time,
"headers_remove" is used in routers and transport, it's too late.
Regards,
Marcin
--
xmpp (jabber): marcin@???