all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18130: rmail: allow for imaps proto
@ 2014-07-28 16:59 Carlos Pita
       [not found] ` <handler.18130.B.140656680632269.ack@debbugs.gnu.org>
  2014-07-28 19:07 ` bug#18130: rmail: allow for imaps proto Carlos Pita
  0 siblings, 2 replies; 4+ messages in thread
From: Carlos Pita @ 2014-07-28 16:59 UTC (permalink / raw)
  To: 18130

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

Currently mailutils movemail works with gmail imap using this:

movemail 'imaps://carlosjosepita%40gmail.com:XXXX@imap.gmail.com/INBOX'
RMAIL

but not this:

movemail --tls 'imap://carlosjosepita%40gmail.com:X
XXX@imap.gmail.com:993/INBOX' RMAIL

I wouldn't be difficult to support imaps in rmail, as it's just forwarding
the request to movemail, which already supports it. This way it would be
possible to use gmail imap in rmail.

[-- Attachment #2: Type: text/html, Size: 672 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#18130: Acknowledgement (rmail: allow for imaps proto)
       [not found] ` <handler.18130.B.140656680632269.ack@debbugs.gnu.org>
@ 2014-07-28 17:09   ` Carlos Pita
  0 siblings, 0 replies; 4+ messages in thread
From: Carlos Pita @ 2014-07-28 17:09 UTC (permalink / raw)
  To: 18130

Same for pop / pops:

Error:

[loscar@localhost ~]$ movemail --tls
'pop://carlosjosepita%40gmail.com:crapulario@pop.gmail.com:995' test3
movemail: mailbox
`pop://carlosjosepita%40gmail.com:***@pop.gmail.com:995': cannot open:
Input/output error

Ok:

[loscar@localhost ~]$ movemail
'pops://carlosjosepita%40gmail.com:crapulario@pop.gmail.com:995' test3

Currently there's no way to use rmail with gmail via movemail.

On Mon, Jul 28, 2014 at 2:01 PM, GNU bug Tracking System
<help-debbugs@gnu.org> wrote:
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  bug-gnu-emacs@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 18130@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 18130: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18130
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#18130: rmail: allow for imaps proto
  2014-07-28 16:59 bug#18130: rmail: allow for imaps proto Carlos Pita
       [not found] ` <handler.18130.B.140656680632269.ack@debbugs.gnu.org>
@ 2014-07-28 19:07 ` Carlos Pita
  2014-07-28 20:27   ` Carlos Pita
  1 sibling, 1 reply; 4+ messages in thread
From: Carlos Pita @ 2014-07-28 19:07 UTC (permalink / raw)
  To: 18130

The problem seems more general, indeed. Non recognized protocols are
taken to be filenames and expanded, as in:

maildir:/home/loscar/Mail/INBOX
->
/home/loscar/maildir:/home/loscar/Mail/INBOX

mailutils movemail is pretty smart, but rmail is dumbing it down. I
think a more transparent delegation to the mailutils workhorse is in
order.

On Mon, Jul 28, 2014 at 1:59 PM, Carlos Pita <carlosjosepita@gmail.com> wrote:
>
> Currently mailutils movemail works with gmail imap using this:
>
> movemail 'imaps://carlosjosepita%40gmail.com:XXXX@imap.gmail.com/INBOX'
> RMAIL
>
> but not this:
>
> movemail --tls
> 'imap://carlosjosepita%40gmail.com:XXXX@imap.gmail.com:993/INBOX' RMAIL
>
> I wouldn't be difficult to support imaps in rmail, as it's just forwarding
> the request to movemail, which already supports it. This way it would be
> possible to use gmail imap in rmail.
>





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#18130: rmail: allow for imaps proto
  2014-07-28 19:07 ` bug#18130: rmail: allow for imaps proto Carlos Pita
@ 2014-07-28 20:27   ` Carlos Pita
  0 siblings, 0 replies; 4+ messages in thread
From: Carlos Pita @ 2014-07-28 20:27 UTC (permalink / raw)
  To: 18130

I've been doing some debugging. The problem is in
rmail-insert-inbox-text, which calls expand-file-name. I'm not sure
whether you intend to support anything more than mbox, pop and imap or
not, but then this documentation:

https://www.gnu.org/software/emacs/manual/html_node/emacs/Movemail.html#Movemail

is very misleading in at least two ways:

* It doesn't mention pops and imaps at all.

* It suggests that a larger number of protocols could be used with
mailutils movemail.

So there's a bug anyway:

* Either the documentation should clearly state that only "pop:...",
"imap:..." and "/path/...." specifications are supported, despite the
more powerful capabilities of mailutils movemail

* Or the other protocols supported by mailutils movemail should be
supported by rmail also. In this case, something has to be done before
the filename logic in rmail-insert-inbox-text, which will be broken in
many ways because of the protocol prefix.

On Mon, Jul 28, 2014 at 4:07 PM, Carlos Pita <carlosjosepita@gmail.com> wrote:
> The problem seems more general, indeed. Non recognized protocols are
> taken to be filenames and expanded, as in:
>
> maildir:/home/loscar/Mail/INBOX
> ->
> /home/loscar/maildir:/home/loscar/Mail/INBOX
>
> mailutils movemail is pretty smart, but rmail is dumbing it down. I
> think a more transparent delegation to the mailutils workhorse is in
> order.
>
> On Mon, Jul 28, 2014 at 1:59 PM, Carlos Pita <carlosjosepita@gmail.com> wrote:
>>
>> Currently mailutils movemail works with gmail imap using this:
>>
>> movemail 'imaps://carlosjosepita%40gmail.com:XXXX@imap.gmail.com/INBOX'
>> RMAIL
>>
>> but not this:
>>
>> movemail --tls
>> 'imap://carlosjosepita%40gmail.com:XXXX@imap.gmail.com:993/INBOX' RMAIL
>>
>> I wouldn't be difficult to support imaps in rmail, as it's just forwarding
>> the request to movemail, which already supports it. This way it would be
>> possible to use gmail imap in rmail.
>>





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-28 20:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 16:59 bug#18130: rmail: allow for imaps proto Carlos Pita
     [not found] ` <handler.18130.B.140656680632269.ack@debbugs.gnu.org>
2014-07-28 17:09   ` bug#18130: Acknowledgement (rmail: allow for imaps proto) Carlos Pita
2014-07-28 19:07 ` bug#18130: rmail: allow for imaps proto Carlos Pita
2014-07-28 20:27   ` Carlos Pita

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.