Thank you for your support. I have changed the regexp to
^X-Mailer: (?!Microsoft Outlook .*).*$
and I will watch for the next emails. I will also watch for the logs for
a few days, then revert back to original file.
Thanks
On 02/12/2013 08:37 AM, Mark Sapiro wrote:
METU E-List Admin wrote:
--------------------------------------------
$ bin/config_list -o - REGISTER | grep -A20 header_filter_rules
header_filter_rules = [('^X-Mailer: (?!Microsoft Outlook .*)$', 7,
This regexp won't work. The negative lookahead does not advance the
current position so your regexp says look for 'X-Mailer: ' at the
beginning of the line not followed by 'Microsoft Outlook .*' but
followed immediately by the end of the line, so it will only match a
header like 'X-Mailer: ' not followed by anything.
What you want is
^X-Mailer: (?!Microsoft Outlook .*).*$
or just
^X-Mailer: (?!Microsoft Outlook .*)
or maybe even just
^X-Mailer: (?!Microsoft Outlook )
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org