Re: [Mailman-Users] DMARC hack

2015-05-28 Thread Mark Sapiro
On 05/28/2015 08:25 AM, Allan Hansen wrote: Hi Stephen, You’re right. AOL does not accept these messages with ‘invalid’ at the end. You’re recommending this: name, addr = parseadder(msg.get('from')) if addr.endswith('aol.com') or addr.endswith('yahoo.com'): # I forget what

Re: [Mailman-Users] DMARC hack

2015-05-28 Thread Allan Hansen
Hi Stephen, You’re right. AOL does not accept these messages with ‘invalid’ at the end. You’re recommending this: name, addr = parseadder(msg.get('from')) if addr.endswith('aol.com') or addr.endswith('yahoo.com'): # I forget what happens if it's a bare address name = %s (%s)

Re: [Mailman-Users] DMARC hack

2015-05-24 Thread Stephen J. Turnbull
Allan Hansen writes: Checking for aol.com and yahoo.com here alone will not work. I have a bunch of other subscribers that have accounts with providers that are owned by Yahoo (mostly) and AOL, but whose addresses are not of this form. Oddly enough, it turns out that they only use DMARC

Re: [Mailman-Users] DMARC hack

2015-05-24 Thread Andrew Hodgson
Allan Hansen wrote: Stephen, Much appreciated. Checking for aol.com and yahoo.com here alone will not work. I have a bunch of other subscribers that have accounts with providers that are owned by Yahoo (mostly) and AOL, but whose addresses are not of this form. I would have to do this for all

Re: [Mailman-Users] DMARC hack

2015-05-24 Thread Allan Hansen
Hi Stephen, Yes, there is a good reason. I’m using Mailman as it came with the OS X Server and am not prepared to replace it. Also, Mailman no longer comes pre-installed on the Apple platform, so I’m basically stuck. This is why I tried the simplest hack I could find. I have 44 busy lists and

Re: [Mailman-Users] DMARC hack

2015-05-24 Thread Allan Hansen
I wonder why then I got a bunch of issues with btopenworld.com, which apparently is Yahoo based. I just checked btopenworld.com with the ‘host’ command and as you say, it has no ‘reject’: $ host -t TXT _dmarc.btopenworld.com _dmarc.btopenworld.com descriptive text v=DMARC1\; p=none\; fo=1\;

Re: [Mailman-Users] DMARC hack

2015-05-24 Thread Mark Sapiro
On 05/24/2015 03:19 PM, Allan Hansen wrote: $ host -t TXT _dmarc.btopenworld.com _dmarc.btopenworld.com descriptive text v=DMARC1\; p=none\; fo=1\; rua=mailto:dmarc...@btinternet.com, mailto:dmarc_...@auth.returnpath.net\;; The domain publishes DMARC p=none. Thus, no ISP should treat a

Re: [Mailman-Users] DMARC hack

2015-05-23 Thread Mark Sapiro
On 05/23/2015 02:45 PM, Allan Hansen wrote: So against my better judgement, I included this hack in Cleanse.py; 22c22 from email.Utils import formataddr, parseaddr — from email.Utils import formataddr 69,74d68 # Added to deal with DMARC issuej name, addrs =