[milters] Archive

Lists Index Date Thread Search

Article: 1842
From: Jim Hermann
Date: 2008-03-14 20:50:27 -0400
Subject: Re: milter-link and domain names in mail

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

_______________________________________
From: Anthony Howe [achowe@snert.com]
Sent: Friday, March 14, 2008 12:08 PM
To: milters@milter.info
Subject: [milters] Re: milter-link and domain names in mail
--------------------------------------------------------
milter-link does look for other URI such as mail address and other URI
with different scheme names. It also has implicit domain matching code,
but is broken in libsnert 1.66. Libsnert 1.67 will be released in few
weeks, with

  !  uriParse2(): implicit_domain_min_dots was been correctly handled
     but subsequently discarded, because a default scheme was not set.
     When an implied host name is found, assume HTTP scheme.
---------------------------------------------------------

Anthony,

Could you change the uri utility so that it checks for URIs in RFC822 attac=
hments?

Example:

--=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D0697628884=3D=3D
Content-Type: message/rfc822
MIME-Version: 1.0

Here is the end of the uri report from command:  uri -v -p -f message
2008-03-03 00:49:29 uri:19926 DEBUG MIME boundary "--=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D0697628884=3D=3D"
2008-03-03 00:49:29 uri:19926 DEBUG next MIME part 'Multipart, Header'
2008-03-03 00:49:29 uri:19926 DEBUG Content-Type: message/rfc822
2008-03-03 00:49:29 uri:19926 DEBUG next MIME part 'Multipart, Other'
2008-03-03 00:49:29 uri:19926 DEBUG MIME boundary "--=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D0697628884=3D=3D--"
2008-03-03 00:49:29 uri:19926 DEBUG next MIME part 'Multipart, Header'
2008-03-03 00:49:29 uri:19926 DEBUG next MIME part 'Multipart, Text'

It appears to skip any part that is identified as 'Multipart, Other'

Thanks.

Jim

Lists Index Date Thread Search