Re: Mails are always tagged as old but unread
Hello everybody, I solved the problem with the Messages that seemed to be old, although i never had a look at them. I just made a procmail recipe which filters the Status: and X-Status: headers. Here it is, just in case somebody might need ist someday: :0 fhw |formail -I Status -I X-Status This doesn't solve the Problem, but since i couldn't firgure out which program put the headers into my mails, this snippet at least works. Greetings Christoph
Re: Mails are always tagged as old but unread
* Am Wed, Apr 10, 2002 at 06:39:47AM -0500 , schrieb David T-G: % Is anybody interested in reading it ? (154 lines) Sure. So here it comes: (my procmailrc) LOGFILE=/home/chris/.procmail.log LOGABSTRACT=all VERBOSE=yes #Backup :0 c Mail/backup :0 ic | cd backup rm -f dummy `ls -t msg.* | sed -e 1,32d` # Damit GPG/PGP Header richtig sind :0 * !^Content-Type: message/ * !^Content-Type: multipart/ * !^Content-Type: application/pgp { :0 fBw * ^-BEGIN PGP MESSAGE- * ^-END PGP MESSAGE- | formail \ -i Content-Type: application/pgp; format=text; x-action=encrypt :0 fBw * ^-BEGIN PGP SIGNED MESSAGE- * ^-BEGIN PGP SIGNATURE- * ^-END PGP SIGNATURE- | formail \ -i Content-Type: application/pgp; format=text; x-action=sign } :0hc | lbdb-fetchaddr :0: * ^From.*Mailer-Daemon Mail/system :0: * ^From.*uucp@marvin Mail/marvin :0: * ^Return-path.*root@trillian Mail/system :0: * ^Subject.*MailStatistics Mail/system :0: * ^Subject.*rhizom Mail/rhizom :0: * ^Reply-To: party-l Mail/party-l :0: * ^List-Id:.*gnupg-users.gnupg.org Mail/gnupg-users :0: * ^List-Id.*inferno-l.inferno.nadir.org Mail/inferno-l # -- doesn't work yet - # hiermit werden alle Absender nach inferno-l.list geschrieben, wenn sie noch # nicht drin stehen. (hoffentlich) #:0 Whc: #* ^List-Id.*inferno-l.inferno.nadir.org #| formail -rD 8192 inferno-l.cache # :0 ehc # | formail -x From /home/chris/inferno-l.list :0: * ^List-Id.*imc.inferno.nadir.org Mail/imc :0: * ^List-Id.*wohnprojekt-l Mail/wohnprojekt-l :0: * ^List-Id.*sz-info.inferno Mail/sz-info :0: * ^List-Id.*alle.inferno.nadir.org Mail/alle :0: * ^From.*heise.de Mail/telepolis :0: * ^From.*support@inferno Mail/support :0: * ^From.*todo@inferno Mail/todo :0: * ^From.*inhaltliches@inferno :0: * ^List-Id:.*szwww-l.inferno.nadir.org Mail/szwww-l :0: * ^To:.*[EMAIL PROTECTED] Mail/szwww-l :0: * ^Mailing-List:.*lists.ccc.de Mail/debate :0: * ^List-ID.*connect.squat.net Mail/connect :0: * ^List-ID.*ccc-l Mail/ccc-l :0: * ^List-Id.*gentoo-user.gentoo.org Mail/gentoo-user :0: * ^List-Id.*automail-l Mail/automail-l :0: * ^List-Id.*keysignings.lists.alt.org Mail/keysignings :0: * ^Sender:.*mutt-users Mail/mutt-users :0: * ^List-Id.*technix-l Mail/technix-l Have fun with it Christoph
Re: Mails are always tagged as old but unread
Hello again, I tried out nearly any combination of fetchmail, exim, procmail and getmail. And the result is: It's procmail. I don't know why, but NOT using procmail doesn't insert the Status tags in the header. I just could't figure out, what the problem is. When I use an empty procmailrc , everything is fine. Using just some of my recipies is fine also. But using my hole procmailrc doesn't work. Is anybody interested in reading it ? (154 lines) So i think I will just use dropmail. Does anybody know how to pipe the headers to lbdb-fetchaddr in dropmail ? That is the only reason I can't use it at the moment. Greetings Christoph
Re: Mails are always tagged as old but unread
Christoph -- ...and then [EMAIL PROTECTED] said... % % Hello again, Hi! % % I tried out nearly any combination of fetchmail, exim, procmail and % getmail. And the result is: It's procmail. I don't know why, but NOT Interesting. I think you might actually mean ... % using procmail doesn't insert the Status tags in the header. % I just could't figure out, what the problem is. When I use an empty % procmailrc , everything is fine. Using just some of my recipies is fine % also. But using my hole procmailrc doesn't work. ... that it's one of your recipes, and not procmail itself :-) % Is anybody interested in reading it ? (154 lines) Sure. % % So i think I will just use dropmail. Does anybody know how to pipe the % headers to lbdb-fetchaddr in dropmail ? That is the only reason I can't % use it at the moment. No idea. % % Greetings Christoph HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26965/pgp0.pgp Description: PGP signature
Re: Mails are always tagged as old but unread
replied to Michael insted of mutt-users, sorry: - Forwarded message from chris - Date: Tue, 9 Apr 2002 16:33:21 +0200 To: Michael Tatge [EMAIL PROTECTED] Subject: Re: Mails are always tagged as old but unread * Am Tue, Apr 09, 2002 at 03:45:02PM +0200 , schrieb Michael Tatge: [EMAIL PROTECTED] ([EMAIL PROTECTED]) muttered: Hello everybody, I start mutt with the -y option to see which mailboxes contain new mails. If I enter a mailbox which was marked with a N , all mails in this mailbox are marked with an O instead of an N. set mark_old=no if you don't like this behaviour. I did. :) But that is not what i wanted. When mark_old=no, the old unread messages seem to be new too. But there are Messages in my mailbox which weren't there when I ran mutt the last time. And these are marked with an O instead of an N. Understand ? Or are the mailboxes opened when starting mutt with -y ? That would explain why mutt thinks the mailbox was opened before. Christoph HTH, Michael -- PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key -- gpg fingerprint: 88DA B106 D973 B2AF 7CCB 725A F76C 803C 758F 71C0 - End forwarded message - -- gpg fingerprint: 88DA B106 D973 B2AF 7CCB 725A F76C 803C 758F 71C0
Re: Mails are always tagged as old but unread
Chris -- ...and then [EMAIL PROTECTED] said... % % replied to Michael insted of mutt-users, sorry: BTW, you can bounce your saved copy to mutt-users (perhaps after tweaking your address, if you use a specific one as I do) to avoid the extra layer of quoting and resultant confusion. Forwarding, and particularly inline forwarding instead of MIME forwarding, gets ugly fast. % - Forwarded message from chris - % % * Am Tue, Apr 09, 2002 at 03:45:02PM +0200 , schrieb Michael Tatge: % [EMAIL PROTECTED] ([EMAIL PROTECTED]) muttered: ... %I start mutt with the -y option to see which mailboxes contain new mails. %If I enter a mailbox which was marked with a N , all mails in this So you do see an 'N' in the browser view, then. %mailbox are marked with an O instead of an N. Hokay; you must have been here before and then exited with $mark_old set. % % set mark_old=no if you don't like this behaviour. I did. :) % % But that is not what i wanted. When mark_old=no, the old unread messages % seem to be new too. But there are Messages in my mailbox which weren't % there when I ran mutt the last time. And these are marked with an O % instead of an N. Understand ? So you had, say, messages one through four in your mailbox. When you return, they as well as a new message five are all marked old, even though you've never before laid eyes on message five. Correct? If so, that is quite interesting. Do you ever see 'N'ew mails in any folder? Are you using procmail or any other filtering software which might be writing a Status: or X-Status: header? What type of mailfolder are you using? For a folder =mybox, what do you see when you run ls -lF $MAIL/mybox? What if, assuming it's an mbox folder, you (after first copying the mailbox to a temp mailbox to avoid corruption!) edit the file and remove any Status: and X-Status: fields you find and then run mutt on that folder? Are the messages still old, or are they finally new? % Or are the mailboxes opened when starting mutt with -y ? That would % explain why mutt thinks the mailbox was opened before. No, they aren't; see the oft-recurring why doesn't mutt tell me I have new mail? and can mutt tell me how many new mails I have? discussions for more on this. HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26936/pgp0.pgp Description: PGP signature
Re: Mails are always tagged as old but unread
* Am Tue, Apr 09, 2002 at 11:47:18AM -0500 , schrieb David T-G: % * Am Tue, Apr 09, 2002 at 03:45:02PM +0200 , schrieb Michael Tatge: % [EMAIL PROTECTED] ([EMAIL PROTECTED]) muttered: ... %I start mutt with the -y option to see which mailboxes contain new mails. %If I enter a mailbox which was marked with a N , all mails in this So you do see an 'N' in the browser view, then. %mailbox are marked with an O instead of an N. Hokay; you must have been here before and then exited with $mark_old set. % % set mark_old=no if you don't like this behaviour. I did. :) % % But that is not what i wanted. When mark_old=no, the old unread messages % seem to be new too. But there are Messages in my mailbox which weren't % there when I ran mutt the last time. And these are marked with an O % instead of an N. Understand ? So you had, say, messages one through four in your mailbox. When you return, they as well as a new message five are all marked old, even though you've never before laid eyes on message five. Correct? Correct. Message one through four are morked O when I haven't read them and marked not if I have read them. This is how i want it. But message five is marked O although I never laid eyes on it. If so, that is quite interesting. Do you ever see 'N'ew mails in any folder? Are you using procmail or any other filtering software which might be writing a Status: or X-Status: header? I see New mails in my spool but not in the mutt-user mbox. And i am using procmail, but it doesn't write Status or X-Status headers And I see New mails in the folder-list. What type of mailfolder are you using? For a folder =mybox, what do you see when you run ls -lF $MAIL/mybox? I use mbox folders. chris@trillian:~$ ls -lF Mail/mutt-users -rw-rw1 chrisusers 425032 9. Apr 18:58 Mail/mutt-users chris@trillian:~$ ls -lF /var/spool/mail/chris -rw-rw1 chrismail15628 9. Apr 19:07 /var/spool/mail/chris What if, assuming it's an mbox folder, you (after first copying the mailbox to a temp mailbox to avoid corruption!) edit the file and remove any Status: and X-Status: fields you find and then run mutt on that folder? Are the messages still old, or are they finally new? They are all new. % Or are the mailboxes opened when starting mutt with -y ? That would % explain why mutt thinks the mailbox was opened before. No, they aren't; see the oft-recurring why doesn't mutt tell me I have new mail? and can mutt tell me how many new mails I have? discussions for more on this. Greetings Christoph HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! -- gpg fingerprint: 88DA B106 D973 B2AF 7CCB 725A F76C 803C 758F 71C0
Re: Mails are always tagged as old but unread
Christoph -- ...and then [EMAIL PROTECTED] said... % % * Am Tue, Apr 09, 2002 at 11:47:18AM -0500 , schrieb David T-G: ... % % So you had, say, messages one through four in your mailbox. When you % return, they as well as a new message five are all marked old, even % though you've never before laid eyes on message five. Correct? % % Correct. Message one through four are morked O when I haven't read Hokay. % them and marked not if I have read them. This is how i want it. But % message five is marked O although I never laid eyes on it. That's interesting. You say you've never seen the message before, and I'll believe that, but forgive me if I dig on a bit more. How does this message get into the mailbox in question? Does procmail deliver it directly? Does all mail land in $spoolfile and then get moved elsewhere? % % If so, that is quite interesting. Do you ever see 'N'ew mails in any % folder? Are you using procmail or any other filtering software which % might be writing a Status: or X-Status: header? % % I see New mails in my spool but not in the mutt-user mbox. And i am How do mails get into the mutt-user mailbox? Is that for incoming or outgoing? And do you always see new mail in $spoolfile as you expect to, or does the problem sometimes come up there, too? % using procmail, but it doesn't write Status or X-Status headers % And I see New mails in the folder-list. The folder-list doesn't count; don't worry about that. And I didn't really expect that procmail would write such headers, but it's worth checking. % % What type of mailfolder are you using? For a folder =mybox, what do you % see when you run ls -lF $MAIL/mybox? % % I use mbox folders. Hokay; all I've told you, then, is valid. Maildir, for instance, marks its messages as old and read differently. % ... % remove any Status: and X-Status: fields you find and then run mutt on % that folder? Are the messages still old, or are they finally new? % % They are all new. Good; that part works. HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26941/pgp0.pgp Description: PGP signature
Re: Mails are always tagged as old but unread
Hello again, I tried a little and i think this Problem is NOT mutts problem. I tried some biffs and they all had the same problem. (except mailcheck). So i think it either procmail or fetchmail do something strange to the mails. I will just have to wait a little until there are enough new mails in my mailfolders, make a backup and then check what makes the difference. I will tell you what I found out tomorrow (hopefully) And thank you Christoph * Am Tue, Apr 09, 2002 at 12:57:53PM -0500 , schrieb David T-G: Christoph -- ...and then [EMAIL PROTECTED] said... % % * Am Tue, Apr 09, 2002 at 11:47:18AM -0500 , schrieb David T-G: ... % % So you had, say, messages one through four in your mailbox. When you % return, they as well as a new message five are all marked old, even % though you've never before laid eyes on message five. Correct? % % Correct. Message one through four are morked O when I haven't read Hokay. % them and marked not if I have read them. This is how i want it. But % message five is marked O although I never laid eyes on it. That's interesting. You say you've never seen the message before, and I'll believe that, but forgive me if I dig on a bit more. How does this message get into the mailbox in question? Does procmail deliver it directly? Does all mail land in $spoolfile and then get moved elsewhere? % % If so, that is quite interesting. Do you ever see 'N'ew mails in any % folder? Are you using procmail or any other filtering software which % might be writing a Status: or X-Status: header? % % I see New mails in my spool but not in the mutt-user mbox. And i am How do mails get into the mutt-user mailbox? Is that for incoming or outgoing? And do you always see new mail in $spoolfile as you expect to, or does the problem sometimes come up there, too? % using procmail, but it doesn't write Status or X-Status headers % And I see New mails in the folder-list. The folder-list doesn't count; don't worry about that. And I didn't really expect that procmail would write such headers, but it's worth checking. % % What type of mailfolder are you using? For a folder =mybox, what do you % see when you run ls -lF $MAIL/mybox? % % I use mbox folders. Hokay; all I've told you, then, is valid. Maildir, for instance, marks its messages as old and read differently. % ... % remove any Status: and X-Status: fields you find and then run mutt on % that folder? Are the messages still old, or are they finally new? % % They are all new. Good; that part works. HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! -- gpg fingerprint: 88DA B106 D973 B2AF 7CCB 725A F76C 803C 758F 71C0
Re: Mails are always tagged as old but unread
Christoph -- ...and then [EMAIL PROTECTED] said... % % Hello again, Hi! % % I tried a little and i think this Problem is NOT mutts problem. Of course it isn't ;-) % I tried some biffs and they all had the same problem. % (except mailcheck). So i think it either procmail or % fetchmail do something strange to the mails. Ahhh... Interesting. I don't know if fetchmail can do it, but you might try having it write into a mailbox as well as (or instead of) handing to procmail. If you're delivering to procmail via a .forward file then it's easy to add another line for the copy mailbox. % % I will just have to wait a little until there are enough new mails in my Heh -- that's easy: # while true ; do echo testing | mailx -s `date` chris ; sleep 60 ; done That should help you see if it's a procmail issue; if you need to involve fetchmail, then just send out to your ISP address and pull the mail down. % mailfolders, make a backup and then check what makes the difference. % I will tell you what I found out tomorrow (hopefully) Great! % % And thank you HTH HAND % % Christoph :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26950/pgp0.pgp Description: PGP signature