Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable Cram-5md in php imap 1

Status
Not open for further replies.

IPGuru

Vendor
Jun 24, 2003
8,391
GB
I am trying to connect to an embeded IMAP server thet incorrectly announces CRAM-5MD authernticatin as being available
because of this php times ot & fails to connect
is there any way to force php to only use plain text authentication (I can see options ot force secure but not vice versa)

I do not Have A.D.D. im just easily, Hey look a Squirrel!
 
Bump
can no one help?
even a definitive "It cant be done" would be usefull

I do not Have A.D.D. im just easily, Hey look a Squirrel!
 
I investigated this but could not find any way of influencing the imap extension. i assume you have tried connecting with no security at all?

the only suggestions i can make are:

1. re-roll the imap extension yourself from source code (should not be too difficult to identify the conditional tree relating to cram-md5 or the response)
2. perhaps use a command line imap client to fetch the mail and then process it in php
 
I have been working on opt 2 as a work around for this
creating a python modue to get the inormation i require & return it back to the php page, so far it seems to be working

another result for universal plan "B": When all else fails CHEAT

I do not Have A.D.D. im just easily, Hey look a Squirrel!
 
would using fetchmail and mutt not be easier? or even just fetchmail and bung a php listener onto the port that you point fetchmail at?
 
The final gol is to recreate the Avaya IP Office UMS web page (which is currently not available on thier Linux VM Server)

this means i need to be able to perform a number of control functions on the msgs (Mark as read/unread, delete/undelete)
so it is not just a simple task of using fetchmail/ mutt, at least I would not think so.

Many thanks anyway

I do not Have A.D.D. im just easily, Hey look a Squirrel!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top