Re: [courier-users] Mailing List moderation

2014-12-18 Thread Bernd Plagge
Hi Sam,

thanks!

Yesterday I sent a cc moderation (failed as before).
Today I did not sign it but left the footer block - and it failed as well. So 
it seems that the signature is not the problem.

I had a look at the cmlmmoderate.C program (version 0.68.2-1 Debian) and this 
is pretty straight forward - searching for 'no', 'reject', additional message 
and filename/token.

It uses the std::getline function. 
There is a module_getline in moduledel.c which checks for EOF or '\n'.
Could this be the problem - as the footer is in Unicode and contains Japanese?

--- part of the second message - quoted printable - 
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, 19 Dec 2014 01:17:01 +0900
erp-ledger-moder...@erp-online.jp wrote:

 =3D=3DCUT HERE=3D=3D
 Insert any rejection notice here.
 =3D=3DCUT HERE=3D=3D
=20
 The following message has been previously send to you for moderation,
 but no response has been received.  You will receive periodic reminders
 to moderate this message until you do the following.  To approve this
 message and post it to the mailing list, reply to this message.  To
 reject this message, reply to this message and prepend the word no to
 the subject line of the reply.  To reject this message and return it
 to the sender, reply to this message and prepend the word reject
 to the subject line.
=20
 If you would like, you can enter text to be included in the rejection not=
ice.
 You must enter the text above, between the =3D=3DCUT HERE=3D=3D lines.
=20
 Do NOT delete the =3D=3DCUT HERE=3D=3D lines, they must be present.  Also=
, please
 make sure that your mail client formats your reply as plain text, and not
 rich text, or HTML.
=20
 In all cases, make sure that the following codes are included in the
 reply message:
=20
 [1418876026.18926.linde]
 [BIOHNAIDOBNOHBCLGNPCGBGIDMIDIKDI]


--=20
Bernd Plagge - =E3=83=97=E3=83=A9=E3=82=B2 =E3=83=99=E3=82=A7=E3=82=A2=E3=
=83=B3=E3=83=88=20
First Choice Internet Ltd., Tokyo - =E3=83=95=E3=82=A1=E3=83=BC=E3=82=B9=E3=
=83=88=E3=83=BB=E3=83=81=E3=83=A7=E3=82=A4=E3=82=B9=E3=83=BB=E3=82=A4=E3=83=
=B3=E3=82=BF=E3=83=BC=E3=83=8D=E3=83=83=E3=83=88(=E6=9C=89)
-- end of snip 

Thanks,
Bernd



On Wed, 17 Dec 2014 03:25:11 +
courier-users-requ...@lists.sourceforge.net wrote:

  So, it seems that the moderation mail is not recognized if it signed and/or 
   
  contains some characters found in the signature.
  While I recognise that I can just switch signing off and remove the  
  signature part this is easily forgotten.
 
  Maybe you can address this in one of the future releases.  
 
 Not sure offhand why your signed messages are a problem. I can see how PGP- 
 MIME signed messages might be a problem, but looks like you're using old- 
 style inline PGP signatures.
 
 Your message looks like an ordinary base64-encoded message. Once decoded,  
 the tokens look fine to me. couriermlm shouldn't have an issue with decoding  
 encoded messages.
 
 Try this: reply to a moderation message, and add a cc to yourself, to  
 capture an exact copy of the entire message that got sent – including all  
 of its headers.
 
 Then, looking at the entire, pristine message, might result in some  
 additional clues.

-- 
Bernd Plagge - プラゲ ベェアント 
First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有)
mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp
Tel: 03-6379 2516 - Fax: 03-6379-2686
VoIP: sip:bpla...@bluesip.net

**
FREE Web Assessment:http://choicenet.ne.jp/en/website_assessment.html
Web Sites:  http://choicenet.ne.jp/en/websites.html
Web Design: http://choicenet.ne.jp/en/webdesign.html
Web Hosting:http://choicenet.ne.jp/en/hosting.html
Net Support:http://choicenet.ne.jp/en/netsupport.html
***
無料ウエブサイト評価  http://choicenet.ne.jp/jp/website_assessment.html
ウエブサイト: http://choicenet.ne.jp/jp/websites.html
ウエブデザイン:http://choicenet.ne.jp/jp/webdesign.html
ウエブホスティング:  http://choicenet.ne.jp/jp/hosting.html
ネットワークサポート: http://choicenet.ne.jp/jp/netsupport.html



signature.asc
Description: PGP signature
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Mailing List moderation

2014-12-18 Thread Sam Varshavchik

Bernd Plagge writes:


Hi Sam,

thanks!

Yesterday I sent a cc moderation (failed as before).
Today I did not sign it but left the footer block - and it failed as well.  
So it seems that the signature is not the problem.


I had a look at the cmlmmoderate.C program (version 0.68.2-1 Debian) and  
this is pretty straight forward - searching for 'no', 'reject', additional  
message and filename/token.


It uses the std::getline function.
There is a module_getline in moduledel.c which checks for EOF or '\n'.
Could this be the problem - as the footer is in Unicode and contains  
Japanese?


Yes. Because of that, your mail client uses quoted-printable MIME encoding.  
Because of that, the moderation filter does not see the ==CUT HERE==  
marker.


This has already been addressed in 0.71. The current version of Courier  
should handle these moderation replies just fine.





--- part of the second message - quoted printable - 
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, 19 Dec 2014 01:17:01 +0900
erp-ledger-moder...@erp-online.jp wrote:

 =3D=3DCUT HERE=3D=3D
 Insert any rejection notice here.
 =3D=3DCUT HERE=3D=3D
=20
 The following message has been previously send to you for moderation,
 but no response has been received.  You will receive periodic reminders
 to moderate this message until you do the following.  To approve this
 message and post it to the mailing list, reply to this message.  To
 reject this message, reply to this message and prepend the word no to
 the subject line of the reply.  To reject this message and return it
 to the sender, reply to this message and prepend the word reject
 to the subject line.
=20
 If you would like, you can enter text to be included in the rejection not=
ice.
 You must enter the text above, between the =3D=3DCUT HERE=3D=3D lines.
=20
 Do NOT delete the =3D=3DCUT HERE=3D=3D lines, they must be present.  Also=
, please
 make sure that your mail client formats your reply as plain text, and not
 rich text, or HTML.
=20
 In all cases, make sure that the following codes are included in the
 reply message:
=20
 [1418876026.18926.linde]
 [BIOHNAIDOBNOHBCLGNPCGBGIDMIDIKDI]


--=20
Bernd Plagge - =E3=83=97=E3=83=A9=E3=82=B2 =E3=83=99=E3=82=A7=E3=82=A2=E3=
=83=B3=E3=83=88=20
First Choice Internet Ltd., Tokyo - =E3=83=95=E3=82=A1=E3=83=BC=E3=82=B9=E3=
=83=88=E3=83=BB=E3=83=81=E3=83=A7=E3=82=A4=E3=82=B9=E3=83=BB=E3=82=A4=E3=83=
=B3=E3=82=BF=E3=83=BC=E3=83=8D=E3=83=83=E3=83=88(=E6=9C=89)
-- end of snip 

Thanks,
Bernd



On Wed, 17 Dec 2014 03:25:11 +
courier-users-requ...@lists.sourceforge.net wrote:

  So, it seems that the moderation mail is not recognized if it signed  
and/or

  contains some characters found in the signature.
  While I recognise that I can just switch signing off and remove the
  signature part this is easily forgotten.
 
  Maybe you can address this in one of the future releases.

 Not sure offhand why your signed messages are a problem. I can see how PGP-
 MIME signed messages might be a problem, but looks like you're using old-
 style inline PGP signatures.

 Your message looks like an ordinary base64-encoded message. Once decoded,
 the tokens look fine to me. couriermlm shouldn't have an issue with  
decoding

 encoded messages.

 Try this: reply to a moderation message, and add a cc to yourself, to
 capture an exact copy of the entire message that got sent – including all
 of its headers.

 Then, looking at the entire, pristine message, might result in some
 additional clues.

--
Bernd Plagge - プラゲ ベェアント
First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有)
mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp
Tel: 03-6379 2516 - Fax: 03-6379-2686
VoIP: sip:bpla...@bluesip.net

**
FREE Web Assessment:http://choicenet.ne.jp/en/website_assessment.html
Web Sites:  http://choicenet.ne.jp/en/websites.html
Web Design: http://choicenet.ne.jp/en/webdesign.html
Web Hosting:http://choicenet.ne.jp/en/hosting.html
Net Support:http://choicenet.ne.jp/en/netsupport.html
***
無料ウエブサイト評価  http://choicenet.ne.jp/jp/website_assessment.html
ウエブサイト: http://choicenet.ne.jp/jp/websites.html
ウエブデザイン:http://choicenet.ne.jp/jp/webdesign.html
ウエブホスティング:  http://choicenet.ne.jp/jp/hosting.html
ネットワークサポート: http://choicenet.ne.jp/jp/netsupport.html



pgpz3Akk3ie8o.pgp
Description: PGP signature
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE