Re: configuring headers in Muttrc/ssmtp.conf
On 2001.05.20, in [EMAIL PROTECTED], Joane Lispton [EMAIL PROTECTED] wrote: What I would like to do is have the mail coming from [EMAIL PROTECTED] instead of [EMAIL PROTECTED] I figure the place to do this is either in Muttrc or ssmtp.conf. Just set host= beechtree.its.com in your /etc/ssmtp/ssmtp.conf. If you ever need a different user name in your email address (e.g., your username is kmastin but you wish to use the address [EMAIL PROTECTED]), what you need is to add a line to /etc/ssmtp/revaliases. The comment on the top of that file shows you how you can do it: local_account:outgoing_address:mailhub This is something that's always bugged me about ssmtp. I'm root@domain, where the domain has thousands of unix machines that I don't operate. People setting up ssmtp *usually* don't take care to make exemptions for root and other system accounts when they set up with host = domain. This causes no end of trouble. Please, if you use ssmtp with host masquerading in such an environment, make sure to deal appropriately with all system accounts that might send mail. You probably should exempt any account that was in your passwd file before you started adding users. I'd like to see ssmtp have some way of handling this for the most common cases by default. I don't use it, though, so I'm not sure what the right way to do it would be. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Mailbox woes with imap
Hey all. Just want to say I *really* like this mutt :) I am running into a couple hurdles, but that is what the list is for, right? Anyway, here is my current roadblock: I have the following in ~/.muttrc set folder={acadia.ne.mediaone.net} set spoolfile={acadia.ne.mediaone.net}INBOX set imap_user=leblanc set hostname=acadia.ne.mediaone.net when I start mutt, it logs into the server ok, but then starts up with Mailbox does not exist In order to check messages, I have to change to the folder explicitly (meaning c - {acadia.ne.mediaone.net}INBOX) How do I get mutt to start up with the Inbox folder? Also, when I want to change to another folder, I have to do the same full path change (c - {acadia.ne.mediaone.net}INBOX.mutt), isn't there a shortcut method? What am I missing here? One more minor thing. When I delete a file, I would like to simply move it to the Trash folder. I know this isn't the defined imap behavior, but I am kind of used to it. How can that be done? And last one (for this message, anyway), Notice my From: header. I had to add the @servername because mutt isn't doing it. I can't find where to do that in the manual. Any pointers? Thanks in advance everyone. Lou -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) [EMAIL PROTECTED] http://acadia.ne.mediaone.netԿԬ
Re: Can't send mail
On Wed, May 02, 2001 at 12:06:15AM +0100, Barry Mitchelson wrote: Hi, all of a sudden I can't send email. Mutt gets to the point where it launches my editor to actually compose the email and just hangs. I'm guessing it may have something to do with the new version of vim I installed. My question is, how can I change mutts default editor to something like pico so that I can see if vim is causing the problem. I tried changing the EDITOR env var to pico, and adding 'set editor=pico' to my .muttrc but it still hangs. any ideas ? bit weird replying to my own post, but anyway :) I've finally managed to get the problem fixed. I had to (for reasons to long to go into) reinstall Linux, so I tarred up my home dir as a backup and reinstalled. Then I downloaded the latest Mutt and installed that. Same problem. So i thought it might be a problem with my .muttrc. So I stripped this down to barely anything - same problem. Tried the latest dev version of Mutt - same problem. Finally, I started with a fresh home dir, and copied over my .muttrc from my backup (ie, rather than untarring the whole home dir again). This worked. Question is - does anyone have any idea what had happened ? Are there any other files than my .muttrc which will affect how Mutt operates ? thanks barry -- http://www.theshining.org
Re: Notice: starting to look into HTML code stripper patch
I just want it to be able to strip everything in between and understand BR enough, without needing to do various work-arounds in ten thousands of config files and nineteen different utilities. Flexibility is for me something good, until you overdo it. It needn't be advanced, either. But, as has been said, people aren't used to mangling configuration files and reading every single source package, they want it to work. If you want to do something else, fine. Besides, this was just a notification of what I wanted to do - if you disagree, D :) -- /petri
Re: Mailbox woes with imap
On Sun, May 20, 2001 at 11:45:50AM -0400, Brendan Cully sat at the 'puter and typed: On Saturday, 19 May 2001 at 15:57, Louis LeBlanc wrote: Anyway, here is my current roadblock: I have the following in ~/.muttrc set folder={acadia.ne.mediaone.net} set spoolfile={acadia.ne.mediaone.net}INBOX did you forget the closing quote here or in your .muttrc? You bet. As a matter of fact, this message took so long showing up in my mutt folder, I assumed it was lost. I posted it on comp.mail.mutt, and shortly afterward, I found the problem myself. Of course I had to repost and eat some crow :) BTW, I am blaming lack of sleep for that stupid mistake :) In addition to the quote, I added INBOX to the end of the folder definition. Now I get the inbox upon startup. set imap_user=leblanc set hostname=acadia.ne.mediaone.net when I start mutt, it logs into the server ok, but then starts up with Mailbox does not exist This shouldn't happen. Assuming you've got the quote right in your .muttrc, can you run mutt with -d2 (if you've built mutt with --enable-debug) and send me your ~/.muttdebug0 file? Actually, adding the INBOX tag to the end of the folder spec fixes this. In order to check messages, I have to change to the folder explicitly (meaning c - {acadia.ne.mediaone.net}INBOX) How do I get mutt to start up with the Inbox folder? Also, when I want to change to another folder, I have to do the same full path change (c - {acadia.ne.mediaone.net}INBOX.mutt), isn't there a shortcut method? What am I missing here? you should be able to use =INBOX.mutt. And tab-completion should work for you. Now, I can just use =mutt. I hadn't yet realized that tab-completion was even available - but now I know, and it does work -thanks! :) One more minor thing. When I delete a file, I would like to simply move it to the Trash folder. I know this isn't the defined imap behavior, but I am kind of used to it. How can that be done? You need to write a macro to save your message to a trash folder and bind it to a key (possibly the current delete key). Something like: macro index d save-message=Trash\n Move message to the trash folder macro pager d save-message=Trash\n Move message to the trash folder might work for you, although I don't guarantee it (I hardly ever write macros, and don't use a trash folder). Search the archives if it doesn't, this is asked a lot. The index macro works, so I assume the pager macro does too. Thanks! And last one (for this message, anyway), Notice my From: header. I had to add the @servername because mutt isn't doing it. I can't find where to do that in the manual. Any pointers? no comment here. But I get the impression from your from address that you're manually overriding the From header somehow, so this behaviour is probably to be expected... Actually, the From: header just defaults to the following: From: Louis LeBlanc leblanc When I subscribe to a list, I usually just create a folder for it and subscribe as [EMAIL PROTECTED], and let sendmail sort it to the right folder - that way I don't have to wait for a macro to search the new messages and move them around. However, when I write to a closed list (like mutt), I have to modify that header with the correct (subscribed) address. If I don't, sendmail will add it, but it seems to slow down delivery. Is there a way I can set the From: header automatically? Will my_hdr override it? I think I will try it out. Hey, if I can even set it based on the recipients (if it is a subscribed maillist) then so much the better. Especially since I am prone to fat-fingering the keyboard from time to time. As a matter of fact, I accidentally sent this same message (mostly) with a bad From: header (From: Louis LeBlanc [EMAIL PROTECTED]) so I got a message that it would need to be approved by the list admin. My bad. Sorry if everyone gets the same message twice. Hey, I love mutt! Is there any chance I can get it to read news too? Or is there another tool like mutt to do that? I hope it will, because I often find usenet messages I know I will need later, and I save them in other imap folders created for a particular subject. Thanks a million! Lou -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) [EMAIL PROTECTED] http://acadia.ne.mediaone.netԿԬ
Re: Mailbox woes with imap
* On [010520 19:00] Louis LeBlanc [EMAIL PROTECTED] wrote: Hey, I love mutt! Is there any chance I can get it to read news too? Or is there another tool like mutt to do that? I hope it will, because I often find usenet messages I know I will need later, and I save them in other imap folders created for a particular subject. There is a nntp patch for mutt, see: http://www.mutt.org/links.html#patch An alternative tool similar to mutt for news would be slrn: http://www.slrn.org Lawrence -- Lawrence Mitchell | http://members.tripod.co.uk/EVSvienna/ [EMAIL PROTECTED] | A marriage is always made up of two people who are prepared to swear that only the other one snores. -- (Terry Pratchett, The Fifth Elephant)
Re: Mailbox woes with imap
On Sun, May 20, 2001 at 11:45:50AM -0400, Brendan Cully sat at the 'puter and typed: On Saturday, 19 May 2001 at 15:57, Louis LeBlanc wrote: Anyway, here is my current roadblock: I have the following in ~/.muttrc set folder={acadia.ne.mediaone.net} set spoolfile={acadia.ne.mediaone.net}INBOX did you forget the closing quote here or in your .muttrc? You bet. As a matter of fact, this message took so long showing up in my mutt folder, I assumed it was lost. I posted it on comp.mail.mutt, and shortly afterward, I found the problem myself. Of course I had to repost and eat some crow :) BTW, I am blaming lack of sleep for that stupid mistake :) In addition to the quote, I added INBOX to the end of the folder definition. Now I get the inbox upon startup. set imap_user=leblanc set hostname=acadia.ne.mediaone.net when I start mutt, it logs into the server ok, but then starts up with Mailbox does not exist This shouldn't happen. Assuming you've got the quote right in your .muttrc, can you run mutt with -d2 (if you've built mutt with --enable-debug) and send me your ~/.muttdebug0 file? Actually, adding the INBOX tag to the end of the folder spec fixes this. In order to check messages, I have to change to the folder explicitly (meaning c - {acadia.ne.mediaone.net}INBOX) How do I get mutt to start up with the Inbox folder? Also, when I want to change to another folder, I have to do the same full path change (c - {acadia.ne.mediaone.net}INBOX.mutt), isn't there a shortcut method? What am I missing here? you should be able to use =INBOX.mutt. And tab-completion should work for you. Now, I can just use =mutt. I hadn't yet realized that tab-completion was even available - but now I know, and it does work -thanks! :) One more minor thing. When I delete a file, I would like to simply move it to the Trash folder. I know this isn't the defined imap behavior, but I am kind of used to it. How can that be done? You need to write a macro to save your message to a trash folder and bind it to a key (possibly the current delete key). Something like: macro index d save-message=Trash\n Move message to the trash folder macro pager d save-message=Trash\n Move message to the trash folder might work for you, although I don't guarantee it (I hardly ever write macros, and don't use a trash folder). Search the archives if it doesn't, this is asked a lot. The index macro works, so I assume the pager macro does too. Thanks! And last one (for this message, anyway), Notice my From: header. I had to add the @servername because mutt isn't doing it. I can't find where to do that in the manual. Any pointers? no comment here. But I get the impression from your from address that you're manually overriding the From header somehow, so this behaviour is probably to be expected... Actually, the From: header just defaults to the following: From: Louis LeBlanc leblanc When I subscribe to a list, I usually just create a folder for it and subscribe as [EMAIL PROTECTED], and let sendmail sort it to the right folder - that way I don't have to wait for a macro to search the new messages and move them around. However, when I write to a closed list (like mutt), I have to modify that header with the correct (subscribed) address. If I don't, sendmail will add it, but it seems to slow down delivery. Is there a way I can set the From: header automatically? Will my_hdr override it? I think I will try it out. Hey, if I can even set it based on the recipients (if it is a subscribed maillist) then so much the better. Hey, I love mutt! Is there any chance I can get it to read news too? Or is there another tool like mutt to do that? I hope it will, because I often find usenet messages I know I will need later, and I save them in other imap folders created for a particular subject. Thanks a million! Lou -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) [EMAIL PROTECTED] http://acadia.ne.mediaone.netԿԬ
mailing list messages to be saved in different mbox
Hi, I have been subscribing freeciv-dev into my email address, but don't have succeeded to get mutt's maillist functionality working. What I would like to have is that mutt would filter list's messages automatically into their own mailbox after they have been read and that in spool mailbox I would clearly see which messages are freeciv-dev's and which aren't. Following lines are cut from my .muttrc: lists [EMAIL PROTECTED] # I don't understand how this lists-command works! # (I have read the manual) fcc-save-hook '~C ^freeciv\-dev@freeciv\.org$' ~/freeciv-dev #send-hook '~C ^freeciv\-dev@freeciv\.org$' set from=[EMAIL PROTECTED] # THIS DIDN'T WORK, so I replaced it with following (not nice): send-hook '' my_hdr From: [EMAIL PROTECTED] send-hook '~C ^freeciv\-dev@freeciv\.org$' my_hdr From: [EMAIL PROTECTED] # this works set index_format=%B %4C %Z %{%b %d} %-15.15L (%4l) %s # %B doesn't give any difference between private and list mail. I don't have subscribed any mutt* lists, so please CC to my email. -- Best regards, Tuomas Airaksinen For That Matter: http://tuma.stc.cx/ PGP signature
Re: Enabling a 2nd aspell language in compose
Hello Alexander! On Sun, 20 May 2001, Alexander Skwar wrote: In addition to the predefined 'i' keybinding for invoking ispell with the default language, I'd like to add a 'I' keybinding, which should invoke aspell with another language (american). How would I do this? I tried: macro compose I | aspell -d american -x -c %s\n Maybe this will also work for you: macro compose i :set ispell=ispell -T latin1 -p $HOME/.ispell_english macro compose I :set ispell=/path_to_your_aspell\n aspell-american bye - Wilhelm -- ._. Wilhelm Wienemann [EMAIL PROTECTED] / _,\ | (_./ Debian GNU/Linux Version 2.2 Potato \, To learn more visit = http://www.debian.org/
Sorry, my email address were wrong (I just asked one question)
Please send CC's of my question into this address ([EMAIL PROTECTED]). (tuma.stc.cx's sendmail hasn't been configured correctly yet). -- Best regards, Tuomas Airaksinen For That Matter: http://tuma.stc.cx/ PGP signature
Re: Mailbox woes with imap
On Sun, May 20, 2001 at 11:45:50AM -0400, Brendan Cully sat at the 'puter and typed: One more minor thing. When I delete a file, I would like to simply move it to the Trash folder. I know this isn't the defined imap behavior, but I am kind of used to it. How can that be done? You need to write a macro to save your message to a trash folder and bind it to a key (possibly the current delete key). Something like: macro index d save-message=Trash\n Move message to the trash folder macro pager d save-message=Trash\n Move message to the trash folder might work for you, although I don't guarantee it (I hardly ever write macros, and don't use a trash folder). Search the archives if it doesn't, this is asked a lot. Ok, you made no guarantees, and at first attempt, it worked like a charm, but here's the problem. When I go to the Trash folder and try to purge it, naturally I do so by marking each one as deleted. So mutt does what it is told and copies each one to the Trash folder - hmm. Eventually mutt crashes and I have a hundred or more copies in the Trash folder. I looked for a 'move-message' command to do the job a little differently, though it still wouldn't completely fix this problem, and there isn't one. It seems I would need another macro or key binding to just mark all messages as deleted without doing the save-message. I think I will have to find a way to just delete by pattern ([A-Z])takes care of pretty much all of it. I seem to remember a thread in the archives that talks about marking multiple messages as read. I'll have a look. Maybe a macro to ^d that could do a delete-pattern for [A-Z,a-z,0-9]? You'd probably want to define a similar undelete macro just incase you tried to fat-finger your whole mailbox into oblivion :) I'll take a look and let everyone know what I come up with. Thanks for the boost Brendan! Lou -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) [EMAIL PROTECTED] http://acadia.ne.mediaone.netԿԬ
Re: Enabling a 2nd aspell language in compose
Alexander Skwar wrote: So sprach Wilhelm Wienemann am Sun, May 20, 2001 at 07:38:53PM +0200: Maybe this will also work for you: macro compose i :set ispell=ispell -T latin1 -p $HOME/.ispell_english macro compose I :set ispell=/path_to_your_aspell\n aspell-american Hmm, I don't understand - what should I put in for 'path_to_your_aspell'? I was looking for a way to give mutt some kind of 'special character', which it would replace by the name of the temporary file. Like (made up): aspell -d deutsch -x -c $1 And when this is executed, mutt would run: aspell -d deutsch -x -c /home/askwar/tmp/mutt-teich-1928-2 so, it would replace '$1' by '/home/askwar/tmp/mutt-teich-1928-2', if '/home/askwar/tmp/mutt-teich-1928-2' is the name of the temporary file with the message body. You shouldn't need to do that. Mutt should call whatever you specify by the $ispell variable with the -x switch and the temporary file name on the command line for you. -- Linux: The Choice of the GNU Generation
Re: Enabling a 2nd aspell language in compose
Hello Alexander! On Sun, 20 May 2001, Alexander Skwar wrote: So sprach Wilhelm Wienemann am Sun, May 20, 2001 at 07:38:53PM +0200: Maybe this will also work for you: macro compose i :set ispell=ispell -T latin1 -p $HOME/.ispell_english ^^^ macro compose I :set ispell=/path_to_your_aspell\n aspell-american ~~~ Hmm, I don't understand - what should I put in for 'path_to_your_aspell'? I was looking for a way to give mutt some kind of 'special character', which it would replace by the name of the temporary file. Like (made up): Sorry, but I will repeat were you was asking for: --- cut here - In addition to the predefined 'i' keybinding for invoking ispell with ^^^ ^^^ the default language, I'd like to add a 'I' keybinding, which should invoke aspell with another language (american). --- cut here - ...and now look at my suggestion above. You are be able to copy paste it to your ~/.mutt/keybind file. Note that you have to change the path to your 'aspell' binary file. Then you can use the 'i' key to use 'ispell' and the 'I' key to use aspell. bye - Wilhelm -- ._. Wilhelm Wienemann [EMAIL PROTECTED] / _,\ | (_./ Debian GNU/Linux Version 2.2 Potato \, To learn more visit = http://www.debian.org/
Re: Sven's muttrc-Solved!
* Dale Morris [EMAIL PROTECTED] [010519 22:49]: I've been playing with Sven's bigrc file and it's great! I have one problem that's driving me nuts, though; when I try to edit the muttrc.forall file with vim (also using his vimrc.forall) I get the message: muttrc.forall 1180L, 42084C Editing Messages! Hit ENTER or type command to continue I've looked and searched everywhere to find where I can disable this so vim will remember where I left of when last editing a file, but I can't find it. I'm using the following files .vimrc vimrc.forall .muttrc muttrc.forall mutt.personal Any suggestions? thanks! I found the switch, it was a test header in muttrc.personal.
Re: Mailbox woes with imap - solved!
On Sun, May 20, 2001 at 08:48:06PM +0100, Ailbhe Leamy sat at the 'puter and typed: On (20/05/01 14:33), Louis LeBlanc wrote: On Sun, May 20, 2001 at 11:45:50AM -0400, Brendan Cully sat at the 'puter and typed: macro index d save-message=Trash\n Move message to the trash folder macro pager d save-message=Trash\n Move message to the trash folder might work for you, although I don't guarantee it (I hardly ever write macros, and don't use a trash folder). Search the archives if it doesn't, this is asked a lot. When I go to the Trash folder and try to purge it, naturally I do so by marking each one as deleted. So mutt does what it is told and copies each one to the Trash folder - hmm. Eventually mutt crashes and I have a hundred or more copies in the Trash folder. folder-hook =Trash macro index d delete-message folder-hook =Trash macro pager d delete-message Untested... And very nearly right. here is what I have now: # This makes mutt behave a little more like some imap clients by # moving messages to the Trash folder when they are deleted. Once # in the Trash folder, D will purge the trash folder, and d will # delete one at a time. Unfortunately, the delete-pattern macro # doesn't save to Trash, so be warned. folder-hook . 'macro index D delete-pattern' folder-hook . 'macro index d save-message=Trashenter' folder-hook . 'macro pager d save-message=Trashenter' folder-hook =Trash 'macro index D delete-pattern~A\n' folder-hook =Trash 'macro index d delete-message' folder-hook =Trash 'macro pager d delete-message' Notice the single quotes enclosing the hooks entire function? It doesn't seem to work quite right without them. With this, D is just a delete-pattern by default, but in the Trash folder, it just whacks everything off - this was the desired behavior. As for d, same thing, but only on a single message. I'd also rather find a way to effectively 'save-pattern' or 'save-thread' so that I can extend this behavior to the delete-pattern and delete-thread behaviors. Maybe next release? :) Thanks for your help everyone! -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) [EMAIL PROTECTED] http://acadia.ne.mediaone.netԿԬ
new question about send-hooks
Hey all. Another quick question here. I have a send-hook set up so that when I send to a closed group, like mutt, my From: header is munged so that I get the '+folder' portion I subscribed with. Basically, this was done so that sendmail can sort my mail into the appropriate folders. Anyway, I noticed that when I do a group reply, it works. But if I am writing a new message, and address it after the message is composed (using 't' for the recipient, 's' for the subject, etc) it doesn't work. It doesn't work if you put the address in while composing, either (edit_hdrs is set). When, exactly are these hooks called? it seems there must be a way to make it work on any message, otherwise the send-hooks aren't much good. Is it possible that they are only getting called when the message is initiated rather than when it is sent? If so, how do I invoke a new mail message for a specific recipient? It seems like moving the hook invocation to some point after the final approval of a message is a project that could go eather way - a total breeze, or a complete cluster*#!. It all depends on what the designer was thinking at the time. Thanks all. Lou -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) [EMAIL PROTECTED] http://acadia.ne.mediaone.netԿԬ
Re: Can't send mail
Barry Mitchelson [mutt-users] 20/05/01 16:49 +0100: Finally, I started with a fresh home dir, and copied over my .muttrc from my backup (ie, rather than untarring the whole home dir again). This worked. Question is - does anyone have any idea what had happened ? Fubarred permissions either in your homedir or $TMPDIR (say /tmp)? -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin