[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    [pfx] Re: long header folding and DKIM fails
From:       Tim Coote via Postfix-users <postfix-users () postfix ! org>
Date:       2024-05-03 15:52:46
Message-ID: 3999CA37-AAF9-4643-9CD4-3F8420C90B2B () coote ! org
[Download RAW message or body]

Further investigation showed that the issue is in Python 2.7's `email` module.  \
Although this is out of support, I'd expect some to be lying around and thought it \
worth mentioning to this group. Specifically, `email.Message.__str__()`. It seems ok \
in python3



> On 2 May 2024, at 12:53, Tim Coote via Postfix-users <postfix-users@postfix.org> \
> wrote: 
> I think that I've now fixed this in my domain, so I thought I'd just note the route \
> to finding it, more as a comment on the complexity of working out what's going on. 
> After making a simple robot to send emails with long headers and demonstrating how \
> they broke in my production environment, I rebuilt that env on a Vagrant box. It \
> worked properly (ie it didn't replace "," with ",<cr><lf><space>") until I'd added \
> in the old spambayes filter that I'd been ‘using'. 
> Removing Spambayes fixed the issue. Dunno whether this will have an effect on the \
> amount of spam, but I suspect that it hadn't done anything useful for some time. 
> What would have helped - and I've no idea how feasible this is - would be some \
> tooling to pull out different versions of the message as they flow through the \
> queues. 
> Interesting how long latent bugs can lie around, isn't it?
> 
> Tim



_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-leave@postfix.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic