On 19 Mar 2001, at 12:37, Gordon Rowell wrote:

> On Sun, Mar 18, 2001 at 08:24:07PM -0500, Charlie Brady
> <[EMAIL PROTECTED]> wrote: > > On Mon, 19 Mar 2001, Gordon Rowell
> wrote: > > > It is. You should be getting /var/log/messages entries of
> the form: > > > > INFO(cleanitup) - saw unusual character (cleaned
> string is ... > > /var/log/maillog I think you'll find.
> 
> Quite correct.
> 
> Dean - a test version obtuse-smtpd-2.0-24 is in:
> 
> ftp://ftp.e-smith.org/pub/e-smith/contrib/GordonRowell/RPMS/i386
> 
> This one doesn't strip '{' and '}' It still marks them as "weird", but
> leaves them alone. It is an incomplete solution as it really should
> keep state of "in-string" and leave well enough alone. 
> 
> Note: It is still quoting [ and ] as \[ and \] within the string, so
> you may still have problems (depending on how the string is parsed at
> the receiving end).
> 
> Let me know how you get on.

Well I've done some testing, and there are still some problems

As you said, the [ and ] are quoted as \[ and \]. This is where the 
problem arises. in the example I used the [ and ] enclose a customer 
defined string to be used as a billing code. (See below)

"fax-16132484553{/BC=[PCT-D9-9XMFQ-
RSCAQD]/CN=Dean_Staff}"@netedge.protusfax.com



And \ is an invalid character for our system. So what ever is between 
them gets dropped. We are actually looking for "/BC=[" (no quotes) as 
the string to signify that there is a billing code that follows. So 
if it sees "/BC=\[" it gets ignored.

Just out of curiosity, do you know why obtuse smtp does this? 
Sendmail and qmail in 4.0.1 has no trouble with this. 


Thanks 
Dean
 

Any other suggestions? 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dean Staff
Protus IP Solutions
210 - 2379 Holly Lane
Ottawa, ON K1V 7P2 Canada
613-733-0000 ex 546 Fax 613-248-4553
e-mail: [EMAIL PROTECTED] Web: http://www.protus.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to