X-Mozilla-Status

Julian Field mailscanner at ecs.soton.ac.uk
Fri Sep 3 11:21:44 IST 2004


<x-flowed>
At 10:44 03/09/2004, you wrote:
>Martin Sapsed wrote:
>>>>Unfortunately, some spammers puts these two headers into spam:
>>>>X-Mozilla-Status:
>>>>X-Mozilla-Status2:
>>>>Can mailscanner remove those two headers from all
>>>>processed e-mails?
>>Unless I'm much mistaken that's a job for your MTA - sendmail, postfix
>>or whatever...?
>I'm using sendmail. I've search on google and i did find nothing that
>could help
>solving my problem.
>I see that MIMEDefang is able to remove headers:
>
>action_delete_header($hdr, $index) - Deletes an existing header in the
>message.
>This can be used in filter_begin or filter_end. The $hdr parameter is the
>header
>name without the colon. The $index parameter is optional; it defaults to 1. If
>you supply it, then the $index'th occurrence of the header is deleted, if
>there
>is more than one header with the same name.
>
>But does installing MIMEDefang only to remove 2 headers make sense?

I have just added a setting

Remove These Headers

so that you can specify a list of headers which you want removed from all
messages. This can of course be a ruleset so you could use it to delete all
x-mozilla-status and x-mozilla-status2 headers from incoming mail.

A good use for it would be to automatically remove receipt requests from
any incoming mail, so you don't reveal information about your staff and who
is currently at work reading their mail.

The comment that goes with it is:

# If any of these headers are included in a a message, they will be deleted.
# This is very useful for removing return-receipt requests and any headers
# which mean special things to your email client application, such as
# X-Mozilla-Status.
# Each header should end in a ":", but MailScanner will add it if you forget.
# Headers should be separated by commas or spaces.
# This can also be the filename of a ruleset.

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list