Hi Mark, one couple of last questions, - Does msg.get('x-spam-flag') reads the email header or does it reads a status/property that is from mailman? - how do I create a new configuration option? Just tell what directory to read ;) I'm planning adding this option: send_bounced_email_to_owner = never | ifnotspam | always
Many thanks for your help Oliver Mark Sapiro wrote: > you need something like > > if msg.get('x-spam-flag') <> 'YES': > nmsg.attach(MIMEMessage(msg)) > -- Oliver Schulze L. <[EMAIL PROTECTED]> ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp