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 ) -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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