[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-anubis] add header[] puts headers in body

From: Paolo
Subject: Re: [bug-anubis] add header[] puts headers in body
Date: Thu, 16 Sep 2004 17:56:04 +0200
User-agent: Mutt/1.3.28i

On Mon, Sep 13, 2004 at 08:26:31PM +0200, WojciechPolak wrote:
> On Sun, 05 Sep 2004 16:24:45 +0200 Paolo wrote:
> Once again I tested the old msg2smtp.pl and couldn't find
> any problems with it (while sending one or more emails,
> including those with Cc: and Bcc:), but I only tested it
> with Mutt 1.3.x.

my tests are on Debian Woody, MUA is Mutt 1.3.28i (2002-03-13), MTA is
masqmail 0.2.20 +resolver +smtp-server +pop3 +auth +maildir +ident

> > Meanwhile, pls see attached corrected patch for msg2smtp.pl:
> >
> >    Then if MTA doesn't strip off Bcc:, that'd be like a Cc:
> >    Patch adds code to strip away Bcc: headers anyway
> This is an MTA's task.

yes and no: Mutt doesn't write Bcc: line in 'DATA', so MTA need not care 
of it; also if TO/CC/BCC destinees are read from TO/CC/BCC lines from
stdin by MTA, then MTA strips away BCC:, but Anubis talks to MTA via 
socket and feeds it whole msg in DATA, hence any BCC: lines goes through
untouched. While you may have no problems with normal msg handling with
Mutt, I've found msg2smtp.pl handy for eg webmail-anubis-mta, so those few
lines is an extra safty check, and doesn't hurt anyway.

Also, old msg2smtp.pl doesn't work with bouncing, since it reads recipients
from TO/CC/BCC lines, while Mutt puts intended destinees on cmd lines (it
expects the $sendmail prg act like 'sendmail -oem -oi -- rcpt1 rcpt2 ...)

> >  - Local mail may have non-fq addresses, so '@localhost' is added as default
> >    if '@' isn't found in address.
> Like the above.

probably; indeed, msgs I send through Anubis with TO/BCC/CC lines with no 
domain comes in as @myisp.domain, which might be as useless as @localhost
for the recipient.
But if I drop @domain from recipients, Mutt+MTA works while Mutt+Anubis+MTA
fails - MTA complains for not fqn on destination, hence the other part of 
the hack.

> > ---><---
> > 
> > I've stumbled on another couple issues, for 'modify' command:
> > 
> > 1. I'm having troubles to convince 'modify body' work as I understood it.
> The `modify body' modifies message body, not mail header's RHS.
> See 
> [10]http://www.gnu.org/software/anubis/manual/html_node/anubis_40.html#SEC5

right, I was talking about that, and that's where the problem is - but pls see 
next msg as this is another topic, and I already wrongly mixed them in 
original posting.

-- paolo
 GPG/PGP id:0x21426690 kfp:EDFB 0103 A8D8 4180 8AB5  D59E 9771 0F28 2142 6690

reply via email to

[Prev in Thread] Current Thread [Next in Thread]