Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot generate contact file #102

Closed
ghost opened this issue Oct 3, 2012 · 7 comments
Closed

Cannot generate contact file #102

ghost opened this issue Oct 3, 2012 · 7 comments

Comments

@ghost
Copy link

ghost commented Oct 3, 2012

vmail-contact.txt was created, it is empty. Vmail cannot access to mailbox.

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
Starting vmail 2.5.7
Checking vmail.db version... OK
Setting VMAIL_BROWSER to 'gnome-open'
Using config file: .vmailrc
Using contacts file: vmail-contacts.txt
Logging as user@gmail.com

<struct Net::IMAP::TaggedResponse tag="RUBY0001", name="OK", data=#, raw_data="RUBY0001 OK user@gmail.com user authenticated (Success)\r\n">

Selecting [Gmail]/Sent Mail
/usr/lib/ruby/1.9.1/net/imap.rb:1141:in get_tagged_response': Unknown Mailbox: [Gmail]/Sent Mail (Failure) (Net::IMAP::NoResponseError) from /usr/lib/ruby/1.9.1/net/imap.rb:1195:inblock in send_command'
from /usr/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' from /usr/lib/ruby/1.9.1/net/imap.rb:1177:insend_command'
from /usr/lib/ruby/1.9.1/net/imap.rb:437:in block in select' from /usr/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
from /usr/lib/ruby/1.9.1/net/imap.rb:435:in select' from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/contacts_extractor.rb:23:inblock in extract'
from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/contacts_extractor.rb:13:in open' from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/contacts_extractor.rb:19:inextract'
from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/options.rb:80:in block (2 levels) in parse' from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/options.rb:79:inopen'
from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/options.rb:79:in block in parse' from /usr/lib/ruby/1.9.1/optparse.rb:882:ininitialize'
from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/options.rb:22:in new' from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/options.rb:22:inparse'
from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail/options.rb:18:in initialize' from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail.rb:48:innew'
from /var/lib/gems/1.9.1/gems/vmail-2.5.7/lib/vmail.rb:48:in start' from /var/lib/gems/1.9.1/gems/vmail-2.5.7/bin/vmail:14:in<top (required)>'
from /usr/local/bin/vmail:23:in load' from /usr/local/bin/vmail:23:in

'

Thanks

@danchoi
Copy link
Owner

danchoi commented Oct 20, 2012

It looks like you don't have a "Sent Mail" Gmail folder in the typical location. Can you send me the log trace that shows the mail folders detected when Vmail starts up? It looks like

 Loaded mailboxes: ["INBOX", "Amazon seller's account", "Notes", "[Gmail]/All Mail", "[Gmail]/Drafts", "[Gmail]/Important", "[Gmail]/Sent Mail", "[Gmail]/Spam", "[Gmail]/Starred", "[Gmail]/Trash",

@oddg
Copy link

oddg commented Nov 2, 2012

I had the same issue with vmail 2.5.8. It seems that the only loaded mail box when using vmail without any option is "INBOX". So i had a look into the sent mailbox and vmail loaded it. Then i quite vmail and restarted it with the -g option and it worked.

@AFriemann
Copy link

Hey there, sorry to roll this up again, but I have problems creating the contact list due to german language gmail. Is there a way to fix this by now? Simply loading it in vmail didn't work.
Loaded mailboxes: ["INBOX", "[Google Mail]/Alle Nachrichten", "[Google Mail]/Entwürfe", "[Google Mail]/Gesendet", "[Google Mail]/Markiert", "[Google Mail]/Papierkorb", "[Google Mail]/Wichtig",
Amazing tool btw! I love it!

@notalex
Copy link
Collaborator

notalex commented May 19, 2014

This issue has been fixed in version 2.9.0. Some additional configuration will be required as documented in this wiki.

@notalex notalex closed this as completed May 19, 2014
@stefco
Copy link

stefco commented Mar 15, 2016

@notalex what was the fix for this in the end? gmail is currently using sent as the default sent folder name, while [Gmail]/Sent Mail is still the default folder. is there a way to manually override this?

@minimul
Copy link

minimul commented May 25, 2016

@stefco I have a US Gmail account with a sent folder called "Sent Mail" and I was getting this error on a -g run. I set this in .vmailrc and the -g run worked.

mailbox_aliases:
  sent: Sent Mail
username: ....

@stefco
Copy link

stefco commented Jun 15, 2016

This worked, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants