Re: request for SMTP integration
On Wed, May 16, 2001 at 05:27:44PM -0400, William Park wrote: 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! I use it for command line mailx emulation, not that this is in the slightest bit relevant to the above though. -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Re: fetchmail and mutt?
On Wed, May 16, 2001 at 04:31:38PM -0600, dave hoye wrote: All, 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. dave I have several procmail recipies that send to several spoolfiles that I then tell mutt to use as mailfiles: # .procmailrc # write matches to spool files :0: * ^TO_devshed devshed-spool :0: * ^TO_linux-parport parport-spool :0: * ^TO_luni luni-spool :0: * ^TO_mutt mutt-spool :0: * ^TO_pgp-keyserver-folk pgp-spool :0: * ^TO_python-web python-web-spool :0: * ^TO_vnc vnc-list-spool :0: * ^TO_palm-dev-forum palm-dev-spool :0: * ^TO_eazel eazel-spool # .muttrc #parameter settings set pager_index_lines=8 set sort=threads set folder=~/Mail set record=~/Mail/sent-mail set mbox=~/Mail/inbox set move=ask-yes set editor=vim # mailboxes mailboxes =devshed-spool mailboxes =eazel-spool mailboxes =parport-spool mailboxes =luni-spool mailboxes =mutt-spool mailboxes =palm-dev-spool mailboxes =pgp-spool mailboxes =python-web-spool mailboxes =vnc-list-spool mailboxes =test-spool #spool hooks for default read messages mbox-hook devshed-spool =devshed mbox-hook eazel-spool =eazel mbox-hook parport-spool =parport mbox-hook luni-spool=luni mbox-hook mutt-spool=mutt mbox-hook palm-dev-spool=palm-dev mbox-hook pgp-spool =pgp mbox-hook python-web-spool =python-web mbox-hook vnc-list-spool=vnc-list mbox-hook test-spool=inbox -- David Rock [EMAIL PROTECTED] PGP signature
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
Re: request for SMTP integration
On Thu, May 17, 2001 at 06:35:24AM +0200, Thomas Roessler ([EMAIL PROTECTED]) wrote: On 2001-05-16 20:22:09 -0400, Rich Lafferty wrote: You'd be surprised. Use mutt with -x is a standard answer to the (increasingly common) question, How can I send mail with an attachment from my noninteractive process? (Except that they usually mispel noninteractive process as CGI script.) Why do you use -x for that? I don't -- I mostly use the MIME library for whatever language I might be writing in. The above was an observation more than it was advice. -Rich -- -- Rich Lafferty --- Sysadmin/Programmer, Instructional and Information Technology Services Concordia University, Montreal, QC (514) 848-7625 - [EMAIL PROTECTED] --
Re: request for SMTP integration
On Wed, 16 May 2001 12:54:05 -0400 Mike Schiraldi wrote: Mutt needs mindshare. Otherwise we all lose. Some day you'll wake up and mutt won't be able to read mail cause 99% of the world is using proprietary MS|Sun|Oracle|Whatever extensions. The best protection against all those extensions is the Unix do one thing and do it well philosophy. After all, you're suggesting just such an extension. Next someone will want mutt to render HTML, for much the same reasons. It's me! No, seriously, HTML e-mail is IMVHO not something to be afraid of. See JUdell(1995). And that is exactly the reason, why I would vote for gmutt too (I know, that you CAN make console HTML viewer -- but exactly in things, which are the most important for HTML mail, like tables, is Lynx the weakest link). Happy flaming! Matej
Re: request for SMTP integration (was Re: Mail using non-local SMTP server.)
Brendan Cully wrote: IMAP always gets dragged into this, and it's a red herring. Fetchmail cannot fully replace the functionality of mutt's IMAP code, and neither can any other tool. IMAP is a mailbox driver, and as such is the province of the MUA. What confuses me about fetchmail is that if you read the documentation, or just use fetchmailconf, you'll see all kinds of blatant plugs for IMAP--things like IMAP is the best mail server protocal, it's the one the author uses, it's the best tested, etc. But, it seems to me that fetchmail is most useful for popping POP3 mail, and that it shouldn't be necessary to pop IMAP mail. Why the discrepacy? -Nelson
Re: Signature
Masand, Manish [mutt-users] Thu, May 17, 2001 at 05:25:37PM +0200: I am a newbie in the world of mutt and am in the process of setting it up on my systen.Would someone be kind enough to tell me how to add a entry to display my signature below the body of the mail set signature=~/.signature And then create a small file called .signature in your homedir (upto 4 lines, fits within 70..80 chars per line ...) -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
Notice: starting to look into HTML code stripper patch
Hi, I just wanted to notify at least you guys (I'm not a member of mutt-dev so I don't post there) that since HTML mail is so difficult, I'm probably just going to write a HTML code stripper (only caring about br and such *necessities*) in some sort of patch form. Wish me luck. And - don't do as some did in the SMTP thread, don't read in words I never typed just *because* I mentioned HTML. I do not want a new Communicator, just a way to read *and* reply sanely. :) (And, as I previously babbled on about, I can't lobby all (but some) people into changing their sent documents format. I can't even filter them (since then I would only have your mail :) The reason I don't do filters is that I realised I don't want to spend half my life programming Procmail since it is overkill, I just want to read and reply, not display fancy headers, unusable [EMBED]s and other yuck.) Anyways, any tips/hints/etc would be appreciated, and a comment about how Mutt[patched] should select the Mailcap method (which is bad since replies are broken) or the internal[patch] version. -- /petri
Re: Signature
Am Don, 17 Mai 2001, schrieb Masand, Manish: I am a newbie in the world of mutt and am in the process of setting it up on my systen.Would someone be kind enough to tell me how to add a entry to display my signature below the body of the mail Just write set signature=your_sig_file in your .muttrc Greetings Christoph -- Christoph Maurer - Jülicher Str. 80 - D - 52070 Aachen - Tux# 194235 mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook
Re: Signature
* On [010517 17:57] Masand, Manish [EMAIL PROTECTED] wrote: i did create a .signature file but it was not picked up my .muttrc contains ``set'' sig_dashes=yes ``set'' signature=/opt/tkshome/.signature ``set'' bounce_delivered=yes ``set'' dsn_notify=failure,delay ``set'' dsn_return=full ``set'' envelope_from=yes You don't need the quotes around the set: set signature=/path/to/sig not ``set`` signature=/path/to/sig lawrence -- Lawrence Mitchell | http://members.tripod.co.uk/EVSvienna/ [EMAIL PROTECTED] | In a word -- im-possible! That's two words, said Dibbler. -- (Terry Pratchett, Moving Pictures)
Re: Signature
* On [010517 18:32] Masand, Manish [EMAIL PROTECTED] wrote: i have removed the quotes... but the problem remains is this problem becoz i am firing mutt on Unix by the following command mutt -a xyz.txt [EMAIL PROTECTED] abc.txt This may be the problem, as I have just tried this, it didn't work for me either. Lawrence -- Lawrence Mitchell | http://members.tripod.co.uk/EVSvienna/ [EMAIL PROTECTED] | Bonsai! -- (Terry Pratchett, Reaper Man)
Re: Signature
Masand, Manish ([EMAIL PROTECTED]) said something to this effect on 05/17/2001: any solution to this problem? anyone? Yeah: mutt -a xyz.txt [EMAIL PROTECTED] (cat abc.txt; echo --; cat ~/.signature) (darren) -- Optimization hinders evolution.
Re: Signature
Masand, Manish wrote: i have removed the quotes... but the problem remains is this problem becoz i am firing mutt on Unix by the following command mutt -a xyz.txt [EMAIL PROTECTED] abc.txt pls advise Manish Masand Hmm... it seems that the contents of the file specified by $signature are NOT appended to all outgoing messages, contrary to the documentation. If the text of the message is taken from a file on the commandline or if mailx emulation is being employed, the signature is omitted. The signature should be appended in the edit buffer when the editor is invoked, though. Perhaps the docs need to be corrected. From the docs: 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. -- Linux: The Choice of the GNU Generation
Re: Signature
darren chamberlain wrote: Masand, Manish ([EMAIL PROTECTED]) said something to this effect on 05/17/2001: any solution to this problem? anyone? Yeah: mutt -a xyz.txt [EMAIL PROTECTED] (cat abc.txt; echo --; cat ~/.signature) If you're going to do it that way, at least include the space after the dashes! :o) $ mutt -a xyz.txt [EMAIL PROTECTED] \ (cat abc.txt; echo -- ; cat ~/.signature) -- Linux: The Choice of the GNU Generation
Re: Notice: starting to look into HTML code stripper patch
On Thu, May 17, 2001 at 05:19:45PM +0200, Petri Kelottijaervi wrote: I just wanted to notify at least you guys (I'm not a member of mutt-dev so I don't post there) that since HTML mail is so difficult, I'm probably just going to write a HTML code stripper (only caring about br and such *necessities*) in some sort of patch form. Wish me luck. And - don't do as some did in the SMTP thread, don't read in words I never typed just *because* I mentioned HTML. I do not want a new Communicator, just a way to read *and* reply sanely. :) Forgive me if I'm wrong about your intentions here, but you can achieve what I think you want to achieve by having: auto_view text/html in your .muttrc and text/html; vilistextum -clr %s -; copiousoutput in your .mailcap. This is what I have and when I view HTML email it gets ASCIIized pretty darn quick by vilistextum for inline viewing, and when I reply it includes the ASCIIized text quoted in a simple text/plain message. Vilistextum is available from http://www.diax.ch/users/bhaak/vilistextum/. Mark.
Re: request for SMTP integration (was Re: Mail using non-local SMTP server.)
* On [010517 19:15] Mike Schiraldi [EMAIL PROTECTED] wrote: Hey, i'm sick of using external encryption suites like GPG. I think mutt should absorb all their functionality. And all those external apps in .mailcap, too. And i'm sick of having to install Unix before i can use mutt. mutt is unusable without an operating system, and it's foolish and closed-minded to assume that newbies should have to install an operating system just so they can use mutt. Why force them to configure both Linux and mutt when the two can be combined to have one interface? Oh dear ;-). In which case, switch to Gnus would have to be the answer, though even emacs isn't an operating system, *yet*. I know what, though, why bother making them configure mutt, why not just give them a pencil and paper :-). HIBT? Lawrence -- Lawrence Mitchell | http://members.tripod.co.uk/EVSvienna/ [EMAIL PROTECTED] | No one was avoiding him, it was just that an apparent random Brownian motion was gently moving everyone away. -- (Terry Pratchett, Reaper Man)
Re: Multiple [*.log] file attachements from script
[Note: moved to mutt-users only!] I am using mutt to send e-mail messages to the development group following a product build/compile. Now I am writing some scripts for a new product which is made out of multiple modules each of which will be built individually. I may find myself in a situation where I do not know how many *.log files I end up with after the build. If I do try to send a message and try attach and inexistent file -:) , mutt will not send it, of course. My question is: Is there a way that I can tell mutt to attach whatever *.log files happen to exist in the current directory, from within a script, knowing that there may me one or more such files? Let the script build the mutt command line. attach= for i in *.log ; do test -s $i attach= -a $i ; done ... mutt -s $subject $attach rcpt /dev/null
Quoting message in replies
Hi... Currently I have in /etc/muttrc: set indent_string= I want to have my replies look like the following example: +-- | Hi | | Can anyone tell me the format to define a variable(for | the CVS server) in the inetd.conf file? +-- [-- reply body ] Setting 'set indent_string=| ' would give me part of what I want, but I can't come up with a solution to append prepend the '+' lines. I'm using Joe as my default editor, so Vim/Vi solutions are not what I'm after. I'm hoping for a Mutt-only solution if its possible. Any ideas? TIA -- -duke Calgary, Alberta, Canada
Re: Quoting message in replies
On Thu, May 17, 2001 at 07:24:14AM -0600, Duke Normandin wrote: I want to have my replies look like the following example: +-- | Hi | | Can anyone tell me the format to define a variable(for | the CVS server) in the inetd.conf file? +-- This will break software that uses the defacto standard for quoting. For example, I routinely use smart formatting in Jed to strip the leading s, reformat the long lines that someone sent, and reinsert the s, all with a single keystroke. It makes messages, especially those with orphans, much easier to read. Non-standard quoting would break this feature which I use many times a day. From .muttrc: # Name: indent_string # Type: string # Default: # # # Specifies the string to prepend to each line of text quoted in a # message to which you are replying. You are strongly encouraged not to # change this value, as it tends to agitate the more fanatical netizens. Regards, -rex
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
score config
I am trying to setup some more advanced scoring based on certain headers. However... score ~hSomeHeader: =5 reports Error in .muttrc, line 13: h: not supported in this mode Same thing with ~B. Is there no way to score based on arbitrary headers? -- Michael Smith ... We build e-business infrastructure solutions SysAdmin, DataFoundry.net ... www.datafoundry.net
Re: request for SMTP integration (was Re: Mail using non-local SMTP server.)
Brendan Cully [mutt-users] Thu, May 17, 2001 at 12:20:20PM -0400: nail. I've talked to him about IMAP and seen him trying to read his mail on the road, and at least a couple of years ago he didn't really seem to understand what IMAP was for. Probably had something to do with the paucity of decent IMAP clients though... AFAIK, ESR uses mutt - and you can't get a more decent IMAP client than that ... -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin