tags 582765 moreinfo thanks Re: Helge Kreutzmann 2010-05-24 <20100524094640.ga15...@debian-50-lenny-64-minimal> > On Sun, May 23, 2010 at 02:02:55PM +0100, Stephen Gran wrote: > > CC'ing the person who sent the mail that made me notice (not that it's > > their fault, but I figure they may want to know that they are generating > > wrong headers). > > Thanks for pointing this out. I had a quick look (well, muttrc(5) is > quite large) but could not find how to rectify this. I assume that the > boundary fields are somehow derived from the environment? I'd like to > send correct e-mails and it would be great if you could point me how > to work around this until a proper patch is included in mutt (probably > not before Squeeze, I assume).
Weird. The only place where the boundary is set should be the following in sendlib.c: #define BOUNDARYLEN 16 void mutt_generate_boundary (PARAMETER **parm) { char rs[BOUNDARYLEN + 1]; char *p = rs; int i; rs[BOUNDARYLEN] = 0; for (i=0;i<BOUNDARYLEN;i++) *p++ = B64Chars[LRAND() % sizeof (B64Chars)]; *p = 0; mutt_set_parameter ("boundary", rs, parm); } That's hardcoded to 16 base64 chars. I'd tend to blame some intermediate MTA to rewrite the boundaries, but that's a rough guess. Helge, could you post your muttrc somewhere? Christoph -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: Digital signature