PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Strange From: header
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Strange From: header

Réponse
 
LinkBack Outils de la discussion
Vieux 22/09/2006, 08h57   #1 (permalink)
Hans Werner Strube, strube&physik3*gwdg*de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Strange From: header

We got mails (in this case, always spam) with a From: header line of
the strange form
"some name" <user@domain>{SET:debug=11}
Sendmail does not preserve the form of this header but changes it into
"\"some name\" <user@domain>{set:"user@domain
I could not see from sendmail.cf where this happens and could not
reproduce this using /usr/lib/sendmail -bt by any rule. But I could
reproduce the behaviour by sending myself mails with faked From: header
lines of this form.
Is such a From: line meaningful in any way? If yes, what does it mean?
Why is it corrupted by sendmail (version 8.11.7+Sun)?

--

Hans Werner Strube strube(@)physik3(.)gwdg(.)de
Drittes Physikalisches Institut, Univ. Goettingen
Friedrich-Hund-Platz 1, 37077 Goettingen, Germany
  Réponse avec citation
Vieux 22/09/2006, 13h16   #2 (permalink)
rabies2000@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Strange From: header

Hi,

same thing here. Using Sendmail 8.13.8 compiled from source under
Linux, have reproduced on a test machine with basically only a
SMART_HOST in the config file.

Tried to set up a local rule, catching the { and } characters in the
From: header but failed miserably. I lack the knowledge, as far as i
can tell, the { and } are handled like <, ", and so on (not sure how i
would go about catching these in a local rule).

My intention was to reject mails with these characters - but my rule
isn't working....

My main problem with these is that the changed header seriously breaks
the backend system :-(

Anyone have any ideas where one would look for more information about
this?

kind regards,
/Dan

Hans Werner Strube, strube&physik3*gwdg*de wrote:
> We got mails (in this case, always spam) with a From: header line of
> the strange form
> "some name" <user@domain>{SET:debug=11}
> Sendmail does not preserve the form of this header but changes it into
> "\"some name\" <user@domain>{set:"user@domain
> I could not see from sendmail.cf where this happens and could not
> reproduce this using /usr/lib/sendmail -bt by any rule. But I could
> reproduce the behaviour by sending myself mails with faked From: header
> lines of this form.
> Is such a From: line meaningful in any way? If yes, what does it mean?
> Why is it corrupted by sendmail (version 8.11.7+Sun)?
>
> --
>
> Hans Werner Strube strube(@)physik3(.)gwdg(.)de
> Drittes Physikalisches Institut, Univ. Goettingen
> Friedrich-Hund-Platz 1, 37077 Goettingen, Germany


  Réponse avec citation
Vieux 24/09/2006, 21h23   #3 (permalink)
Dan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Strange From: header

Did some more research on this. I believe (but i am far from sure) that
the rule "HdrFromSMTP" might be somehow involved. At least i see no
other rule supposed to touch the headers in my test setup. Or rather
MasqSMTP/MasqHdr. But again, i am not sure.

Any sendmail guru out there that can shedding some light over
this? A pointer in the right direction would be of great . I
believe these { } are not really supposed to be in the From: header and
therefore some rule rewrites them improperly.

thanks ahead of time
/Dan



rabies2000@hotmail.com wrote:
> Hi,
>
> same thing here. Using Sendmail 8.13.8 compiled from source under
> Linux, have reproduced on a test machine with basically only a
> SMART_HOST in the config file.
>
> Tried to set up a local rule, catching the { and } characters in the
> From: header but failed miserably. I lack the knowledge, as far as i
> can tell, the { and } are handled like <, ", and so on (not sure how i
> would go about catching these in a local rule).
>
> My intention was to reject mails with these characters - but my rule
> isn't working....
>
> My main problem with these is that the changed header seriously breaks
> the backend system :-(
>
> Anyone have any ideas where one would look for more information about
> this?
>
> kind regards,
> /Dan
>
> Hans Werner Strube, strube&physik3*gwdg*de wrote:
> > We got mails (in this case, always spam) with a From: header line of
> > the strange form
> > "some name" <user@domain>{SET:debug=11}
> > Sendmail does not preserve the form of this header but changes it into
> > "\"some name\" <user@domain>{set:"user@domain
> > I could not see from sendmail.cf where this happens and could not
> > reproduce this using /usr/lib/sendmail -bt by any rule. But I could
> > reproduce the behaviour by sending myself mails with faked From: header
> > lines of this form.
> > Is such a From: line meaningful in any way? If yes, what does it mean?
> > Why is it corrupted by sendmail (version 8.11.7+Sun)?
> >
> > --
> >
> > Hans Werner Strube strube(@)physik3(.)gwdg(.)de
> > Drittes Physikalisches Institut, Univ. Goettingen
> > Friedrich-Hund-Platz 1, 37077 Goettingen, Germany


  Réponse avec citation
Vieux 26/09/2006, 14h53   #4 (permalink)
Hans Werner Strube, strube&physik3*gwdg*de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Strange From: header

Dan <rabies2000@hotmail.com> wrote:
> Did some more research on this. I believe (but i am far from sure) that
> the rule "HdrFromSMTP" might be somehow involved. At least i see no
> other rule supposed to touch the headers in my test setup. Or rather
> MasqSMTP/MasqHdr. But again, i am not sure.
>
> Any sendmail guru out there that can shedding some light over
> this? A pointer in the right direction would be of great . I
> believe these { } are not really supposed to be in the From: header and
> therefore some rule rewrites them improperly.
>
> thanks ahead of time
> /Dan
>
>
>
> rabies2000@hotmail.com wrote:
>> Hi,
>>
>> same thing here. Using Sendmail 8.13.8 compiled from source under
>> Linux, have reproduced on a test machine with basically only a
>> SMART_HOST in the config file.
>>
>> Tried to set up a local rule, catching the { and } characters in the
>> From: header but failed miserably. I lack the knowledge, as far as i
>> can tell, the { and } are handled like <, ", and so on (not sure how i
>> would go about catching these in a local rule).
>>
>> My intention was to reject mails with these characters - but my rule
>> isn't working....
>>
>> My main problem with these is that the changed header seriously breaks
>> the backend system :-(
>>
>> Anyone have any ideas where one would look for more information about
>> this?
>>
>> kind regards,
>> /Dan
>>
>> Hans Werner Strube, strube&physik3*gwdg*de wrote:
>> > We got mails (in this case, always spam) with a From: header line of
>> > the strange form
>> > "some name" <user@domain>{SET:debug=11}
>> > Sendmail does not preserve the form of this header but changes it into
>> > "\"some name\" <user@domain>{set:"user@domain
>> > I could not see from sendmail.cf where this happens and could not
>> > reproduce this using /usr/lib/sendmail -bt by any rule. But I could
>> > reproduce the behaviour by sending myself mails with faked From: header
>> > lines of this form.
>> > Is such a From: line meaningful in any way? If yes, what does it mean?
>> > Why is it corrupted by sendmail (version 8.11.7+Sun)?


Sending myself mails with
/usr/lib/sendmail -d strube
From: .....

test
..

I found out that the corruption occurs _after_ spooling (no corruption
visible in the debug output). The essential point is the occurrence of
a ':' in the "From:" line, not the "{...}". E.g., try
From: <xx@domain> aa:bb
This yields "<xx@domain> aa":xx@domain

--

Hans Werner Strube strube(@)physik3(.)gwdg(.)de
Drittes Physikalisches Institut, Univ. Goettingen
Friedrich-Hund-Platz 1, 37077 Goettingen, Germany
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h13.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11508 seconds with 12 queries