LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-09-2016, 08:57 AM   #1
lilmike
Member
 
Registered: Nov 2009
Location: Baton Rouge, Louisiana
Distribution: Ubuntu
Posts: 57

Rep: Reputation: 15
Question courier-imap (running on arch linux) using mailx (also on arch linux pc) 'imap error: mailbox does not exist, or is not subscribed to'


Hi,
I'm trying to use mailx to script my inbox based on certain conditions. I have set up the ~/.mailrc file like the following:

Code:
set inbox=imaps://user%40host@mail.host:993/INBOX
set imap-use-starttls
However, as mentioned in the subject, I keep getting this error: 'Imap error: mailbox does not exist, or is not subscribed to.' I have read that in courier-imap that either means 1. the folder does not exist, or 2. it needs to be subscribed to. However, I have used telnet to manually login and do 'list "" "*"' and INBOX is listed. This, to me, says that the second option is what is wrong. I don't know how to get mailx to subscribe to a folder though (there is *absolutely* no documentation on .mailrc that I could dfind).
Any help?
Thanks,
-Michael.
 
Old 11-10-2016, 02:43 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Hi,

I've never used mailx/imap combination, but with a little search I think you're using a wrong setting.
There is no "set inbox", but there is "set folder" instead. See the last post here for details

Hope that helps
 
  


Reply

Tags
courier, error, imap, mailx



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user mailbox against Courier-Imap shipon_97 Linux - Networking 0 10-07-2006 04:28 AM
Broken/Dying IMAP mailbox (Courier IMAP) swilliams2006 Linux - Server 8 10-02-2006 12:53 PM
(Imail) mailbox to (courier-imap/postfix) maildir chakkerz Linux - Software 0 02-03-2005 09:42 PM
[Courier-imap] Could not open mailbox pembo13 Linux - Networking 4 08-10-2004 03:53 PM
Courier IMAP - accessing wrong mailbox smilodon Linux - Software 0 06-11-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration