Bluehost.com Web Hosting $6.95

Re: [courier-users] No luck with courier-pythonfilter and

This is a discussion on Re: [courier-users] No luck with courier-pythonfilter and within the Courier-Imap forums, part of the Mail Servers and Related category; This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-20-2007
Sam Varshavchik
 
Posts: n/a
Default Re: [courier-users] No luck with courier-pythonfilter and

This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.

--===============1149536739==
Content-Type: multipart/signed;
boundary="=_mimegpg-commodore.email-scan.com-29450-1184967180-0001";
micalg=pgp-sha1; protocol="application/pgp-signature"

This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.

--=_mimegpg-commodore.email-scan.com-29450-1184967180-0001
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Gordon Messmer writes:

> Nathan Harris wrote:
>> Anyone successfully running courier-pythonfilter 0.22 with the latest
>> courier?
>>
>> courier-pythonfilter starts successfully, but every access yields: ||432
>> Mail filters temporarily unavailable.

>
> I think I've tracked this down to line 278 of cdfilters.C:
> if ( !std::getline(sockstream, sockname).good())
>
> If the filter returns a single-line response, the .good() method will
> return False, because the stream's eofbit is set
> (http://www.cplusplus.com/reference/i.../ios/good.html)


Is the single-line response terminated by a newline?

> I'm not a C++ programmer, so I could be wrong. I think the appropriate
> thing to do is:
>
> if ( std::getline(sockstream, sockname).fail())
>
> ... probably in all three instances in dofilter().
>
> Sam, what do you think?


Probably true, but I suspect that the single-line response isn't terminated
by a newline. If it were, there would be no eof.


--=_mimegpg-commodore.email-scan.com-29450-1184967180-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGoSoMx9p3GYHlUOIRAvjnAJ9q7YeX8sgjxf3n4v6Qrk PocjytDwCdHeVl
xNNJwJZCkQbnVxxFUfi81Vw=
=OML0
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-29450-1184967180-0001--


--===============1149536739==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1149536739==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users

--===============1149536739==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0