LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2012, 09:52 AM   #1
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Mutt does not change the "unread" flag on the IMAP server and other Mutt questions


I am currently evaluating if Mutt fits my needs and so far it is working fine, but there are some minor annoyances.

At first let me describe my setup:
I am running a separate machine which fetches the mails from my different mail accounts using fetchmail, those mails are sorted into different folders and offered via IMAP using dovecot and dovecot-sieve. I do this because I want to keep my mail in sync on different machines. This part is working fine.
I then connect with my mail-clients to the server and read my mail.

This all works fine with different mail-clients, i can read, delete and move the mail.

Now my main issue with Mutt:
But for some reason unknown to me Mutt is not flagging read mail as read, it still appears as new mail when connecting from a different machine. this is not happening with other mail clients, like Thunderbird or Claws-Mail.
I have read through the documentation and ton of muttrc-files posted all over the net, but couldn't find an option to change that behavior. Manually setting it to new or read with Shift+n also does not change the flag on the server.

I would be thankful for any hint that helps me to solve that issue.

Some minor issues with Mutt
As I stated before, my mail is sorted into different folders on the server. Mutt has an overview about the folders I specified as mailbox, which I can access by pressing c? and Tab. it shows an overview of my folders and the number of new mails, but for some reason that number is never updated, so I don't see if new mail arrives while at that view. Is there an option to change that?
If not, does anyone now of an mail notification daemon that supports IMAP and embeds itself into the systray area of my panel? My searches on the net only found really old applications that are discontinued and won't compile on modern systems (I am using Slackware 14) or applications that are specifically for Gmail.

My .muttrc
Code:
set spoolfile="imaps://tobi:MYPASSWORD@server/"
set folder="imaps://tobi@server/"
mailboxes = =INBOX =LQ =SlackDocs =Slackbuilds =i3
set record="=Sent"
set postponed="=Drafts"
set smtp_url="SMTP_SERVER"
set smtp_pass="MYPASSWORD"
set from="MYMAILADDRESS"
set realname="Tobias Eichmann"

set mail_check=60
set timeout=20
set sort=threads
set sort_aux=date
set followup_to=yes
unset mark_old

alias mods@ mods@lists.linuxquestions.org

color header yellow black .*
color signature yellow black
color status white blue
color indicator green black
color body green black .*

subscribe mods@ slackdocs@ slackbuilds-users@ i3-discuss@

macro index ">" "c?"
macro pager ">" "c?"
macro index <F1> "<change-folder>=INBOX<enter>"
macro index <F2> "<change-folder>=LQ<enter>"
macro index <F3> "<change-folder>=Slackbuilds<enter>"
macro index <F4> "<change-folder>=SlackDocs<enter>"
macro index <F5> "<change-folder>=i3<enter>"
 
Old 10-09-2012, 08:44 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148

Original Poster
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I don't know what the problem was, but I have rewritten the .muttrc from scratch, following this guide (which I can oly recommend for the Mutt beginner) and now it is working without showing the aforementioned symptoms, although I still haven't found a configuration option for that.

The only thing that I still need is a notification program for the systray, but I will research that further and open a new thread for that if necessary.
 
  


Reply

Tags
flags, imap, mutt, notification



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
[SOLVED] I have the "mutt" mail utility for Solaris, I need it for Red Hat mauriab1 Red Hat 2 05-24-2012 06:27 PM
echo mypage.htm | mutt -s "hello news" myemail@gmail.com frenchn00b Linux - General 16 04-20-2009 01:21 AM
Mutt-ng configuration with smtp returns "unknown" on Slackware-12.2 agricola7 Linux - Newbie 0 04-17-2009 10:06 AM
mutt unread mail but none shown moob8 Linux - Software 2 10-19-2007 04:50 PM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 PM.

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