Re: [Exim] Question about quotes in local part

Top Page
Delete this message
Reply to this message
Author: Matthew Byng-Maddick
Date:  
To: exim-users
Subject: Re: [Exim] Question about quotes in local part
On Sun, Apr 06, 2003 at 07:35:57PM +0200, Nils Weisensee wrote:
> Does exim have a problem with incoming mails with a from: field like
> this one?
> Nils O. Weisensee <nweisensee01@???>


Depends how it's configured, my exim, for example, will reject such
monstrosities.

> The name is without quotes. I know that this violates the standard, but
> I think I read that exim tolerates that... doesn't it?


If it violates the standard, you can expect it to randomly fail based on
different address parsing heuristics.

> I just ask, because: My e-mails are fetched by fetchmail and then passed
> to exim and then piped through the .forward file to a python script.
> Somehow, the from: field becomes corrupted, and looks like
> NilsO.Weisensee, without any correct address left.


So, multiple things that could all break the address in a different way.

> Does anybody know if exim could cause the problem, or if Python has a
> problem with these kind of addresses? It's strange, because on another
> machine that uses the same Python script, but qmail instead of exim, the
> problem does not exist. I use exim 3.35.


Then it's probably the exim finding the address (well, it's atoms isn't it)
and deciding to use that. What would you like to happen with, for example:

| From: mbm@??? <foo@???>


Why is this any different? Just fix the correct problem, instead of working
around it and adding hack-on-hack-on-hack.

MBM

--
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/