cURL / Mailing Lists / curl-library / Single Mail


Re: Enhancing POP3 to support extra commands

From: Rich Gray <>
Date: Thu, 01 Dec 2011 15:07:04 -0500

Dan Fandrich wrote:
> On Thu, Dec 01, 2011 at 05:17:04PM +0000, Steve Holme wrote:
>> I have done a little research and couldn't really find anything... except
>> RFC2384:
>> This specifies a format for URL based connection strings (including
>> authentication) for pop3 but not message manipulation - similar to mutt I
>> guess.
> Another possibility is to allow a syntax similar to the IMAP URL scheme
> (RFC 5092). But I looked at that and the IMAP URLs are all about accessing
> messages, not manipulating them.
> How about this instead: rather than embedding operations into the URL
> itself, why not use the "--quote" option, or even the "--request" option
> to specify them? That's analagous to how this would be done for HTTP,
> FTP and SFTP; to delete a file on those, you'd use -X DELETE, -Q DELE X and
> -Q rm X, respectively. That actually seems more natural to me than inventing
> a URL scheme to do the same.

I agree with Dan. [lib]curl should stick with the RFC2384 URL format
strictly to address the mailbox and use other options (command line &
CURLOPT_) to specify actions. I guess the current pop3[s]: format could be
retained as sort of an alias for backwards compatibility.

Great work!
List admin:
Received on 2011-12-01