Controlchan and MIME

Julien ÉLIE julien at trigofacile.com
Thu Jan 8 20:52:34 UTC 2009


Hi,

> Can we use MIME::Parser in controlchan?
> (and add it to the list of requirements in the man page and INSTALL)

Incidentally, INN uses ExtUtils::Embed at configure time.


As Content-Transfer-Encoding MUST be 7bit or 8bit according to USEPRO,
I think we can avoid the use of a real MIME package with Perl because
there is no need to decode QP or base64.
The two issues are to find the charset of the control article, which
is easy with a regexp in the Content-Type: header, and to find the (first)
application/news-groupinfo part of the message, which can also be done.

Therefore, let's not introduce a dependency to MIME::Parser and
potential problems for people to install INN.


As for dealing with encodings, I will need the Encode package,
which is fortunately a core module.  So I believe there won't be
any problem with its use.

-- 
Julien ÉLIE

« Je n'aime pas être chez moi. À tel point que lorsque je vais chez quelqu'un
  et qu'il me dit : « Vous êtes ici chez vous », je rentre chez moi ! » (Raymond Devos)




More information about the inn-workers mailing list