mail does not reach certain hosts
Hi, I have a major problem with Mutt 1.0i. Mail to some hosts does not reach its destination without me getting an error message. I use sendmail as MTA and it seems that sendmail is correctly configured. When I use netscape or kmail this does not happen though I also use sendmail as MTA then. The thing I can't understand why it's only some hosts that do not receive my mail, while with other it's on problem! I attach my muttrc in case someone can find a "bug" Thanks, Michael # # System configuration file for Mutt # # # $Id: Muttrc.in,v 2.0 1998/12/12 08:05:33 roessler Rel $ # # default list of header fields to weed when displaying # ignore "from " received content- mime-version status x-status message-id ignore sender references return-path lines # imitate the old search-body function macro index \eb '/~b ' 'search in message bodies' # simluate the old url menu macro index \cb |urlview\n 'call urlview to extract URLs out of a message' macro pager \cb |urlview\n 'call urlview to extract URLs out of a message' # Show documentation when pressing F1 macro generic f1 "!less /usr/local/doc/mutt-1.0/manual.txt\n" "Show Mutt documentation" macro index f1 "!less /usr/local/doc/mutt-1.0/manual.txt\n" "Show Mutt documentation" macro pager f1 "!less /usr/local/doc/mutt-1.0/manual.txt\n" "Show Mutt documentation" # If Mutt is unable to determine your sites domain name correctly, you can # set the default here. # # set hostname=cs.hmc.edu # If your sendmail supports the -B8BITMIME flag, enable the following # # set use_8bitmime # Including other files source ~/.mutt/aliases set alias_file= ~/.mutt/aliases ## ## More settings ## set beep set charset="iso-8859-1" set folder="~/Mail" set mbox="~/Mail/inbox" set postpone=ask-yes set postponed="~/Mail/postponed" set realname="Michael Tatge" set record="~/Mail/outbox" set resolve set signature="~/.signature" set smart_wrap # color definitions color quoted brightdefault default color header brightdefault default ^Subject: color header brightdefault default ^From: # mailinglists ### Maybe here's a mistake, but I can't find one? ### If mail is not for localhost(deep-thought) set Form-header to me email-account #send-hooks send-hook '!(~t @deep-thought)' 'my_hdr From: [EMAIL PROTECTED]' # default folder-hook folder-hook . set sort=threads
Re: mail does not reach certain hosts
On Thu, Feb 10, 2000 at 05:17:23AM +0200, Mikko Hänninen wrote: Michael Tatge [EMAIL PROTECTED] wrote on Thu, 10 Feb 2000: I have a major problem with Mutt 1.0i. Mail to some hosts does not reach its destination without me getting an error message. What is the error message? I do not get one!
Re: mail does not reach certain hosts
On Thu, Feb 10, 2000 at 12:53:43PM +0200, Marius Gedminas wrote: It could be caused by a wrong envelope `From '. If it is set incorrectly, your error messages from remote SMTP servers will go to the wrong address. You can try adding this to your .muttrc: set sendmail="/usr/sbin/sendmail -oem -oi [EMAIL PROTECTED]" However fixing this in sendmail configuration is the Right (and hard) Way to do it. I've heard that Return-Path: header has something to do with all this, but I don't know for sure. I don't think so. This is from the header of one of my testmails via Internet: From [EMAIL PROTECTED] Fri Feb 11 14:18:42 2000 Return-Path: [EMAIL PROTECTED] Received: from localhost (localhost [127.0.0.1]) by deep-thought.seidenbergstr (8.9.3/8.9.3) with ESMTP id OAA00858 for t@localhost; Fri, 11 Feb 2000 14:18:42 -0500 Received: from pop.studserv.uni-stuttgart.de by localhost with POP3 (fetchmail-5.2.0) for t@localhost (single-drop); Fri, 11 Feb 2000 14:18:42 -0500 (EST) Received: from deep-thought.seidenbergstr [129.69.192.87] by +studsv07.studserv.uni-stuttgart.de with ESMTP (SMTPD32-6.00) id AC169E9805A0; Fri, 11 Feb 2000 14:18:14 +0100 Received: (from t@localhost) by deep-thought.seidenbergstr (8.9.3/8.9.3) id OAA00781 for [EMAIL PROTECTED]; Fri, 11 Feb 2000 14:17:12 +-0500 Date: Fri, 11 Feb 2000 14:17:12 -0500 From: Michael Tatge [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test_mutt_headers_internet -- and on localhost: From t Fri Feb 11 14:14:32 2000 Return-Path: t Received: (from t@localhost) by deep-thought.seidenbergstr (8.9.3/8.9.3) id OAA00746 for t@localhost; Fri, 11 Feb 2000 14:14:32 -0500 Date: Fri, 11 Feb 2000 14:14:32 -0500 From: Michael Tatge [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test_mutt_headers
Re: mail does not reach certain hosts
On Fri, Feb 11, 2000 at 04:00:57PM +0200, Mikko Hänninen wrote: Well then, you need to somehow find out what's the difference in headers between the emails that work and which don't. There doesn't seem to be any difference, but I just found that: [t@deep-thought ~]$ mailq Mail Queue (2 requests) --Q-ID-- --Size-- -Q-Time- Sender/Recipient # message written with mutt VAA010409 Fri Feb 11 21:50 t (host map: lookup (bigfoot.de): deferred) [EMAIL PROTECTED] # message written with netscape VAA01058 10 Fri Feb 11 21:51 [EMAIL PROTECTED] (host map: lookup (studserv.uni-stuttgart.de): deferred) [EMAIL PROTECTED] I tried real hard to find any reason for this diffrence, but all the docs I have don't point to any valueable direction. Ideas? Thanks, Michael
[solved] Re: mail does not reach certain hosts
On Sat, Feb 12, 2000 at 02:15:47AM +, Lars Hecking wrote: Michael Tatge writes: I have a major problem with Mutt 1.0i. Mail to some hosts does not reach its destination without me getting an error message. I use sendmail as MTA and it seems that sendmail is correctly configured. When I use netscape or kmail this does not happen though I also use sendmail as MTA then. The thing I can't understand why it's only some hosts that do not receive my mail, while with other it's on problem! Mail to _which_ hosts works, and which fails? That seemed be quite deliberatedly. #send-hooks send-hook '!(~t @deep-thought)' 'my_hdr From: [EMAIL PROTECTED]' The reason mail works for other programs may be that they can talk to the smarthost SMTP directly if so configured. Netscape can, for sure, don't know kmail. I configured netscape and that to use localhost as SMTP so that sendmail will do the task. From [EMAIL PROTECTED] Fri Feb 11 14:18:42 2000 Return-Path: [EMAIL PROTECTED] Received: from localhost (localhost [127.0.0.1]) by deep-thought.seidenbergstr (8.9.3/8.9.3) with ESMTP id OAA00858 for t@localhost; Fri, 11 Feb 2000 14:18:42 -0500 Received: from pop.studserv.uni-stuttgart.de by localhost with POP3 (fetchmail-5.2.0) ^ this header was added by sendmail cause I use fetchmail to get my mails fetchmail forwards the mail form my ISP to the local SMTP port for t@localhost (single-drop); Fri, 11 Feb 2000 14:18:42 -0500 (EST) This envelope sender is meaningless outside your own machine, and you should use sendmail -f as someone else pointed out. s.o. [t@deep-thought ~]$ mailq Mail Queue (2 requests) --Q-ID-- --Size-- -Q-Time- Sender/Recipient # message written with mutt VAA010409 Fri Feb 11 21:50 t (host map: lookup (bigfoot.de): deferred) [EMAIL PROTECTED] # message written with netscape VAA01058 10 Fri Feb 11 21:51 [EMAIL PROTECTED] (host map: lookup (studserv.uni-stuttgart.de): deferred) [EMAIL PROTECTED] This mailq output actually obscurs the problem. Do you have a problem with DNS, or was the queue snapshot taken while the machine was offline? In either case, it is probably a good idea to have the smarthost listed in /etc/hosts. the mashine was offline at that time. Netscape talks to SMTP directly and uses the From: for the envelope (which makes it so simple to spoof email addresses in netscape). Mutt, OTOH, does not use of sendmail's -f option by default, i.e. the envelope sender is localuser@localhost (in your case t@deep-thought, or just t). It may well be that some SMTP's out there deny non-FQHN envelopes (I certainly do), but you would probably get a bounce message then. In any case, a look at the maillogs may help (/var/log/maillog or /var/log/messages). The logs from the smarthost would be useful as well, but you probably won't be able to get access to them. This problaby was the right hint. I added a new send-hook so that sendmail's -f option is used for all non-local mail and it seems that I can reach some host now to which mails simply got lost before. Thanks to everyone for all the help! Michael
Re: peculiar requirement (maybe)
On Mon, Feb 14, 2000 at 06:56:41PM +0100, Frank Joerdens wrote: Is it possible to configure mutt to not show the message DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA which is generated by my IMAP/POP3 server? I could have it appended to ~/mbox in which case I wouldn't see it when looking at /var/spool/mail/frank but since I read my mail both via telnet and IMAP client this is not really a good solution because the IMAP client transfers everything to ~/mbox if it is present, and all is gone from /var/spool/mail/frank . . . I could use the IMAP capabilities of mutt to have mutt open {localhost}inbox instead of /var/spool/mail/frank but that is not really stable since the server times out and mutt gets confused and cannot reopen the timed-out mailbox . . . Use mutt's scoreing functions. in case it's rather easy to set up a rule which will make that message unshown. Cheers, Michael
Re: mail_check
On Thu, Mar 23, 2000 at 06:42:52PM +0100, Erik Thiele wrote: mail_check: i set it to 1. but when i strace mutt, it doesn't do something if i don't press keys. neither in mutt -y overview mode, nor when viewing a folder. only if i press cursor keys or other keys, it looks for new mail. what have i done wrong ? instead of $mail_check use $timeout. I set timeout=30 so if I don't press a key for 30 sec. mutt will check for new mail. Michael
Re: [CLUG] Mutt
On Fri, Mar 24, 2000 at 06:57:54AM -0600, Jason Helfman wrote: My only complaint with Mutt is you can't (I think) hilite the index by subject. I'd like to have the different mailing lists that I'm on have a different color. I've only been able to hilite by status. new, deleted, tagged, or flagged. Sure you can :) color index foregorund-color backgrund-color "~s Subject" To have different mailinglists in different colors try i.e. color index fg bg "~C mutt-users" Michael
Re: keeping new flag
On Mon, Mar 27, 2000 at 07:05:24PM +0200, supio wrote: I'm using mutt 1.0.1i. Every time i quit a mailbox containing new mails, the "N" flag of this mailbox is gone (in the mailbox index). Is there a way to keep this flag, so you can always see in which mailbox new (or unreaded) mails are (or change it to "O")? Just type "x" instead of "q" to quit mutt Michael
Re: default save folder
Hi! On Wed, Mar 29, 2000 at 10:32:16PM +0200, Jean-Charles Bagneris wrote: Of course, each time I press 's', I have to give the name of the folder I want to save to. So my question is : is there a way to give (in a folder-hook may be) a default name for the archive folder ? Put something like save-hook pattern folder-to-save-to in your .muttrc If you want to have the whole thread i.e. even your own mails in that folder use that fcc-save-hook command. Michael
Re: 2 index option questions
On Fri, Mar 31, 2000 at 06:35:39PM +0100, J McKitrick wrote: 1. When i respond to a mailing list, i would like my message to NOT show up in my mailbox. SO far, i have been using 'g' group reply for mailing lists. DO i want list reply instead? If you want MfT-Headers to be created, then YES you want to. Or is there an option i need to set for this? subscibe list for lists you are subscibed to, or lists list for lists you know of (does anybody really need this?) 2. Is there a funtion for save-thread? I know there is a delete-thread, but i haven't seen a save-thread. AFAIK not. I use "esct" (tag-thread) and then ";s"
Re: 2 index option questions
On Fri, Mar 31, 2000 at 08:09:20PM -0500, Michael Tatge wrote: On Fri, Mar 31, 2000 at 06:35:39PM +0100, J McKitrick wrote: 1. When i respond to a mailing list, i would like my message to NOT show up in my mailbox. SO far, i have been using 'g' group reply for mailing lists. DO i want list reply instead? If you want MfT-Headers to be created, then YES you want to. Ups, sorry just missed that MfT-Header are created when group- replying,too. To get forther information about the lists/subscribe commands see docs. Or is there an option i need to set for this? subscibe list for lists you are subscibed to, or lists list for lists you know of (does anybody really need this?) 2. Is there a funtion for save-thread? I know there is a delete-thread, but i haven't seen a save-thread. AFAIK not. I use "esct" (tag-thread) and then ";s"
change width of index fields
Hi all! Does anybody know of a way to change the width of the index columns? 102 F Feb 14 To wunderkind@c ( 9) Re: HRK-Mitschnitt Deutschland ^^^ As you can see sometimes the sender/to field does not fit. Any hints? Michael
Re: 2 index option questions
On Fri, Mar 31, 2000 at 07:27:06PM +0100, J McKitrick wrote: On Fri, Mar 31, 2000 at 08:09:20PM -0500, [EMAIL PROTECTED] wrote: On Fri, Mar 31, 2000 at 06:35:39PM +0100, J McKitrick wrote: 1. When i respond to a mailing list, i would like my message to NOT show up in my mailbox. SO far, i have been using 'g' group reply for mailing lists. DO i want list reply instead? If you want MfT-Headers to be created, then YES you want to. ^^^ What are these? Mail-Followup-To Header. From the manual: 4.8 Handling Mailing Lists [snip] Mutt also supports the Mail-Followup-To header. When you send a message to a list of recipients which includes one or several subscribed mailing lists, and if the $followup_to option is set, mutt will generate a Mail-Followup-To header which contains all the recipients to whom you send this message, but not your address. This indicates that group-replies or list-replies (also known as `followups'') to this message should only be sent to the original recipients of the message, and not separately to you - you'll receive your copy through one of the mailing lists you are subscribed to. Conversely, when group-replying or list-replying to a message which has a Mail-Followup-To header, mutt will respect this header if the $honor_followup_to configuration variable is set. Using list-reply will in this case also make sure that the reply goes to the mailing list, even if it's not specified in the list of recipients in the Mail-Followup-To. Note that, when header editing is enabled, you can create a Mail-Followup-To header manually. Mutt will only auto-generate this header if it doesn't exist when you send the message. Michael
Re: change width of index fields
On Sat, Apr 01, 2000 at 12:13:43AM +0200, Byrial Jensen wrote: On Fri, Mar 31, 2000 at 21:37:15 +0100, J McKitrick wrote: On Fri, Mar 31, 2000 at 09:25:26PM -0500, Michael Tatge wrote: Hi all! Does anybody know of a way to change the width of the index columns? 102 F Feb 14 To wunderkind@c ( 9) Re: HRK-Mitschnitt Deutschland ^^^ As you can see sometimes the sender/to field does not fit. Thi si sonly a hint, since i'm not exactly sure of the format. Int he format strings, you can use C-style formatting, like %15.15L will show the L field (i forget what it is) with 15 characters, i think. It's dsomething like that. That's right. The first number is the minimal width of the field, and the number after the dot is the maximal width of the field. Both numbers are optional. The dot belongs to the second number. Thanx, that did it. Michael -- --- This signature was added just to have one. ;-) ---
Re: gpg - .muttrc vs. .mutt.personal
Hi! On Sun, Apr 02, 2000 at 07:07:58AM +0200, Michal Hajek wrote: Hello, can anyone please help to solve this problem : I have in my .muttrc set pgp-autosign source .mutt.personal I have put send-hook this.peoplewhodontlikesig'[EMAIL PROTECTED] "unset pgp-autosign" But, this seems to overide my .muttrc, since now mutt behaves so, that no one gets signed mail by default. This only happens if you sent mail to s.o. who's listed in your .mutt.personal first right? Or your .mutt.personal is broken. What's the pgp-autosign value when you start mutt? (:set ?pgp-autosign) Add "send-hook . 'set pgp-autosign'" to your .mutt.personal. Note: It should be in front of any send-hooks that alter pgp-autosign. Thus it's the default that only get's overwritten if one of the other send-hooks matches. And it "resets" the pgp-autosign value when sending to people not listed. Michael -- This signature was added just to have one. ;-)
Re: gpg - .muttrc vs. .mutt.personal
On Sun, Apr 02, 2000 at 07:07:58AM +0200, Michal Hajek wrote: Hello, can anyone please help to solve this problem : I have in my .muttrc set pgp-autosign source .mutt.personal but, I would like for some people, who wish not to receive signed mail, to have unset pgp-autosign. By the way, the variable is called pgp_autosign maybe it's that simple! Michael -- This signature was added just to have one. ;-)
Re: help, set from=xxx
On Sun, Apr 02, 2000 at 10:35:29PM -0700, Neelakanth Nadgir wrote: When ever I send email to anybody in the gnu.org domain, I want my "From" address to be [EMAIL PROTECTED] I have the following set up in my muttrc file mutt complains "set: unknown variable" = send-hook '(~C gnu|~t gnu)' "set signature=~/.sig.gnu \ set [EMAIL PROTECTED] \ my_hdr Reply-To: Neelakanth Nadgir [EMAIL PROTECTED]" == The manual says: Usage: send-hook [!]pattern command ^^^ IMHO this means you have to divide this send-hook into three separate ones. By the way, you don't need ~t since ~C matches to: and cc:. Michael -- This signature was added just to have one. ;-)
Re: help, set from=xxx
On Mon, Apr 03, 2000 at 04:13:41PM +0300, Mikko Hänninen wrote: [snip] [send-hooks] Additionally, you need to put a ; between commands Hey, good to know. This could simplify my muttrc in a lot of cases. :-) Michael -- This signature was added just to have one. ;-)
Re: Alias for a big name list
Subba Rao wrote: Hi, I can create individual user aliases fine. How can I create an alias for a list of users ( about 30 )? alias listname addr1, addr2, addr3 It's much easier if you already have aliases for the members of the list. Then: alias listname alias1, alias2, alias3 I didn't test whether you have to set $reverse alias then. Michael
OT? Proposal: Third sorting key
Hi all! I just played around with the $sort_aux variable and I came to the opinion that a third sorting key is needed. It's a bit annoying that $sort_aux controls how threads are sorted against other threads _and_ the thread internal sorting. My problem: I want threads with the newest date sorted before older threads. - set sort_aux=reverse-date which does what I want _but_ the thread internal sorting is "reverse-dated", too. The "last-" prefix doesn't help me here. Therefore it would be nice to have a third variable to control thread internal sorting. What do you think about this? Michael -- This signature was added just to have one. ;-)
Re: OT? Proposal: Third sorting key
On Wed, Apr 05, 2000 at 09:18:47PM +0200, Marius Gedminas wrote: Yes. I'd like to sort by To: field, then by thread, and then by date ^^ Do you mean Subject: field here? If not how do you want to sort mails by To: field and sorted in threads at the same time??? You can sort threads against other threads by the To: field of cause. (and I also want to group messages with the same Message-Id together). ??? One of my secret wishes for 1.3 (it's too big for 1.2) is to see current sorting interface changed to a more consistent set sort=key1, key2, ... What should be the semantic of this $sort variable then? I think it's better to have three different sorting vars. Like $sort (how to sort mails), $sort_aux (secound sorting key) and $thread_sort(if $sort=threads, how to sort threads internally), for instance. $sort and $sort_aux could be merged into a new $sort= key1, key2 maybe. Michael -- This signature was added just to have one. ;-)
Re: OT? Proposal: Third sorting key
On Wed, Apr 05, 2000 at 05:40:07PM +0200, Gero Treuner wrote: On Wed, Apr 05, 2000 at 04:52:44PM -0400, Michael Tatge wrote: My problem: I want threads with the newest date sorted before older threads. - set sort_aux=reverse-date which does what I want _but_ the thread internal sorting is "reverse-dated", too. The "last-" prefix doesn't help me here. You can achieve this by "set sort=reverse-thread" and "set sort_aux=date", as I did a very long time for certain mailboxes. No, you misunderstood me. I want to sort by threads, threads against other threads sorted by reverse-date, threads internally sorted by date. A satisfying fix (without adding bloat) isn't trivial with the current implementation, I don't know when I have the time to think about it. Maybe for 1.3 :-) Michael -- This signature was added just to have one. ;-)
Re: display
On Wed, Apr 12, 2000 at 03:19:48PM -0700, Ryan M. wrote: Quick question. What do I need to set to specially format the way each message is listed... in a list of messages in a mail box? I think you mean the message index. Have a look at $index_format. Michael -- WAIT
Re: feature request: graft and prune functions
On Wed, Apr 19, 2000 at 05:11:26PM +0200, Thomas Roessler wrote: On 2000-04-19 14:57:10 +0300, Mikko Hänninen wrote: If I remember the thread right, this request came about partially because you can't do the "graft" function when sending messages. Even if you use edit-headers and include a correct References header, Mutt will remove it before sending. Without checking this in the code, I seem to recall that adding an In-Reply-To header _plus_ a References header will make things work. Right, just grab your favrite editor and there you go. Michael -- You can be replaced by this computer. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: [newbie] Hostname, localhost.localdomain
On Mon, Apr 24, 2000 at 09:20:06PM +0530, Rishi Maker wrote: Rishi was happy when ;-) Michael Hong wrote this on Mon, Apr 24, 2000 at 02:30:23AM -0400 Glenn Bajana wrote: ... I've ``set hostname=curly''. This only appears in the Mutt message-ids, i.e., local mail I compose for tests shows in vi as glenn@curly, but when received it appears as [EMAIL PROTECTED] Local emails (in Mail as well as Mutt) show localhost.localdomain in the message-ids. ... Hi, I think you need to setup masquerading for sendmail as previously suggested but if you want the headers to show glenn@curly and curly.localdomain instead of [EMAIL PROTECTED] and localhost.localdomain you could try putting this in /etc/HOSTNAME: curly.localdomain and in /etc/hosts put: 127.0.0.1 localhost 127.0.0.2 curly.localdomain curly This is fine with me and works to send the mails to the previous nonresponsive domains but it has created a problem now i cant poll my ISP which is bom7.vsnl.net.in and defined in my /etc/hosts file as 127.0.0.2 so i have to poll at the IP address. No problem but the entire setup looks ugly Why, would you want your ISP to be 127.0.0.2 ? Change that /etc/hosts entry to the correct IP and you'll be fine. Michael -- Recursion is the root of computation since it trades description for time. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Bug in mutt 1.0.1i: ^C can freeze login session
On Tue, Apr 25, 2000 at 02:30:25PM -0700, David Kalins wrote: Version: 1.0.1i Menu: Compose Command(s): f and c When I have used the f command (to add an Fcc: value) or the c command (to add a Cc: value) and when I use Cnt-C to cancel before adding the Fcc: or Cc: value, mutt aborts and returns to the Unix shell prompt, but the session is thereupon frozen and no longer responds to anything done on the keyboard. I just tried to reproduce this with mutt 1.1.11i under Linux. ^C leads to the 'Exit Mutt? ([y]/n)' prompt, it doesn't freeze. The only odd think that occurs is that when pressing 'y' to exit the string 'yes' gets printed on a shell prompt, without any disturbing effect. I found it really easy to completely freeze my login session by using ^C to cancel out of adding an Fcc: or a Cc: value using the f or c commands while composing a message. I know now the FAQ suggests using ^G, but ^C was the obvious choice to me as a Unix person. I could imagine alot of people might get screwed up this way. Well, in fact under Unix there is no standard for keyboard shortcuts. Think of how programs use ALT vs. CTRL. With mutt it's kind of logical to quit after ^C because that's what I would expect to happen. Many known programs use ^G to escape out of a function, so I'm quite happy with it. Michael -- Equal bytes for women. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: hooks
On Tue, May 09, 2000 at 08:01:44PM +0200, [EMAIL PROTECTED] wrote: what might be the difference between send-hook and fcc-hook? AFAIK there is no fcc-hook. There is a fcc-save-hook which is a save-hook which also sets FCC to the given folder while sending mail. Michael -- A programming language is low level when its programs require attention to the irrelevant. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: hooks
On Wed, May 10, 2000 at 08:51:41AM +0200, Thomas Roessler wrote: On 2000-05-10 03:12:28 +0200, Michael Tatge wrote: AFAIK there is no fcc-hook. There is a fcc-save-hook which is a save-hook which also sets FCC to the given folder while sending mail. From the muttrc (5) manual page: save-hook [!]pattern filename When a message matches pattern, the default file name when saving it will be the given filename. fcc-hook [!]pattern filename When an outgoing message matches pattern, the default file name for storing a copy (fcc) will be the given filename. fcc-save-hook [!]pattern filename This command is an abbreviation for identical fcc- hook and save-hook commands. Ok, I surrender ;-) It's nice, you can always lern new stuff about mutt. Michael -- Go away! Stop bothering me with all your "compute this ... compute that"! I'm taking a VAX-NAP. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: /tmp persists to be used
Hi! On Thu, May 11, 2000 at 06:19:21PM -0500, Corey G. wrote: It seems that Mutt wants to leave temp files hanging around in /tmp. This confuses me because I have the following in my .muttrc. set tmpdir = ~/tmp However, I continue to find files lingering around in /tmp. Even though these files are read only for myself it's generally good to clean up after yourself and not invite people to try to read your temp files. I just tested this on RH 6.2 with joe as editor. Mutt uses the given tmpdir=~/tmp and the mutt-* files are correcly deleted when the mail is sent. Perhaps you set wrong permission for the tmpdir? Could it possibly be "VIM" that is leaving these files? If so, does anyone know the option to move it's temporary file? Do you have a sort of auto-save enabled? If you save the file manually and abort sending in mutt the file won't be deleted. Michael -- PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: 'browser' - what is it?
On Fri, May 12, 2000 at 08:57:40AM +0100, Chris Green wrote: In general I think I'd prefer the browser to *always* start from $folder or, even better, from some user-definable directory. I can get back to see my $spoolfile with 'c!', I can get back to a mailbox in $folder with 'c=mailbox name but there's no simple way to get the browser back to starting from $folder again. There is a rather uncomfortable way to achieve this. Type c?cPath/to/folder Michael -- When we write programs that "learn", it turns out we do and they don't. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: 'browser' - what is it?
On Sat, May 13, 2000 at 11:43:52AM +0800, Greg Matheson wrote: On Fri, May 12, 2000 at 05:00:37PM +0200, Michael Tatge wrote: On Fri, May 12, 2000 at 08:57:40AM +0100, Chris Green wrote: In general I think I'd prefer the browser to *always* start from $folder... There is a rather uncomfortable way to achieve this. Type c?cPath/to/folder And this could be made a folder hook, couldn't it. Unfortunately the change-dir prompt can't be overtyped as it is with the change-folder prompt. Does anybody know the reason for this? Currently you would have to delete the string at the prompt first which is kind of difficult within a macro. A very clumsy way to do it would be macro index key c?cbackspacebackspacebackspace...[as often as needed]/path/to/$folder\n I had the opposite problem. I wanted to get back to the place in the mailboxes screen I had just been so I now have 38 folder-hooks in my .muttrc of the form: folder-hook . 'macro index h change-folder?tabjumpenter0enter' folder-hook '!' 'macro index h change-folder?tabjumpenter1enter' folder-hook =tn 'macro index h change-folder?tabjumpenter2enter' I'm not sure if I understand you correctly. This way to are only able to go from one folder to a specific other one. So folder-hook =tn 'macro index h c=whatever mailbox #2 is in you example' would do the same, right? In this case I would prefer changing mailboxes manually rather then having a lot folder-hooks. But that's certainly personal stile. Michael -- Swap read error. You lose your mind. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: mailbox sort order
On Mon, May 15, 2000 at 09:01:13AM -0400, Hardy Merrill wrote: I sent a similar message a week or two ago, but didn't get any responses that helped solve my problem - so I'm trying again. I have these folder-hook's defined in my muttrc: folder-hook =INBOX-Mutt set sort=reverse_date_received folder-hook =in-l-dbiusers set sort=threads folder-hook =in-l-muttusers set sort=threads I'm noticing that then I view either dbiusers or muttusers mailbox, and then go back to INBOX-Mutt, that the order of the INBOX-Mutt is *NOT* reverse_date_received like I specified - I have to manually sort it each time I go back to it. The sort option is 'reverse-date-received' try this one. BTW you could shorten is one by: folder-hook . set sort=threads # if this is what you want folder-hook =INBOX-Mutt set sort=reverse-date-received When you alter options with hooks you normally want to set a default, that 'resets' your option. Michael -- You have junk mail. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: REs for folder-hook
On Mon, May 15, 2000 at 04:42:51PM +0100, Chris Green wrote: I am trying to set my folder_format using folder-hook, I'm having terrible trouble generating any RE that matches a folder at all at the moment. folder-hook . 'set folder_format="%N %7s %f"' which works OK, I do get that folder_format, for *everything*! The question is how to match a remote IMAP folder name, the folder name will always start "{x-1.net:50143}" but whatever I try doesn't seem to work. I have even tried matching some local folders but I can't get them to work either. I have triend folder-hook x-1 'set folder_format="%N %F %f"' folder-hook 50143 'set folder_format="%N %F %f"' folder-hook .x-1 'set folder_format="%N %F %f"' folder-hook ^{ 'set folder_format="%N %F %f"a Sorry, I don't know about IMAP, but ... I also tried:- folder-hook AFM 'set folder_format="%N %F %f"' to match a local folder called AFM but that didn't work either. ... this one should work. I just tested folder-hook box ... to match =inbox. It works, so obviouly you only need to match a substring of the foldername, which is the desired behavior since we're talking about regexp. To be more specific a substring of the PATH. folder-hook in ... matches =inbox aswell as =mailinglists/MUTT ^^ ^^ Consequently folder-hook me ... matches every folder located somewhere under /home ^^ Therefore, to match folders in your $folder you should always use a '=' in front of the foldername. I am fairly familiar with REs. However it's not clear (to me) from the mutt documetnation how the folder-hook REs are supposed to match should they match anywhere in the folder name or do they always start matching from the first character? Also does one have to match the whole string? s.a. From the manual: 3.5 Setting variables based upon mailbox Usage: folder-hook [!]regexp command [snip] and regexp being described as: 4.1 Regular Expressions All string patterns in Mutt including those in more complex patterns must be specified using regular expressions (regexp) in the `POSIX extended'' syntax (which is more or less the syntax used by egrep and GNU awk). [snip] all tested with mutt-1.2 which shouldn't matter anyway. Michael -- It was kinda like stuffing the wrong card in a computer, when you're stickin' those artificial stimulants in your arm. -- Dion, noted computer scientist PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: 2 IMAP questions again
On Tue, May 16, 2000 at 11:03:39AM -0500, David Champion wrote: On 2000.05.16, in [EMAIL PROTECTED], "Brendan Cully" [EMAIL PROTECTED] wrote: don't know which clients can make use of that yet). The best option is just to use IMAP always or never, probably. I don't think that's realistic, as long as non-IMAP access is possible, for some people. But I guess what I'm asking about can be done with a bit of limit code and a push. It's surprising how many calls our tech support line gets where callers are worrying about "DO NOT DELETE THIS MESSAGE" messages, asking whether they're viruses, etc. Try folder-hook . 'push "l!~s DO NOT DELETE THIS MESSAGE\n"' or folder-hook . 'push "l!~f Folder internal Data\n"' or how the sender is specified. HTH, Michael -- fortune: No such file or directory PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: /tmp persists to be used
On Fri, May 12, 2000 at 12:32:49AM +0100, Telsa Gwynne wrote: On my RH 6.1 box with mutt-1.0pre3i and a muttrc that doesn't set a tmpdir and sets joe as the editor, I have much the same: files of the style mutt-aloss-31900-47~ [hobbit@aloss ~]$ ls /tmp | grep mutt | wc -l 73 Ouch. *grin* I use editor="joe -nobackups" for this purpose. Michael -- 1: No code table for op: ++post PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: 'browser' - what is it?
Hi! On Sat, May 13, 2000 at 05:23:47PM +0200, Stefan Bender wrote: Michael Tatge wrote on Sat, May 13 2000 16:51:34: On Sat, May 13, 2000 at 11:43:52AM +0800, Greg Matheson wrote: On Fri, May 12, 2000 at 05:00:37PM +0200, Michael Tatge wrote: On Fri, May 12, 2000 at 08:57:40AM +0100, Chris Green wrote: In general I think I'd prefer the browser to *always* start from $folder... There is a rather uncomfortable way to achieve this. Type c?cPath/to/folder And this could be made a folder hook, couldn't it. [...] A very clumsy way to do it would be macro index key c?cbackspacebackspacebackspace...[as often as needed]/path/to/$folder\n Can't you use ^u for this? Afaik it deletes the whole line at once. I looked it up, the function is called kill-line, defined in functions.h. So the macro would be macro index key c?c^u/path/to/$folderenter or macro index key c?ckill-line/path/to/$folderenter (just tested :) Ah, I new there was a function to do, but I couldn't remember. Nice. So this one should work for the original poster. Michael -- If you have a procedure with 10 parameters, you probably missed some. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: .fetchmailrc
Suresh Ramasubramanian muttered: Michael Tatge proclaimed on mutt-users that: I use: # Host 1 poll host1.domain1 protocoll pop3 usename someuser1 there is localuser1 \ here password somepasswd1 Fetchmail run in multidrop mode is dodgy - use procmail as your MDA. Do this instead: poll host.domain with proto pop3 user username with password pass wants mda\ "sed -e '1s/^\t/Received:/' | formail | /usr/bin/procmail -d user" This will work out much better. I'm quit happy with this setting. Works like charm :-) Michael -- Please go away. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: .fetchmailrc
Suresh Ramasubramanian muttered: Michael Tatge proclaimed on mutt-users that: poll host.domain with proto pop3 user username with password pass wants mda\ "sed -e '1s/^\t/Received:/' | formail | /usr/bin/procmail -d user" This will work out much better. I'm quit happy with this setting. Works like charm :-) Which one? multidrop (the one above) or the procmail? multidrop AFAIK, multidrop can mishandle mail delivery, and dump a few mails to the root (or whatever mailbox you run fetchmail from). That _never_ happend to me. Michael -- I've looked at the listing, and it's right! -- Joel Halpern PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: threading problem
Gary Johnson muttered: All the times in the Received: headers and the From header are consistent, but the original poster's clock seems to be fast by an hour. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | RF Communications Product Generation Unit | Spokane, Washington, USA So, to get the threading in the way to want it just set the Date: header of that message to a reasonable value and you'll be fine. Michael -- If you teach your children to like computers and to know how to gamble then they'll always be interested in something and won't come to no real harm. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: threading problem
clemensF muttered: Michael Tatge: So, to get the threading in the way to want it just set the Date: header of that message to a reasonable value and you'll be fine. that's cool! whenever you suspect something's fishy, you just wade thru your email to check the sequence of dates? or did you already write the program for that? I didn't do that, it was the original poster, that already did it. If he for God's sake can't live with the wrong threading, editing the header seems to be the easiest workaround. If you find this cool, buy a coat. You'll be warmer then. :) Michael -- RAM wasn't built in a day. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: bounced messages
[EMAIL PROTECTED] muttered: Do bounced messages include attachments? Yepp! HTH, Michael -- Usage: fortune -P [] -a [xsz] [Q: [file]] [rKe9] -v6[+] dataspec ... inputdir PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: pgp-key in mutt-1.2
Clemens Wohld muttered: With mutt-1.1xx I have send pgp-mails without to selekt the key. Mutt has used the right one, so I dont have to do this. Now, with mutt-1.2 I have to select every pgp-key :( What can I do? Dont want select anytime the key and pusch Enter. Any idear's ?? -*- PGP5, mutt 1.2 -*- Maybe the pgp-hook command could be of help here? 3.18 Choosing the PGP key of the recipient Usage: pgp-hook pattern keyid When encrypting messages with PGP, you may want to associate a certain PGP key with a given e-mail address automatically, either because the recipient's public key can't be deduced from the destination address, or because, for some reasons, you need to override the key Mutt would normally use. The pgp-hook command provides a method by which you can specify the ID of the public key to be used when encrypting messages to a certain recipient. HTH, Michael -- FORTH IF HONK THEN PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: unset strict_threads not working?
Mikko Hänninen muttered: 1) I *think* (not sure) that if you have had it set, and unset it, you need to make Mutt re-sort the folder. Either re-open it, or change the sort older... Not sure, although it would be easy enough to test. :-) Just tested it. If you set strict_threads mutt performs the new threading on the instance. Being paranoid doesn't mean that they *aren't* out to get you. Wisely spoken ;-) HTH, Michael -- The steady state of disks is full. -- Ken Thompson PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: save-hook problem PART-II
Sergei Gerasenko muttered: save-hook [EMAIL PROTECTED] +test This is supposed to move all read mail coming from [EMAIL PROTECTED] (my email address) to "test". The above hook is the only save-hook in the muttrc right now. So, there shouldn't be any conflict there. I also have a couple of ignore statements at the very beginning. Initially I thought that the "From:" field was weeded out somehow and I commented out all the ignore lines. But alas that didn't help either. As Mikko already told save-hooks only get executed when you're (s)aving mail. If you want to sort your mail to different folders automaticly use procmail instead. HTH, Michael -- It was kinda like stuffing the wrong card in a computer, when you're stickin' those artificial stimulants in your arm. -- Dion, noted computer scientist PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: new folders
[EMAIL PROTECTED] muttered: is mutt able to create new folders? If you want to create a new message-folder that's done simply by saving a message to a new "foldername". If you want to create a new directory say in your $folder you'll need to create $folder/mailinglists/ first, be a able to save messages in =/mailinglists/mutt. Mutt will not create parent dirs as needed. HTH, Michael -- All your files have been destroyed (sorry). Paul. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Discovering Mutt
Dale Morris muttered: As a new and excited happy user of mutt, and only 6 months into Linux Well, then welcome to the mailclient that just sucks less and to the wonderfull - but sometimes confusing - world of unix. I would suggest something similar to the newbie files on Linuxnewbie.org, directions and manuals that are written so simply that a newbie can easily follow them. I admit to having to be led by the hand occasionally Good, so it'y your turn to write them :) Sometimes only a newbe is able to tell want's relly missing in a manual. HTH, Michael -- Pascal is not a high-level language. -- Steven Feiner PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: .mailcap file
Dale Morris muttered: I've never been able to get slrn to open or autoview an image file after it's downloaded. # .mailcap image/gif; ee %s image/jpg; ee %s Seems correct. Maybe you should put these lines into /etc/mailcap. AFAIK ~/.mailcap will not be considered by every program. I have 'image/*; ee %s; copiousoutput' in my /etc/mailcap and it works fine. I don't know about autoviewing with slrn what do the docs say about it? With mutt you would need the 'copiousoutput' option to do autoviewing maybe with slrn it's the same? HTH, Michael -- The more data I punch in this card, the lighter it becomes, and the lower the mailing cost. -- S. Kelly-Bootle, "The Devil's DP Dictionary" PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: request for reply-to-all function?
Eugene Lee muttered: The feature that I've missed the most from other mailers is some kind of reply-to-all function that, given a email message, composes an normal reply to the sender's email address, but also takes all the email addresses in the "To:" header and adds them to the "To:" header of the reply. Group reply only composes a normal reply but instead puts all the "To:" email addresses into the "Cc" header. i.e. all recipients of the original message will get your reply. Does it really matter whether they are in the To: oder Cc: header? HTH, Michael -- Ignorance is bliss. -- Thomas Gray Fortune updates the great quotes, #42: BLISS is ignorance. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Startup in compressed thread mode
Gerhard den Hollander muttered: How can I have a mailfolder by default start Up in compressed thread mode ^^ collapsed? and then type [ESC]-V obviously but I'd like it if I could get the folder to start up like that. folder-hook mutt 'set sort=threads; push collapse-all' you will probably define this one somewhere else. HTH, Michael -- The Macintosh is Xerox technology at its best. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: [bug?] pager_index_lines
Marius Gedminas muttered: Today a strange thing occured to me: setting pager_index_lines to 4 or 10 (I have macros for this) gave me just one index line on top. I've checked (with :set pager_index_lines=tab) that the value was correct. After restarting mutt things were back to normal. Has anyone else experienced this? I'm using Mutt 1.2. Suresh Ramasubramanian muttered: I have not been able to repro this on mutt 1.3 (standard ./configure and make install) Me not either with mutt-1.2i. Are you sure you had more than 1 message in the folder? HTH, Michael -- Overflow on /dev/null, please empty the bit bucket. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Why mutt is the best mail program?
Martynas Kriauciunas muttered: he asked me to tell some things what mutt can do that other mail programs can't (Pine or Mailx). Now I'm asking You. The _real_ answere to your question is: 'Cause it sucks less ;-) Michael -- What this country needs is a good five cent microcomputer. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Macro to change role
Vincent Danen muttered: Just because I was bored today I switched to mutt (don't ask why, I'm not sure myself) and so far I'm somewhat impressed. You will find better reasons once to get used to mutt, I'm sure :-) I search the archive and couldn't find a satisfactory answer to this question... Search for profile and you'll find everything you need. I used the Pine roles somewhat exclusively. I've got this, my default email address, but I also send out "admin" messages at times that need a different email address. These messages are also put into a folder by the name of "freezerburn" by procmail. It is far easier use different rcfiles for different roles. You could write macros to change between them. # ~/.profile-admin signature=~/.signature-admin my_hdr From: Freezer Burn Admin [EMAIL PROTECTED] ... #~/.profile-xyz ... # ~/.muttrc [your normal setting] macro index \ea ':source ~/.profile-admin' "Change profile to admin" macro index \eo ':source ~/.muttrc' "Reset profile to default" ... Or you could use folder- / send-hooks to change profiles automaticly. I've spent about an hour now trying to make a macro (\ea) to set the signature to ~/.signature-admin and to change the From: line with my_hdr but I can't get it to work. macro index \ea 'set signature=~/.signature-admin; \ my_hdr From: Freezer Burn Admin [EMAIL PROTECTED]' You forgot to set the ':' since you want to execute commands. macro index \ea ':set signature=~/.signature-admin; \ my_hdr From: Freezer Burn Admin [EMAIL PROTECTED]' This should work, unless you have any default sent-hook which overwrites these settings. I also tried the send-hook command to match me replying to all messages in the freezerburn mailbox send-hook =freezerburn 'set signature=~/.signature-admin; \ my_hdr From: Freezer Burn Admin [EMAIL PROTECTED]' but I think I might just be confused on that part (should I put in send-hook "[EMAIL PROTECTED]" instead of the folder name? Yes, this is how send-hooks work :) See the manual. If you want to change something based on the folder you're in use the folder-hook command. ie. someone sends a message to admin@... and I want to reply with that same email address). Unfortunatly it's not possible to match any header of a message to be replied. Since you sort mail addressed to admin@... in the =freezerburn folder use: folder-hook =freezerburn 'set signature...' I think I know where I went wrong with the send-hook, but why won't the macro work properly? Do I need to put a compose command in there somehow? I'm a little lost on how to write the macros properly... You don't need no compose command. s.o. HTH, Michael -- Behind every great computer sits a skinny little geek. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
gpg (was: Re: Sender rejected)
Dennis Robertson muttered: I can't seem to get anything to work first time with mutt. I installed gnupg, copied the gpg.rc file to ~/ and tried to send a signed message to myself. I get: Can't open PGP subprocess!: no such file or directory. most likely you forgot to source the file in your muttrc HTH, Michael -- To the systems programmer, users and applications serve only to provide a test load. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: undelete messages
Vincent Danen muttered: Thanks. Now, is there any way to bind the arrow keys to use the J/K action instead of the j/k action? That would be really nice... Sure, it's mutt :-) Read the manual. You want to bind previous- / next-entry to up / down in the index. (section 6.2) HTH, Michael -- BASIC is the Computer Science equivalent of `Scientific Creationism'. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Reply to all???
Telsa Gwynne muttered: How would I go about replying to all Why the heck is this becoming a FAQ? Doesn't anyone RTFM anymore? Because it's simple yet non-intutive? It depends where you're coming from. I have a theory about most people's use of the word 'intuitive'. I don't think it means 'obvious' at all. I think it means 'the most similar to the first interface I learned to use well'. Right, 'intuitive' seems to refer to 'what you are used to'. This reminded me of this nice fortune cookie :) The only "intuitive" interface is the nipple. After that, it's all learned. (Bruce Ediger, [EMAIL PROTECTED], in comp.os.linux.misc, on X interfaces.) Michael -- Algol-60 surely must be regarded as the most important programming language yet developed. -- T. Cheatham PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Unwanted PGP key added ?!?
Stewart V. Wright muttered: I just looked at the message sent from "fman [EMAIL PROTECTED]" to this list (Subject: Re: Reply to all???). fman included a gpg public key as his(?) signature. the stranger thing is that when I viewed the message the key was AUTOMATICALLY added to my pgp key-ring. Is this usual behavior? I have not noticed keys being added automatically to my key-ring before... Well yes and no. The default pgp behavior is to verify signatures i.e. pgp tries to connect to a key-server and inserts that key into your public key-ring. You can avoid that by setting pgp_verify_sig to 'ask-no' or 'no'. gpg can be configured to use a different key-ring. Read the manual for further instructions. HTH, Michael -- The first version always gets thrown away. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: suggestion
Shawn D. McPeek muttered: And mention that a 32 line sig on a 3 line message is a bit excessive :) [full quote deleted] The same goes to full quoting of cause :-) And - to whom it may concern - quoting sigs! HTH, Michael -- Prof:So the American government went to IBM to come up with a data encryption standard and they came up with ... Student: EBCDIC!" PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: save-hook not working
jon rust muttered: save-hook =customer.in =archived/customer However, when I press 's' while reading a message, or while in the folder index (in customer.in) it guesses at the save file name (based on the From: address). What am I missing? In memory of the recent discussion on this list: RTFM. Your save-hook syntax is crude. See sections 3.14, 4.2 and 4.4. HTH, Michael -- Computer programmers never die, they just get lost in the processing. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Help: avoid download same messages from pop3 sever
ching wang muttered: I am new to mutt, and just started to use it to retrieve mail from a pop3 account on my ISP. I have trouble figuring out a way to avoid downloading the same messages whenever I hit shift-g. I don't have this problem when using netscape mail: it will not download messages already in my local mailbox. I don't know if I understand what you are at, but maybe setting $pop_last could be of help? HTH, Michael -- Our informal mission is to improve the love life of operators worldwide. -- Peter Behrendt, president of Exabyte PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: OT: HTH?
Suresh Ramasubramanian muttered: John P. Verel proclaimed on mutt-users that: What does HTH mean? Hope This Helps ... and RTFM a little at http://www.ncf.carleton.ca/ip/freenet/subs/complaints/spam/jargon.txt Or have a look at the jargon resources at http://www.tuxedo.org/jargon HTH :-) Michael -- You've been Berkeley'ed! PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Sorting by score and threads
Frederik Strauss muttered: Is there a way for me to sort according to score and still have threads? Is there any way of doing it? I don't use scoring but maybe set sort_aux=score helps? HTH, Michael -- Every program is a part of some other program, and rarely fits. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: browsing imap folders, and other questions
Mark D. Anderson muttered: [manual quote] Which implies to me that it is possible to browse folders of an IMAP server. So how is that done? Also, is there a way to absolutely prevent mutt from mucking about with my /var/mail or /home/mda/inbox and so on -- i want it to do nothing *except* imap. Sorry I don't use IMAP. i presume i can set any configuration variable in the command line, AFAIK no. or while running mutt, Press ':' to execute a command. You change every variable then. Use 'set VAR=VALUE' to set vars. You can check current setting with 'set ?VAR' or 'set VAR=TAB' But I don't see how I can do the first two of these from the documentation. See sections 2.3, 3.21 HTH, Michael -- This login session: $13.99 PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Mutt not following RFC821 strictly?
Magnus Bodin muttered: As of RFC 821 http://rfc821.x42.com/ the local part of an e-mail address can consist of other characters than a-z0-9 and should then be quoted (see local-part and quoted-string). It seems though, that the mutt client does not support the use of an address like "address with spaces"@x42.com which indeed is a valid and working e-mail address. Or is there some way to enter addresses explicitly thus not having it "parse-mangled".. I can send to "test me"@localhost very well. Mutt 1.2.4i sendmail-8.9.3-20 Received: (from t@localhost) by deep-thought.seidenbergstr (8.9.3/8.9.3) id OAA17385 for "test me"@localhost; Mon, 10 Jul 2000 14:56:45 +0200 Which error do you get? HTH, Michael -- Nobody said computers were going to be polite. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: send pubkey trouble
Hardy Merrill muttered: mutt 1.2i pgp 6.5.2 I'm having trouble using Ctl-K to send my public key That's clear. The default keybinding for mail-key is Esck :) ^K defaults to extract-keys i.e. pgp tries to extract any pgp-keys from the current message and inserts them into your public-keyring. - it creates an attachment that is named with the keyid if my public key, but the attachment is empty. ??? HTH, Michael -- No directory. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: sendhook
John Poltorak muttered: I have never understood the purpose of sendhooks or what they can do, so I'm probably missing out on a great feature of Mutt... You really do! Send-hooks are a great and very powerful configuration tool. See the manual's sections 3.17 and 4.1 - 4.4 Can some provide me with a simple sendhook and tell me what I can use it for, than I can take it from there. send-hook ~l 'my_hdr From: Michael Tatge [EMAIL PROTECTED]' When I mail to subscribed mailinglists the From: Header will automaticly set to 'Michael Tatge [EMAIL PROTECTED]'. I'm using a diffrent address for private mail. HTH, Michael -- Overflow on /dev/null, please empty the bit bucket. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: send pubkey trouble
Hardy Merrill muttered: I'm having trouble using Ctl-K to send my public key That's clear. The default keybinding for mail-key is Esck :) I mis-wrote - I really used Esck, and *that* created an empty attachment. Am I trying to do this the right way? What does pgp6 +compatible -kxaf 'Your email here' do? Do you get any output? If not somethings wrong with your pgp setup. HTH, Michael -- Thus spake the master programmer: "When a program is being tested, it is too late to make design changes." -- Geoffrey James, "The Tao of Programming" PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Display of german 8 bit characters (Umlaute)
Hi! Stephan Jaensch muttered: There's one issue tho that I am not able to resolve: The german hi-ascii characters (Umlaute, like äöü) are not displayed correctly in the pager, mutt places '?' there instead. Did you install charmaps-0.0.tar.gz? (see www.mutt.org) set charset="iso-8859-1" for the encoding. Mutt correctly displays Umlaute. Probably there's something wrong with the message. I saw for example this one in a german mail (aol mailer) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit VERY useful! Since mutt does what it's told - there are no öäü in us-ascii - it shows '?' instead. Maybe it's something similar? HTH, Michael -- Think of your family tonight. Try to crawl home after the computer crashes. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: save-hook not working
Hardy Merrill muttered: My muttrc has this format for the "index_format" set index_format="%3C%?M?+ ?%Z %[%b %d] %-16.16F [%-9.9O] %-33.33s (%4l)" I screwed something up - I've reworked a few things including adding $alternates for my email addresses, and now my save-hook's don't work. 15 sL Jul 18 David T-G[davidtg ] pgp_encrypt_self with 1.2.4 and g 17 F Jul 19 To mutt-users@mu [mutt-user] index_format %F and "sent" mailbo save-hook mutt-users =Mutt-users When I try to save a message that one of you sent to mutt-users, it tries to save the message under your "username", instead of to the Mutt-users folder where I want it to go. When I try to save a message that I sent to mutt-users, the save hook works and properly asks me if I want to save that message in =Mutt-users. Since David's message ain't 'To mutt-users' you problaby forgot to subscribe [EMAIL PROTECTED] It seems that mutt-users is not a known mailing list. HTH, Michael -- The road to hell is paved with NAND gates. -- J. Gooding PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: POP3 fetching redirect to other mailbox
Daniel Roesen muttered: Is it possible to redirect mails fetched by the built-in POP3 fetching facility to any other mailbox folder than the standard inbox? According to the manual mutt delivers to $spoolfile. 'Mutt will fetch all your new mail and place it in the local spoolfile.' If you did not set $spoolfile explicitly. If defaults to the value of $MAIL. Having the fetched mails saved into the current or a predefined (in muttrc) mailbox would be very convenient. If you don't like this behavior set $spoolfile to any path you like. I wouldn't recommend altering $spoolfile but use fetchmail / procmail instead. HTH, Michael -- Staff meeting in the conference room in %d minutes. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Questions not covered at www.mutt.org
Rob Watkin muttered: I'm new to mutt Welcome! There are a couple of things that don't seem to be working and some features I don't understand. * Color does not work - I have tried all the suggestions in the FAQ. Don't you see any colors or what 'does not work'? * The 'screenshots' at http://www.mutt.org show an X enhanced menu but I can't figure out how to get that to work. iirc, that's an eterm theme. * How (or where) does mutt save my 'sent mail'. set copy=yes (default) set record=/your/sent-mail/file I really thing that I must be missing some important piece of documentation which helps new users get oriented with mutt's philosophy. For starters you could give the manual a chance :) Presuming you installed mutt at the default place: /usr/local/doc/mutt/manual.txt /usr/local/doc/mutt/html/manual.html HTH, Michael -- No directory. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: setting From field
On Mon, Jul 24, 2000, Rob Watkin wrote: Can I set the From: field easily in mutt or must I fiddle with sendmail? my_hdr From: Realname user@host set use_from
Re: gpg encrypt
L Vogtmann muttered: Still can't encrypt, but I've narrowed it down to a problem with the "pgp_getkeys_command". This variable is to "" in the default gpg.rc I don't get a "menu" as described in the FAQ or manual. I just get a prompt to enter the key id for who I am encrypting to. And it will not accept ANYTHING is a valid key. What happens if you just press 'enter'? I'm getting a menu where I can select one of me keys. Michael -- As of next Thursday, UNIX will be flushed in favor of TOPS-10. Please update your programs. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13 PGP signature
Re: colors for the indicator (more)
Johannes Zellner muttered: 1) color indicator red yellow pattern ^ I guess you mean index here. The object indicator does not need any pattern. And mutt doen't accept one. does not seem to work as expected. If I use for example [0-9]+ as pattern, all lines which contain a digit somehwere are completely highlighted -- I'd expect only the digits to be highlighted as it is the case when specifying patterns for the body. Right, the index highlighting is 'line based'. That's the way I would expext it to work :) How would you color a pattern like ~D or ~z if it wasn't so? HTH, Michael -- Martin was probably ripping them off. That's some family, isn't it? Incest, prostitution, fanaticism, software. -- Charles Willeford, "Miami Blues" PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: [dave@pixelhammer.com: Re: Two addresses, one laptop, and Mutt]
DAve muttered: Oops, once I set envelope_from=yes mutt began to ignore my set from='[EMAIL PROTECTED]' Always use the my_hdr command instead and use send-hooks or set reverse_name to switch between your addresses. HTH, Michael -- APL hackers do it in the quad. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: (Probably silly) color question
Lutz Jaenicke muttered: BTW. In the meantime I did dig somewhat deeper and finally got "color index default default ." to work. As of the documentation, the pattern Usage: color index foreground background [ pattern ] should be [optional] but it is not... So when I tried "color index default default" I good this non-understandable error message about a missing parameter. It is optional for some objects such as indicatior. Index needs a pattern. Try color index default default ~A. HTH, Michael -- A programming language is low level when its programs require attention to the irrelevant. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Configuring Mutt Dialup Modem Connection ?
Roger Gordon muttered: Hello all! I'm new to the Mutt users list. Welcome! And I have some configuration questions about Mutt for use with the Vim editor to compose messages, then send them off using with sendmail over a dial up network connection. I have the /etc/Muttrc configuration working ok for use with pop mail server and it retreives then just fine. But composing a message with Vim creates an error bouncing messages due to incorrect date and localhost error that doesn't exist over the modem connection. Set your ISP's SMTP host as smart host in /etc/sendmail.cf (DSmail.isp.com) and set $envelope_from in your muttrc. See mutt's manual for details. HTH, Michael -- A modem is a baudy house. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Changing my_hdr back to default
Ben Beuchler muttered: I've setup up a macro for sending mail as another "persona" that looks something like this: macro index M ":my_hdr From: [EMAIL PROTECTED]enterm" What I'm trying to work out is a way to automatically switch back to using my normal information for any future emails. write special rcfiles for each profile. and use macros so switch between them. macro index ^F2 ":source ~/.mutt/muttrc" "reset to default" marco index ^F3 ":source ~/.mutt/profile1" "become person 1" marco index ^F4 ":source ~/.mutt/profile2" "become person 2" where ~/.mutt/profile# contains all configurguration stuff. i.e my_hdr, signature, attribution, whatever HTH, Michael -- The program isn't debugged until the last user is dead. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: not quoting signatures on reply
Caster muttered: It's a valid escape sequence, and I think I've heard of it before. It might not, however, be fully documented :-) In fact I don't see any mention of it in the docs (I mean in refer to the name of the edited file). It's there: 5.3.3.3. Command Expansion The various commands defined in the mailcap files are passed to the /bin/sh shell using the system() function. Before the command is passed to /bin/sh -c, it is parsed to expand various special parameters with information from Mutt. The keywords Mutt expands are: %s As seen in the basic mailcap section, this variable is expanded to a filename specified by the calling program. This file contains the body of the message to view/print/edit or where the composing program should place the results of composition. In addition, the use of this keyword causes Mutt to not pass the body of the message to the view/print/edit program on stdin. HTH, Michael -- The program isn't debugged until the last user is dead. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13 PGP signature
Re: defining a macro to sz an attachment
Hi, John Buttery muttered: macro attach o ":pipe-entry\ncat /tmp/001 ; sz /tmp/001\n" "Send file" pipe-entry is a function, no ':' needed :) macro attach o "pipe-entrycat /tmp/test"\n should work HTH, Michael -- It was kinda like stuffing the wrong card in a computer, when you're stickin' those artificial stimulants in your arm. -- Dion, noted computer scientist PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
'Maildir/' vs. 'Maildir' (was: Re: mutt and qmail)
Timothy Legant muttered: On Thu, Aug 31, 2000 at 12:10:31PM -0700, Jason Helfman wrote: don't you find the file structure of this just horrid though? My (shortened) 'subscribe' and 'mailboxes' lines are as follows. Note that there are no references to ./cur or ./new or ./tmp. subscribe qmail mutt-users freebsd-stable mailboxes +Inbox +Bedtime +Qmail +Mutt-Users +FreeBSD-STABLE When I hit cTab, Mutt shows me the top-level Maildiers, 'Inbox', 'Bedtime', etc. Interessting, with 1.2.5i I see 'Maildir/' and 'mbox' is there any folder_format expando I am missing? I would prefere to have Maildirs displayed the same way as mboxes just to not mix them with 'normal' dirs. TIA, Michael -- Staff meeting in the conference room in %d minutes. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Maildir being very slow
Hi all! I switched from mbox to Maildir a few days ago. I always had the feeling that Maildir is much slower - well for big Mailboxes at least - than mbox. Now I did some testing. 2970 Messeges - 9 MB mbox file : 4 secs - as Maildir (totals to 10 MB): 10 secs - Maildir (cashed i.e. read the same Maildir twice) 4 secs P200 on a IDE disk with dma enabled. Has anybody had similar expriences? Michael -- Software production is assumed to be a line function, but it is run like a staff function. -- Paul Licker PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: pine2mutt_aliases.pl
Michael Tatge muttered: Juhapekka Tolvanen muttered: pine2mutt_aliases.pl available here: http://www.diku.dk/~pink/pine2mutt_aliases.pl But where the fsck it is now? look in the 'contrib' dir of the tarball there you'll find a 'Pine.rc'. Source that file in your .muttrc Err, sorry. I overlooked the alias part. The Pine.rc just gives you pine's key bindings and save behavior, etc. Michael -- Bus error -- driver executed. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: mbox to maildir
Hi! Chris Gushue muttered: Thomas Roessler ([EMAIL PROTECTED]) wrote: On 2000-09-06 19:27:57 -0700, Jason Helfman wrote: Does anyone have a script that does this? Why don't you just use mutt to do it? I'm not sure offhand if Mutt created the new Maildirs for me, or if I had to manually do it... You have to set mbox_type=Maildir to have mutt create Maildirs by default. I wrote some macros for that purpose. macro index f7 ':set mbox_type="mbox"enter' macro pager f7 ':set mbox_type="mbox"enter' macro index f8 ':set mbox_type="Maildir"enter' macro pager f8 ':set mbox_type="Maildir"enter HTH, Michael -- A modem is a baudy house. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Cancel commands
Jens Askengren muttered: Since I often find myself hitting ^C (instead of ^G) to cancel commands that prompts for input like "mail" and "limit", I would like to rebind that function. It seems like it's imposible to bind ^C at all. Is this correct? Yes, IIRC ^C is hardcoded and therefore unbindable. HTH, Michael -- "Who cares if it doesn't do anything? It was made with our new Triple-Iso-Bifurcated-Krypton-Gate-MOS process ..." PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: folder-hook to set sort order
Peter Jaques muttered: i want to sort a certain folder (the one for this mailing list, in fact!) by thread. i'm trying this, but it doesn't work: folder-hook =mutt set sort=thread what am i doing wrong? i'm using mutt 1.2i. try folder-hook =mutt 'set sort=threads' :) HTH, Michael -- Real Users hate Real Programmers. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: binding change-folder in browser
Peter Jaques muttered: hi all-- i'd like to bind the "change-folder" command to the "c" key in the browser, like this: bind browser c change-folder yet this doesn't work; mutt complains thus on startup: Error in .muttrc, line 4: change-folder: no such function in map So you can't bind change-folder in the browser. See manual section 6.4.9. it works fine in other contexts (eg "index"). what am i doing wrong? That's because change-folder is defined for index. i never use the "change-directory" command, it would be nice to be able to do "c =mutt" rather than have to scroll/search through all my mailboxes looking for the mutt folder. When you're in the browser hit 'qc=mutt' :) HTH, Michael -- She sells cshs by the cshore. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13 PGP signature
Re: multiple domains
Ron Forrester muttered: So, I found the very useful 'alternates' setting which lets me see email as to me for all of my addresses. What I would like to do now, is tell mutt, on reply, to derive the "From" header from the "To" header, i.e. if the message is to "[EMAIL PROTECTED]", on reply it should be from "[EMAIL PROTECTED]" -- instead it makes it from "[EMAIL PROTECTED]", of course, because I have to have 'hostname=skyhackers.org' for it to work at all. set reverse_name HTH, Michael -- My sister opened a computer store in Hawaii. She sells C shells down by the seashore. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Folder format questions
Mike McNally muttered: I'm a new mutt user starting right in with a pretty advanced configuration, but I've read a lot, so it's time to ask questions. Welcome! I have procmail sorting my mail into various dirs in ~/Mail. Each message has a name like msg.BvJC, msg.gvJC. I had thought that setting mbox_type=Maildir would clue mutt into the way my mail is being kept, but it apparently doesn't. Mutt should be able to determine the format automaticly. If it doesn't do this correctly, your dirs are probably no correct Maildirs. The $mbox_type variable is only used when mutt itself writes out messages to a new folder, i.e. when you save to a new folder $mbox_type controls whether that folder will be a Maildir or mbox, ... Most likely something is wrong with your procmail setup. Only the newest version (3.14) does support Maildir. :0 * ^From:.*[EMAIL PROTECTED] foo/ ^ Note the slash at the end. This tells procmail that the destination is a Maildir. When I start mutt it reads /var/spool/mike, which is not being used. What do I put in .muttrc to make mutt start up in ~/Mail/mbox (if mbox is a reserved word, I can change that). Set your shells $MAIL variable appropriately or set spoolfile=~/Mail/mbox in your muttrc. Now the format problem... So I hit c ? and it displays the contents of ~/Mail as a regular directory display (like ls -l would). I want mutt to display the number of msgs in ea dir and maybe how many are read/unread in ea dir. But instead I get a dir display. So I arrow down and enter my default dir "mbox", and again I get the dir format: 1 drwxr-sr-x 9 mike mike 4096 sep 19 06:30 ../ 2 -rw 1 mike mike 27167 sep 18 18:58 msg.BvJC ..as above.. mcg.gvJC So now I arrow down and hit return to enter the msg, kinda as if it were a dir, and finally I get the display of the one msg. My guess is that this is related to your procmail problem. See above. Maybe you left that out, but a Maildir contains three dirs cur/, new/ and tmp/. If your ~/Mail/mbox dir does not have these dirs it's definitely _no_ Maildir. Summary of the main problem is: I want a mail reader not a directory browser. I installed mutt from a debian package. It's 1.0.1i. Does the answer involve getting the new ver and using some specific compiler options? 1.0.1 is quite old. Upgrading could solve some of your probs anyway. I don't know about any debian specials but getting the newest stable tarball (1.2.5) from ftp://mutt.org and a normal ./configure; make; make install should be enough for most systems. HTH, Michael -- Yes, we will be going to OSI, Mars, and Pluto, but not necessarily in that order. -- Jeffrey Honig PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: scripts, how?
Hi! Lukasz Stelmach muttered: I have read some letters about perl/python scripts that can be somehow connected to mutt. I use mutt 1.0.1i (i know it is old) and there is nothing said in dox. All you need are the pipe-message and shell-escape functions to call any unix command from within mutt. This certainly goes for scripts, too. :) A neat script called in a macro can be a very powerful tool ... :) Unfortunately there are no expandos for the current folder or directory which could be useful in a script. HTH, Michael -- Why did the Roman Empire collapse? What is the Latin for office automation? PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: my_hdr From: vs. set reverse_name
DuCharme, Robert muttered: In my .muttrc, "my_hdr From:" seems to override my set reverse_name heading, but I want it to be the other way around. I only want the "my_hdr From:" return address used for new mail and the reverse_name one used for replies. This is the intented behavior. If you want to set a default From: header use $realname and $from. You can use send-hooks with my_hdr From:, too. In this case you nedd a default send-hook where any userset From: header will be removed first. I have this settings in my muttrc: # Configure From: set realname="Michael Tatge" set from="[EMAIL PROTECTED]" set use_from# create From: Header set reverse_name# reply with the address the # message was send to set envelope_from # use MTA -f From: Header send-hook . 'unmy_hdr From:'# remove user created From: send-kook '~C some.guy@some_host' 'my_hdr From: me [EMAIL PROTECTED]' If I reply to a message from some.guy@some_host always me [EMAIL PROTECTED] is used regardless of the adresse I received to original message was send to. In all other cases reverse_name will work. Any suggestions? (Warning: I haven't used Mutt macros yet I don't see no reason for a macro here. :) --is there a little tutorial on them anywhere?) Well, you have the manual. That's all you need. HTH, Michael -- Ignorance is bliss. -- Thomas Gray Fortune updates the great quotes, #42: BLISS is ignorance. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: spanning to multiple folders
Diego Delgado Lages muttered: Can I span some mails automatically to multiple folders in mutt??? I mean. I am subscribed to lots of mailing list's and I receive about 800 mail's a day, including mails from mailing lists. I would like to know if mutt has a function that automatically move a message from a list to a specified folder, so I can organize my mails. No not automaticly. There are save-hooks but you can't use them automaticly. Only in marcos you'll have to call manualy. Or... can I embbed procmail's functions into mutt??? What do you by embbed? If procmails sorts your mail, you can read that folders with mutt of cause. Just try procmail. :) HTH, Michael -- Real programmers don't bring brown-bag lunches. If the vending machine doesn't sell it, they don't eat it. Vending machines don't sell quiche. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: spanning to multiple folders
Diego Delgado Lages muttered: Quoting Michael Tatge ([EMAIL PROTECTED]): Diego Delgado Lages muttered: Can I span some mails automatically to multiple folders in mutt??? Or... can I embbed procmail's functions into mutt??? What do you mean by embbed? If procmails sorts your mail, you can read that folders with mutt of cause. Just try procmail. :) I mean by pressing 'G' and then procmail automatically filters my mails.. If it's just that you want to press 'G' then, ok it's possible. Set up procmail and set up a popclient like fetchmail. Then write a macro to call fetchmail when you press 'G' and you're done. This is the macro you'll need: macro generic G shell-escapefetchmailenter "Get mail from pop accounts" HTH, Michael -- The steady state of disks is full. -- Ken Thompson PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: mutt too stateful w/gpg?
Eric Osborne muttered: ## pgp stuff pgp-hook '^foo' [EMAIL PROTECTED] # add this on here: send-hook . "unset pgp_autoencrypt pgp_autosign" #set pgp_autosign send-hook foo "set pgp_autoencrypt pgp_autosign" set pgp_replyencrypt# Encrypt replies on encrypted mail set pgp_replysign # Sign replies on signed mail set pgp_timeout=32767 When I send email to [EMAIL PROTECTED], my emails are automagically signed and encrypted. But if I send any email after that first message, all my other messages are signed and encrypted as well. What am I doing wrong? What you need is a default send-hook that unsets the vars you're changing. This way send-hook for foo matches when to send mail to foo, but for all other cases matches the default hook. HTH, Michael -- I am the wandering glitch -- catch me if you can. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Send hook question
Hal Burgiss muttered: Should the below not work? I could swear it used to ;) Recently even. Despite much playing with this, I cannot get the header to handle the exceptions. unset use_from Don't know why you do that, but according to the docs it shouldn't hurt. It might be worth testing without this line, though. send-hook . 'my_hdr From: Hal Burgiss [EMAIL PROTECTED]' send-hook redhat-list 'my_hdr From: Hal Burgiss [EMAIL PROTECTED]' These _have_ to work. If they don't, I'd suspect that there is something else disturbing. Just copy / pasted your send-hooks into my mutt - they work. Please post your whole muttrc. HTH, Michael -- The goal of Computer Science is to build something that will last at least until we've finished building it. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Newbie questions
Perry The Cynic muttered: How do I "commit" files marked for deletion? Others told you about sync-mailbox. For that matter, is there any way I can type a prefix (say, "ord" for "orders") with some kind of auto-completion of folder names? c=mutab completes to mutt in my case ;) Hitting TAB always autocompletes when you have to type in something. is there a way to write a macro-with-argument, so I could turn this into the sequence (bound to, say, the "C" key) CordRETURN? [The point being, of course, that *after* I type in the argument and hit return, it continues to run the macro, in that case RETURNRETURN.] None that I know of. :( HTH, Michael -- That does not compute. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Send hook question
Hal Burgiss muttered: do you have 'autoedit' set? He does. And that's why the send-hooks do not work. So, Hal the solution is obvious - give up that autoedit stuff. Yea, it works fine with autoedit off, but I like autoedit too :( You confuse me with your from header for a minute ;) Oh, I'm sorry. I just sourced your muttrc for testing and forgot to resource my own one. :( I don't have a clue how combine autoedit and send-hooks. Harold says it is possible so maybe you should start a new muttrc from scratch and you'll see which line confuses mutt. P.S. Check your Mail-Followup-To: HTH, Michael -- Memory fault -- core...uh...um...core... Oh dammit, I forget! PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Newbie questions
Perry The Cynic muttered: Alternatively, is there any way to hide (not display) deleted messages? You could make that into a macro: macro index d delete-messagelimit!~Denter This disadvantage is that you'll have to limit to all messages first if you want to undelete something. HTH, Michael -- Some of my readers ask me what a "Serial Port" is. The answer is: I don't know. Is it some kind of wine you have with breakfast? PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Questions, questions...
[EMAIL PROTECTED] muttered: I pulled the mutt manual from the web, Maybe you should start reading it? ;) I see something called "sourcing" a file. What does that mean? The source command is used to tell mutt to read a rcfile. Normally you would add 'source file' to your muttrc, but you can use that command every time. Even in macros :-) This way you don't need to configure everything in muttrc but can have all your macros for instance in a different file. I added an alias for this list, and it appears at the bottom of .muttrc. I guess there's a spot in muttrc that needs attention too, .right? This means you did not specify $alias_file. See the manual. And don't forget to source that file in your muttrc :) Then there is "send-hook" and "save-hook". Send-hooks are only one reason why mutt sucks less. Say you send a message to your boss and therefore want your offical signature rather than the funny witches one. No prob! # default hook that matches everything send-hook . "set signature=~/.sigs/witch.sig" # change signature for your boss // ~C is a pattern operator - manual # it would work without it - just to encourage you to read :) send-hook '~C [EMAIL PROTECTED]' "set signature=~/.sigs/offical.sig" Just as an example. Send-hooks are very powerful and you should start some reading about them. See the manual. Save-hooks are used to tell mutt what to do when you want to save a message. Say all messages from the mutt-users list go to ~/Mail/mailinglists/Mutt-users. # Note that '+' is equivalent to '=' save-hook mutt-users +mailinglists/Mutt-Users When you highlight a message from the list and press 's' +mailinglists/Mutt-Users will be the default save-to location. Procmail is much better for this purpose, though. Just give it a try. Have fun with mutt, Michael -- A LISP programmer knows the value of everything, but the cost of nothing. -- Alan Perlis PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: Questions, questions...
Nils Vogels muttered: send-hook '.' source ~/.mutt/default.rc send-hook '~C [EMAIL PROTECTED]' source ~/.mutt/dad.rc send-hook '~C [EMAIL PROTECTED]' source ~/.mutt/mom.rc What would happen if I would send a mail to both dad and mom ? Which RC would be loaded ? Both. Would mutt send out 2 mails with different settings ? No, mutt would first load dad.rc since the 2nd send-hook matches and then mom.rc since the 3rd send-hook matches, too. If dad.rc and mom.rc change different settings the result would be a mixture of dad.rc and mom.rc. :( If they change the same settings mom.rc overwrites the settings changed by dad.rc. P.S. Why didn't you just check it out yourself? HTH, Michael -- The trouble with computers is that they do what you tell them, not what you want. -- D. Cohen PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13