Re: how to use the ISP''s smtp server directly
On Thu, Jul 11, 2002 at 11:20:53AM +0600, [EMAIL PROTECTED] wrote: Hi, I would like to use mutt without the sendmail server on my machine. I find sendmail configuration quite abstruse. Can I directly make Mutt connect to my ISP's outgoing SMTP server. Sendmail configuration to to what Mutt would be doing is absolutely trivial. Key line would be define(`SMART_HOST', `smarthost.yourISP.net') -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin
Re: forcing mutt to think in mono
On Fri, Jun 28, 2002 at 09:02:42PM -0500, David T-G wrote: % Mutt defaults to colour in Linux too. So, copy over your .muttrc to new % machine. No dice; I did (and found that BSD regexps are different from GNU regexps, so I had to rewrite some of it -- and I've added this color junk, too!). Perhaps it's not fair to say that mutt defaults to color; perhaps it's a different implementation of xterm (my term type) or vt100 (what screen tells the apps I am). I have 21 grayscale monitor, and I tried mono attachment reverse mono normal none mono tilde bold mono header underline ^Subject: but didn't like it. I am now using color attachment brightmagenta default color normal default default color tilde brightblue default color header green default ^Subject: -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin
Re: Archiving old mail ?
On Sat, May 11, 2002 at 06:22:40PM +0200, Michael Seiwert wrote: Hi all, I use mutt 1.3.99i for reading, sending ... mail. I connect via ssl to a remote cyrus imap server. One problem I have is to archive mail ? I got a quota of 100 megs (thats not much when you are reading lists :-)). How did you solve this problem ?? Is it clever to move mails after reading to local file based mailboxes ? Any suggestions ?? Why not save it to a file using Procmail? -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin
Re: running mutt behind a firewall
On Sun, Apr 21, 2002 at 07:08:45PM -0400, Russell Hoover wrote: Hey mutt users, I'm putting this question to the list for a friend. (Let me know if any more info is needed for help with answers/suggestions): How can I configure mutt to communicate directly with a POP server and SMTP server outside of my local network. I'm running Linux behind a firewall and do not wish to configure sendmail locally. Thanks in advance for any suggestions. It depends on how the firewall is configured. With usual masquerading, you can download mails from remote POP server (port 110) and send mails to remote host (port 25), as long as the firewall don't block outgoing ports. I think Mutt now has POP3 support directly, but it still needs Sendmail or something to deliver the mail. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8-cpu Cluster, Hosting, NAS, Linux, LaTeX, Python, vim, mutt, tin
Re: masquerading
On Fri, Apr 19, 2002 at 04:15:52PM +0200, Michael Tatge wrote: Christoph Kukulies ([EMAIL PROTECTED]) muttered: I changed my hostname but want to have my previous hostname (which is a DNS CNAME alias to the new hostname) in mail postings (I subscribed several mailing lists with the old name) Is this possible with an entry in .muttrc/.mailrc? - configure sendmail (or whatever MTA you're using to do propper masquerading or - for local mail set hostname=OLDHOST set use_domain - Internet mail set from=you@oldhost set use_from Sendmail solution may be the only option, if the mailing list checks sender address on the envelope instead of 'From:' header. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, NAS, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Tin
Re: viewing images
On Sun, Mar 24, 2002 at 05:37:38PM -0400, skidley wrote: How do i setup an app like gqview to view any attached images? something like using urlview? Put image/gif; xv %s image/jpeg; xv %s in your ~/.mailcap -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, NAS, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Tin
Re: Altering an attachment
On Thu, Jan 17, 2002 at 01:29:31PM -0800, Michael Montagne wrote: I need to modify an attachment (delete a hyphen) and then reattach it to the original email and bounce it to the original recipient. The people in our office who use Outlook (which is everyone but me) need to be able to read ical attachments sent by a client. But some have a hyphen that renders them unreadable by our previuos version of Outlook. I'm hoping I can come up with a slick solution to leverage my Linux/mutt combo and route mails through my box, fix the attachment, and then send them to the original recipient, without changing the To: or From: headers. Can it be done? No great experience... How about - save ('s') to ~/temp.txt - vi ~/temp.txt - bound ('b') -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, NAS, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Tin
Re: Fetch many mailboxes
On Wed, Oct 03, 2001 at 09:28:59AM +0200, Brugier Pascal wrote: Helo I want to know if it's possible to fetch differents mail boxes (different user names and different passwords) on the same pop server at once fith the G command. And after i want to save the mails in different folders. I will filter them in the headers. if i understand, i can do this with : mailboxes and mbox-hook But can i have the choice to this either by the To:, From: or Subject: headers . I believe you can fetch POP emails from Mutt. Judging by how you want to filter afterwards (instead of putting in system mailbox), I suggest you use Fetchmail + Procmail. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: .signature
On Thu, Sep 13, 2001 at 09:15:41PM +0200, Cliff Sarginson wrote: Hello I have a .signature file .. as below. When I respond to a mailing list message the signature does not seem to get appended. Is this a feature ? Your .signature should get added when you go into your editor in compose or reply mode. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: Handling attachments
On Thu, Sep 13, 2001 at 12:40:45PM -0700, Will Yardley wrote: Mack Stevenson wrote: That's not what I meant :); after pressing 'v', I get a tree of the attachments in this email. Suppose that one of them is an image, .e.g., monkey.jpg. How do I go about seeing that picture? To successfully pipe it into an image viewer I would need an image viewer which reads raw data from stdin, something which isn't very common... The only other option is to first save that image into a separate file, and then adding an appropriate entry to your .mailcap. i've never done this with image files before, but it would probably be something like: image/jpeg; xv '%s' ; test=test $DISPLAY != that's not tested; just a guess. Looks about right... But, be careful about capital letter in test= I've never been able to use captical letter in test=..., as in test=ps -C netscape or test=test -C X. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Uppercase problem in .mailcap
In my ~/.mailcap, I have text/html; netscape %s; nametemplate=%s.html; test=ps -C X 1/dev/null 2/dev/null It seems that Mutt-1.2.5i translates the uppercase ps -C X ... to lowercase ps -c x ... Anyone have solution for this? -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPUs cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: Uppercase problem in .mailcap
On Thu, Aug 02, 2001 at 10:58:31AM +0530, Ankit Mohan wrote: * William Park [EMAIL PROTECTED] [10:54 02/08/01]: It seems that Mutt-1.2.5i translates the uppercase ps -C X ... to lowercase ps -c x ... Anyone have solution for this? hi. not exactly a solution for the problem that you are facing, but a workaround... try the following ps -A | grep X hope that helps... Thanks, that works. But, curiously ps -Af still translates to lowercase ps -af Has this been fixed in the current version? -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPUs cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Uppercase - lowercase in 'test=...' in .mailcap
In my ~/.mailcap, I have text/html; netscape %s; nametemplate=%s.html; test=ps -C X 1/dev/null 2/dev/null It seems that Mutt translates the uppercase ps -C ... to lowercase ps -c ... Anyone have solution for this? I'm running Mutt-1.2.5i. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPUs cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: Random Sigs?
On Wed, Jul 11, 2001 at 11:15:13AM -0700, Carl B . Constantine wrote: Is there anyway in mutt to randomize the signature? I might like to use a different sig for different replies which is easy enough to do using mutt/vim combo (del sig :r ~newsig) but how would I randomize between 4 or 5 sig fileis, or randomize between sigs/quotes from one large file? Has anyone done something like this? From the Mutt manual, 6.3.180. signature Type: path Default: ~/.signature Specifies the filename of your signature, which is appended to all outgoing messages. If the filename ends with a pipe (``|''), it is assumed that filename is a shell command and input should be read from its stdout. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPUs cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: Random Sigs?
On Wed, Jul 11, 2001 at 11:36:52AM -0700, Carl B . Constantine wrote: * William Park ([EMAIL PROTECTED]) wrote: 6.3.180. signature Yes, I'm aware of that, but I'm not sure how to turn that into a random sig. My shell scripting is quite weak I'm afraid ;-( You may be able to tweak random(6) and fortune(6). -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPUs cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: Random Sigs?
On Wed, Jul 11, 2001 at 03:02:13PM -0400, William Park wrote: On Wed, Jul 11, 2001 at 11:36:52AM -0700, Carl B . Constantine wrote: * William Park ([EMAIL PROTECTED]) wrote: 6.3.180. signature Yes, I'm aware of that, but I'm not sure how to turn that into a random sig. My shell scripting is quite weak I'm afraid ;-( You may be able to tweak random(6) and fortune(6). Or, you can play around with RANDOM environment variable (bash), perhaps taking only the last digit which will give you 10 choices, ie. ii=`echo $RANDOM`; echo ${ii#${ii%[0-9]}} -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPUs cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: Random Sigs?
On Wed, Jul 11, 2001 at 04:09:56PM -0400, Bob Bell wrote: ii=`echo $RANDOM`; echo ${ii#${ii%[0-9]}} Why not use bash to compute the remainder? For instance, if you have 13 signature files, compute 0-12 (pseudo-)randomly with: $((RANDOM%13)) Yes, I forgot that Bash can do modulus. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPUs cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: Multiple email addresses
On Wed, Jul 04, 2001 at 04:49:30PM -0300, Javier Sturman wrote: What variable do I have to set to have a default email address? As I am writing this I have to change the email in From: Cause it uses my host domain If I use diferent emails for diferent mailing lists is there anyway mutt uses a default email for that list? Try set from=...@... set reverse_from However, translating email address (ie. the role of 'from' variable) should be done by Sendmail (or delivery agent). -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPUs cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: default browser setup in Mutt
On Fri, Jun 08, 2001 at 02:45:36PM -0400, [EMAIL PROTECTED] wrote: I set up the web browser in Muttrc set web_browser=netscape And get this error message that line 92 contains the unknown variable web-browser What is the variable for setting the default web browser in Mutt? Try one in your ~/.mailcap, text/html; lynx %s; nametemplate=%s.html; test=test $TERM = linux -o $TERM = xterm text/html; netscape -remote 'openURL(%s)'; nametemplate=%s.html; test=ps -C netscape 1/dev/null 2/dev/null text/html; netscape %s; nametemplate=%s.html; test=ps -C X 1/dev/null 2/dev/null For some reason, only the first works for me. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.
Re: Ultimate .muttrc
On Sat, May 19, 2001 at 03:50:09PM +0200, Erik van der Meulen wrote: Hi, I have seen these realy nice and well documented .muttrc files, that list all options and explain too. My own file has grown to become such a mess that I hardly manage to find my way around. If someone can point to such a nice version, I intend to rebuilt my own file on that template. I use Mutt 1.2.5 Mutt-1.2.5 comes with 'Muttrc' which has a lots of doc. -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc
Re: configuring headers in Muttrc/ssmtp.conf
On Sat, May 19, 2001 at 11:24:39AM -0400, Keith Mastin 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. I haven't been following this thread, but... Your envelope should be handled by Sendmail's MASQUERADE option. But, Mutt's doc says set envelope_from will write the envelope using From: header field. Basic problem of workstation.beechtree-its versus beechtree-its.com is that your machine thinks that it is the first form not the second. Why not edit /etc/HOSTNAME? ### Header from Test message to self at other address ### From [EMAIL PROTECTED] Sat May 19 11:04:20 2001 Return-Path: [EMAIL PROTECTED] From: Keith Mastin [EMAIL PROTECTED] -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] -- Mississauga, Ontario, Canada -- 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc
Re: fetchmail and mutt?
On Thu, May 17, 2001 at 01:55:46AM +0200, Michael Tatge wrote: dave hoye muttered: I would like to have fetchmail retrieve my messages from within mutt. This way procmail is able to move the messages to the proper folders. The way I currently have mutt configured, -all- of the mail goes to my spool file (procmail evidently is not being run on these messages). In order to get around this problem, I've been calling fetchmail through a shell escape. I figure there should be a way to create a macro that does this, but I haven't had any luck in mapping it to mutt. You mean like: macro index \ea !fetchmailenter run fetchmail Configure fetchmail to use procmail as mda or have your MTA call procmail and you're done. Since I'm on a dialup I call fetchmail from my ip-up script which is more convenient for me. That's the way it should be. Fetchmail gets email POP server and delivers to port 25. From there, Sendmail delivers to the user. Then, Procmail decides what to do further. Mutt reads email, please!!! -- William Park, Open Geometry Consulting, Mississauga, Ontario, Canada. 8 CPU cluster, (Slackware) Linux, Python, LaTeX, vim, mutt
mailcap syntax for 'plain/html'
My ~/.mailcap entry for 'plain/html' looks like, text/html; netscape -remote 'openURL(%s)'; nametemplate=%s.html; test=ps -C netscape 1/dev/null 2/dev/null text/html; netscape %s; nametemplate=%s.html; test=ps -C X 1/dev/null 2/dev/null text/html; lynx %s; nametemplate=%s.html; test=test $TERM = xterm -o $TERM = linux But, it seems that Mutt-1.2.5i is squashing uppercase to lowercase when it gives the 'test' command to system. For example, 'ps -C X' becomes 'ps -c x'. Has this been solved in the later version? -- William Park, Open Geometry Consulting, [EMAIL PROTECTED] 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc
Re: request for SMTP integration
On Wed, May 16, 2001 at 11:04:18PM +0200, Thomas Roessler wrote: On 2001-05-16 16:39:32 -0400, Mr. Wade wrote: Mutt also has a built-in editor, crappy or otherwise, not that I make a habit of using it very often. unset $editor or specify -x on the commandline, not that I make a practice of using it very often. :o) It doesn't even have a full-screen mode. ;-) It's just there in order to add some kind of mailx send-mode emulation to mutt. Why not just get rid of built-in editor, mailx emulation, and other silly backward compatibility stuffs? Nobody really uses Mutt for mailx emulation! -- William Park, Open Geometry Consulting, Mississauga, Ontario, Canada. 8 CPU cluster, (Slackware) Linux, Python, LaTeX, vim, mutt
Re: German Umlaute in Subject or other Header-Lines
On Tue, May 15, 2001 at 05:36:26PM +0200, Christoph Maurer wrote: Hello List! I've got a question concerning German Umlaute (ä,ö,ü) in headers of a mail. Mutt is able to show them in a correct way, if I receive any mail containing correctly encoded Umlaute in the header. It is also able to correctly encode such characters if i use them by editing the headers in my preferred editor (i.e. vi) having the $edit_headers variable set. But, in normal operation, I'd prefer to have $edit_headers unset and would like to be able to enter characters like ä, ö or ü in the mutt dialog for entering recipients and subjects of a new mail. But on my system hitting an ä does not cause any action, hitting ü returns a _ and so on. Seems to be a problem with ncurses or so... Can anybody help? My machine runs SuSE 7.1, the $LANG variable is set to de_DE and the problems occurs under X as well as in text mode. './configure --enable-locale-fix' helped me to display raw 8bit on the terminal. Where can I find any doc on LANG variable? If de_DE is for German, what code is for Korean? -- William Park (¹ÚÈñÀ©), Open Geometry Consulting, Mississauga, Ontario, Canada. 8 CPU cluster, (Slackware) Linux, Python, LaTeX, vim, mutt
Re: German Umlaute in Subject or other Header-Lines
On Tue, May 15, 2001 at 06:18:52PM +0200, Christoph Maurer wrote: But, in normal operation, I'd prefer to have $edit_headers unset and would like to be able to enter characters like ä, ö or ü in the mutt dialog for entering recipients and subjects of a new mail. But on my system hitting an ä does not cause any action, hitting ü returns a _ and so on. Seems to be a problem with ncurses or so... Can anybody help? My machine runs SuSE 7.1, the $LANG variable is set to de_DE and the problems occurs under X as well as in text mode. './configure --enable-locale-fix' helped me to display raw 8bit on the terminal. Where can I find any doc on LANG variable? If de_DE is for German, what code is for Korean? This is an configure-option of mutt, or of ncurses? When you compile Mutt ;-). I've tried 'LANG=ko', 'korean', 'ko_KR', 'korean.eur'. Nothing worked, all I could see was '?'. What I needed was for Mutt to spit out raw 8bit characters to Xterm; and, '--enable-locale-fix' did it. Sorry, after re-reading your post, I'm at where you are now. I can see 8bit characters in the header and message, whether encoded or raw. But, even though the 8bit characters don't display properly when I type at the bottom of terminal, they get encoded properly. Because, I can see them after I receive the mail. So, I can offer no help. To get a list of all available locales, simply write locale -a, perhaps you will want to have a look at man locale, too. Gruß Christoph -- William Park (¹ÚÈñÀ©), Open Geometry Consulting, Mississauga, Ontario, Canada. 8 CPU cluster, (Slackware) Linux, Python, LaTeX, vim, mutt
raw 8bit on From/Subject headers
At the moment, mutt displays '?' for raw 8bit characters. How can I tell Mutt to display them as is and to leave the interpretation to Xterm? I need this feature to see Korean characters on Korean version Xterm. --William Park, Open Geometry Consulting, Mississauga, Ontario, Canada. 8 CPU cluster, (Slackware) Linux, Python, LaTeX, vim, mutt
Re: How handle HTML emails?
On Fri, May 04, 2001 at 07:42:03PM +0100, Viktor Lakics wrote: text/html; links -dump %s; nametemplate=%s.html; copiousoutput· '-dump' option will print the rendered HTML file to the screen. Try '-force_html' if you want to browse. --William Park, Open Geometry Consulting, Mississauga, Ontario, Canada. 8 CPUs, Linux, Python, LaTeX, vim, mutt
Re: How handle HTML emails?
On Thu, May 03, 2001 at 01:38:46PM -0700, Dr. Christian Seberino wrote: How do people read HTML emails? Yes I know I could save email and fire up Netscape but is there some automagic way to streamline the process??? Usually, I press 'd'. But, putting text/html; lynx -force_html %s; needsterminal in ~/.mailcap, /etc/mutt/mailcap, or /etc/mailcap, in that order will load 'lynx' when you press 'v'. --William Park, Open Geometry Consulting, Mississauga, Ontario, Canada. 8 CPUs, Linux, Python, LaTeX, vim, mutt
Re: vim and a junk sig
On Fri, Apr 20, 2001 at 08:59:34AM -0500, Joe Rice wrote: please excuse me if this made to the list already. i had some subscription problems. I've already seen this. hi, I'm using vim as the editor for mutt. just recently i started to get this huge line of random characters at the bottom of all the email i compose. This had never happened before. I upgraded vim to the latest version thinking it had something to do with "Malicious embedded VIM control codes". the problem still persisted. I then upgraded mutt to 1.3.17i and it is still happening. I've never used a sig and i don't have any thing in my .muttrc that would include one. If anyone can help solve this problem i would appreciate it. As someone already hinted, look into ~/.signature file or $signature variable. Thanks joe --William Park, Open Geometry Consulting, 8 CPUs. Linux, python, LaTeX, vim, mutt
Re: postponed message lost
On Wed, Apr 11, 2001 at 05:36:52PM -0400, Andrew Pimlott wrote: On Wed, Apr 11, 2001 at 08:58:57PM +0200, Rado S. wrote: On Tue 10.Apr'01 at 19:51:54 -0400 wrote Andrew Pimlott [EMAIL PROTECTED]: / There may be a bug in mutt 1.2.5 that causes postponed messages to / be lost. When you edit a message but don't save before you return to the composer, all that's left are the headers, so mutt get's only an empty body. I should have mentioned this: It's definitely not possible. I was editing the message for hours (literally), and I save compulsively. I'm running 1.2i, and don't have problem with postponed messages. Can you duplicate the problem consistently? --William Park, Open Geometry Consulting, Linux/Python/LaTeX/vim, 8 CPUs.