Re: muttzilla on freebsd
On Tue, Oct 10, 2000 at 04:04:13PM -0700, Peter Jaques wrote: has anyone gotten muttzilla working on freebsd? when i click a mailto link now, nothing at all happens, not even console complaints from netscape. First off, muttzilla now has its own mailing list: [EMAIL PROTECTED] Secondly, yes, I have received several reports of success using muttzilla under freebsd. I don't have any more specific info, though. (It didn't sound like any major changes were required.) Have you followed INSTALL faithfully? If not, go back to the beginning and try again. If so, I guess the next thing to check is which version of Netscape you are running. Some are known to have problems (see ERRATA). Brian
Re: mutt and qmail: child exited 127
On Tue, Oct 10, 2000 at 11:29:30PM +0200, Horacio MG wrote: hmmm ... i've had problems with this when mutt was using the wrong sendmail binary (= or i've forgotten to replace the OEM sendmail with a link to qmail's sendmail binary. make sure that /usr/sbin/sendmail is a link to /var/qmail/bin/sendmail (or whereever you installed qmail) and try again. Both /usr/sbin/sendmail and /usr/libexec/sendmail/sendmail are symlinks to /var/qmail/bin/sendmail If you are running OpenBSD 2.7, then you shouldn't replace /usr/sbin/sendmail, as it will get overwritten the next time you upgrade it with a 'make build' from source. Instead, place relevant entries in /etc/mailer.conf to point the sendmail wrapper (mailwrapper) to the correct place for qmail. This could be the cause of your exec problem. Check that the symlinks are in place, and if not, read mailer.conf(5) I use the following /etc/mailer.conf on OpenBSD-current: sendmail/var/qmail/bin/sendmail send-mail /var/qmail/bin/sendmail mailq /var/qmail/bin/qmail-qread newaliases /usr/bin/true hoststat/usr/bin/true purgestat /usr/bin/true -- Anil Madhavapeddy, [EMAIL PROTECTED]
Re: muttzilla on freebsd
On 10, Oct, 2000 at 04:04:13PM -0700, Peter Jaques wrote: has anyone gotten muttzilla working on freebsd? when i click a mailto link now, nothing at all happens, not even console complaints from netscape. On OpenBSD I couldn't make it compile at all, so ... you're better of I think, but I'd sure like to know more about it. ML -- UNIX, reach out and grep someone!
Re: [ANNOUNCE] new version of mutt_ldap_query script
According to Brian Salter-Duke [EMAIL PROTECTED] (on 10/10/00): On Mon, Oct 09, 2000 at 01:39:51PM +0200, Marc de Courville wrote: Dear all, please find attached to this email the new version of mutt_ldap_query perl script that performs ldap queries for mutt. The distribution now includes a module for interfacing with little brother database (m_ldap). Enjoy! Why not submit the m_ldap module to Roland for inclusion in the lbdb tarball? I suggest altering:- as mentioned Roland, I already did propose this module. But as underlined, it deserve more thinking and work to have a clean and easy user configuration. I will work on it as soon as I have some time. Thanks for the remark BTW. Kind regards, -- Marc de Courville -=- Centre de Recherche Motorola -=- [EMAIL PROTECTED] -=- {Free,Net}BSD, Linux: You can also get less bang for more bucks.-=- legalOpinions hereabove are my own and not those of my organization/legal
Re: Mutt and vim enhancment
Hi. I've change a function a little. Now it takes only name of recipient (if it's there) and its address otherwise. If there are multiple recipients in To: field, it takes only first one (the title string can be too long). function M_settitle() let i = 1 let line = getline(i) while (match(line, "To:") == -1 line != "") let i = i + 1 let line = getline(i) endwhile if (line != "") let i = match(line, " ") let j = match(line, "") - 1 if j == -2 let j = match(line, ",") endif if j == -1 let j = strlen(line) endif let len = j - i let address = strpart(line, i, len) let title = "Mail to " . address let title = substitute(title, " ", " ", "g") execute 'set titlestring=' . title execute 'set iconstring=' . title execute 'set titleold=Mutt' endif endfunc Also note that is assumes that you have set edit_headers in your .muttrc Peter.
Re: gpg.rc: --textmode
Hi there On Tue, Oct 10, 2000 at 01:38:40PM -0400, Bob Bell wrote: AS What is the '--textmode' for? The (gpg) manual page gives an explanation AS for '-t' but not really for '--textmode'. -t and --textmode are roughly equivalent, as stated in my man page (v1.03). -t, --textmode Use canonical text mode. If -t (but not --textmode) is used together with armoring and signing, this enables clearsigned mes- sages. This kludge is needed for PGP compatibility; normally you would use --sign or --clearsign to selected the type of the sig- nature. Right, but what does happen when I use --textmode (not -t) together with armoring and signing? The only information I can gather from the man page is "Use canonical text mode". But what does that mean? Adrian Schlatter -- Murphy's Law of Research: Enough research will tend to support your theory.
multiple mutts
Hey, sometimes I shell out of a mutt window, forget where I am (easy, when you're me), and start another mutt session. Days can go by before I catch the duplicated sessions. I could use a shell script to `ps' for existing mutt sessions before launching another session; or is there a better way? TIA/x
reverse_name and alternates
what am I doing wrong? I have the following set: set alternates = [EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|dboger@.*.bgu.ac.il set reverse_name and yet, when I get mail to [EMAIL PROTECTED], and try to reply to it, the reply has the default of [EMAIL PROTECTED] what am I missing? :) Dan -- Dan Boger System Administrator [EMAIL PROTECTED] PGP signature
Re: multiple mutts
the/eXtreme [EMAIL PROTECTED] wrote on Wed, 11 Oct 2000: I could use a shell script to `ps' for existing mutt sessions before launching another session; or is there a better way? How about a shell script that looks (vaguely) like this: #!/bin/sh LOCKFILE=~/.mutt.lock if [ -f $LOCKFILE ]; then echo "Another Mutt session is already running ($LOCKFILE exists)" exit 1 else touch $LOCKFILE mutt $* rm $LOCKFILE fi ... That's untested, I just typed it in, but hopefully it will work. At the very least, with minor tweaking. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Meep!
Re: multiple mutts
the/eXtreme proclaimed on mutt-users that: I could use a shell script to `ps' for existing mutt sessions before launching another session; or is there a better way? That is the best way ;) -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI Come quickly, I am tasting stars! -- Dom Perignon, upon discovering champagne.
Re: multiple mutts
On Wed, Oct 11, 2000 at 11:49:40AM -0500, the/eXtreme wrote: Hey, sometimes I shell out of a mutt window, forget where I am (easy, when you're me), and start another mutt session. Days can go by before I catch the duplicated sessions. I could use a shell script to `ps' for existing mutt sessions before launching another session; or is there a better way? Assuming for the sake of this example a bash shell: You could create a .muttbashrc file which, after sourcing your regular rc file, says PS1="mutt-shell: " and then in mutt (or your .muttrc) :set shell="/bin/bash -rcfile /home/username/.muttbashrc" But if you open more subshells, you're on your own. :) -- - Bruce
Re: reverse_name and alternates
On Wed, Oct 11, 2000 at 08:16:15PM +0300, Mikko Hänninen wrote: Are you using "my_hdr From", perhaps? "my_hdr From" is incompatible (sort of) with $reverse_name. sure enough, that was it. Once I changed from send-hook . 'my_hdr From...' to send-hook . 'unmy_hdr From' it works :) Thanks! -- Dan Boger System Administrator [EMAIL PROTECTED] PGP signature
MSA?
Can mutt use a MSA (mail submission agent)? If not are there currently plans to or should I submit a feature request (and if so how to I properly submit a feature request)? thanks, Todd "Pier" Holloway -- Have a happy mind...
Re: MSA?
On Wed, Oct 11, 2000 at 11:57:06AM -0700, Todd Holloway wrote: Can mutt use a MSA (mail submission agent)? Of course. Now, mutt invokes sendmail -- I see no reason why it shouldn't be able to call an MSA instead. You can even specify HOW mutt should call sendmail /qmail, whatever) -- [EMAIL PROTECTED] Dipl.-Informatiker innominate AG system engineer networking people tel: +49.30.308806-62 fax: -77 http://innominate.de pgp at request PGP signature
Re: multiple mutts
-: LOCKFILE=~/.mutt.lock Does a lock file exist for IMAP-configured mutt? When I have a mutt session up, I can't find a lock file anywhere. Do I need to be concerned with the `dotlock_program' configuration variable? My configuration and build of mutt-1.2.5 didn't create a `mutt_dotlock' binary. TIA
Re: MSA?
On Wed, Oct 11, 2000 at 09:14:14PM +0200, Ralf Hildebrandt wrote: On Wed, Oct 11, 2000 at 11:57:06AM -0700, Todd Holloway wrote: Can mutt use a MSA (mail submission agent)? Of course. Now, mutt invokes sendmail -- I see no reason why it shouldn't be able to call an MSA instead. You can even specify HOW mutt should call sendmail /qmail, whatever) Probably not. MSA (mail submission agent) refers to RFC2476. It specifies an interface very similar to SMTP on a different port (587), especially intented to allow email submission from MUAs e.g. with authentication. On port 25 you should run a normal SMTP server to receive incoming mails. On port 587 you may run a submission server with client authentication enabled to allow relaying for your customers/personell etc. As mutt does not support SMTP (and support for SMTP is not intended), it also does not support submission as of RFC2476. Best regards, Lutz -- Lutz Jaenicke [EMAIL PROTECTED] BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/ Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129 Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
Re: multiple mutts
On Wed, Oct 11, 2000 at 02:30:07PM -0500 or thereabouts, the/eXtreme wrote: -: LOCKFILE=~/.mutt.lock Does a lock file exist for IMAP-configured mutt? When I have a mutt session up, I can't find a lock file anywhere. Do I need to be concerned with the `dotlock_program' configuration variable? My configuration and build of mutt-1.2.5 didn't create a `mutt_dotlock' binary. TIA You'll notice the previous post includes the line touch $LOCKFILE This will create such a lockfile when you run the script. mutt does not create a lockfile by default. -- Conor Daly Met Eireann, Glasnevin Hill, Dublin 9, Ireland Ph +353 1 8064217 Fax +353 1 8064275
Re: MSA?
Lutz Jaenicke [[EMAIL PROTECTED]] wrote: On Wed, Oct 11, 2000 at 09:14:14PM +0200, Ralf Hildebrandt wrote: On Wed, Oct 11, 2000 at 11:57:06AM -0700, Todd Holloway wrote: Can mutt use a MSA (mail submission agent)? Of course. Now, mutt invokes sendmail -- I see no reason why it shouldn't be able to call an MSA instead. You can even specify HOW mutt should call sendmail /qmail, whatever) Probably not. MSA (mail submission agent) refers to RFC2476. It specifies an interface very similar to SMTP on a different port (587), especially intented to allow email submission from MUAs e.g. with authentication. On port 25 you should run a normal SMTP server to receive incoming mails. On port 587 you may run a submission server with client authentication enabled to allow relaying for your customers/personell etc. As mutt does not support SMTP (and support for SMTP is not intended), it also does not support submission as of RFC2476. By the same token, though, there is nothing to *prevent* Mutt from making use of an *external* MSA. In short, it (currently) supports this mechanism just as well as it supports regular SMTP or any other sending protocol: not at all directly, but if you have a program to use for this protocol, you should be able to use Mutt with it. -- Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/ -+-+-- the crises posed a question / just beneath the skin the virtue in my veins replied / that quitters never win PGP signature
Re: MSA?
On 2000-10-11 21:41:38 +0200, Lutz Jaenicke wrote: Can mutt use a MSA (mail submission agent)? Probably not. MSA (mail submission agent) refers to RFC2476. It specifies an interface very similar to SMTP on a different port (587), especially intented to allow email submission from MUAs e.g. with authentication. On port 25 you should run a normal SMTP server to receive incoming mails. On port 587 you may run a submission server with client authentication enabled to allow relaying for your customers/personell etc. As mutt does not support SMTP (and support for SMTP is not intended), it also does not support submission as of RFC2476. Mutt cannot ACT as a mail submission agent in the sense of RFC 2476, but it can USE an external MSA. -- Thomas Roessler [EMAIL PROTECTED]
Re: multiple mutts
-: You'll notice the previous post includes the line -: -: touch $LOCKFILE Yes, silly of me. It also helps if the luser starts the *first* mutt session using the script. Duh.
Mutt in batch mode
Hi, I'd like to know how to use 'mutt' in batch mode, without a user intervention. I use the following command: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca but I'm always going in the user interface. Is it possible to do it? And, if yes, do you know how to do it? Thanks Jean-Paul Laberge
Re: Mutt in batch mode
On Wed, Oct 11, 2000 at 04:44:56PM -0400, Jean-Paul Laberge wrote: I'd like to know how to use 'mutt' in batch mode, without a user intervention. I use the following command: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca but I'm always going in the user interface. Is it possible to do it? And, if yes, do you know how to do it? You're very close. Just redirect stdin from a file or a pipe as such: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca /dev/null or cat prepared-file | mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca me PGP signature
Re: Mutt in batch mode
On 2000.10.11 16:44:56, you, the extraordinary Jean-Paul Laberge, opined: Hi, I'd like to know how to use 'mutt' in batch mode, without a user intervention. I use the following command: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca but I'm always going in the user interface. Is it possible to do it? And, if yes, do you know how to do it? Just one more little thing: give mutt a stream of characters (I guess that's how to put it): mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca body.txt or echo "hey"|mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca Cheers, N. -- Nollaig MacKenzie :: [EMAIL PROTECTED] http://www.amhuinnsuidhe.cx
Re: Mutt in batch mode
Jean-Paul Laberge [[EMAIL PROTECTED]] wrote: I'd like to know how to use 'mutt' in batch mode, without a user intervention. I use the following command: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca but I'm always going in the user interface. Almost right, use: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca /dev/null -- Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/ -+-+-- the crises posed a question / just beneath the skin the virtue in my veins replied / that quitters never win PGP signature
Re: Mutt in batch mode
On Wed, Oct 11, 2000 at 04:44:56PM -0400, Jean-Paul Laberge wrote: I'd like to know how to use 'mutt' in batch mode, without a user intervention. I use the following command: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca but I'm always going in the user interface. Is it possible to do it? And, if yes, do you know how to do it? It is possible, just pass the message body (or /dev/null if none) to standard input. This ought to be in the FAQ: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca /dev/null -- Tommi Komulainen [EMAIL PROTECTED] PGP signature
Re: multiple mutts
On Wed, Oct 11, 2000 at 03:33:06PM -0500 or thereabouts, the/eXtreme wrote: -: You'll notice the previous post includes the line -: -: touch $LOCKFILE Yes, silly of me. It also helps if the luser starts the *first* mutt session using the script. Duh. Time of day, Time of day... -- Conor Daly Met Eireann, Glasnevin Hill, Dublin 9, Ireland Ph +353 1 8064217 Fax +353 1 8064275
Re: multiple mutts
On Wed, Oct 11, 2000 at 08:19:24PM +0300, Mikko Hänninen wrote: the/eXtreme [EMAIL PROTECTED] wrote on Wed, 11 Oct 2000: I could use a shell script to `ps' for existing mutt sessions before launching another session; or is there a better way? How about a shell script that looks (vaguely) like this: #!/bin/sh LOCKFILE=~/.mutt.lock if [ -f $LOCKFILE ]; then echo "Another Mutt session is already running ($LOCKFILE exists)" exit 1 else touch $LOCKFILE mutt $* rm $LOCKFILE fi ... That's untested, I just typed it in, but hopefully it will work. At the very least, with minor tweaking. This is the ps solution that I use all the time. I and Rob Reid developed this some time ago. I call the mutt exectuable realmutt, this script muttwrap and alias 'mutt' to 'muttwrap -y'. I know you can open several mutts and write in all of them, but I prefer to open the 2nd in readonly to remind me that I really did not want to do it in most cases and if I did it could be in readonly mode. #!/usr/bin/sh if ps -U $LOGNAME | grep realmutt /dev/null then echo Warning: You are already running Mutt. echo Starting mutt in readonly mode. sleep 2 # Or however many seconds you need to read the # message before mutt starts. /usr/local/bin/realmutt -R $* else echo Starting Mutt OK sleep 2 /usr/local/bin/realmutt $* fi Cheers, Brian. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Meep! -- Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] School of Biological, Environmental and Chemical Sciences, SITE, Northern Territory University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847 http://www.smps.ntu.edu.au/school/compchem.html
Re: Disabling encryption on saved copies of outgoing.
On 2000.10.11 13:19:22, you, the extraordinary raf, opined: Nollaig MacKenzie wrote: snip! Am I right in thinking that the message Bcc-ed to myself is encrypted quite independently of the message "To: " whoever (and vice-versa, which is what actually matters)? Cheers, N. no, but the solution is trivial. create an "anonymous" secret/public key pair for use when sending anonymous mail. it doesn't matter if people can see that a message was encrypted to: [EMAIL PROTECTED] and they can't locate the "public" key because you've hidden it under a rock Cool. Thanks! I made it a little more complicated, Bcc-ing to [EMAIL PROTECTED] encrypted, and putting an entry in /etc/hosts: my.ip.num.ber go-fsck-youself.com (I didn't actually use go-fsck-youself.com :-) Cheers, N. -- Nollaig MacKenzie :: [EMAIL PROTECTED] http://www.amhuinnsuidhe.cx
Re: multiple mutts
if ps -U $LOGNAME | grep realmutt /dev/null Be careful about using grep to search the output of ps. For example $ ps ax | grep lemming 16004 tty1 S 0:00 grep lemming Y'see? Grep makes a match on its own process. -- [ Bruce J.A. Nourish (email and finger) [EMAIL PROTECTED]] [ GPG key ID BE062236 (75C2 6784 B600 F7F4 E35E A039 F62C 5AC7 BE06 2236) ] [ Fax (775) 665-5938 Phone (480) 763-6970 Pgr (602) 201-3376, ICQ 38344897 ] [ Web http://www.kode187.net - Postal: PO Box 51611, Phoenix AZ 85076-1611 ]
Re: reverse_name and alternates
On Wed, Oct 11, 2000 at 01:01:41PM -0400, Dan Boger wrote: set alternates = [EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|dboger@.*.bgu.ac.il Just a note on your alternates regex... its rather wordy. Try: set alternates = "dan@((xif|wwind|peeron)\.com|wamaltc\.org|giccs\.georgetown\.edu)|dboger@(wwind.com|.*\.bgu\.ac.il)" -- [ Bruce J.A. Nourish (email and finger) [EMAIL PROTECTED]] [ GPG key ID BE062236 (75C2 6784 B600 F7F4 E35E A039 F62C 5AC7 BE06 2236) ] [ Fax (775) 665-5938 Phone (480) 763-6970 Pgr (602) 201-3376, ICQ 38344897 ] [ Web http://www.kode187.net - Postal: PO Box 51611, Phoenix AZ 85076-1611 ]
Re: multiple mutts
On Wed, Oct 11, 2000 at 04:38:31PM -0700, Bruce J.A. Nourish wrote: if ps -U $LOGNAME | grep realmutt /dev/null Be careful about using grep to search the output of ps. For example $ ps ax | grep lemming 16004 tty1 S 0:00 grep lemming Y'see? Grep makes a match on its own process. It works OK on AIX 3.2.5 ps. If you add the -f flag it finds the grep line, but it does'nt without it. OK, so maybe my script does'nt work on all systems, but it is worth playing with to see if some set of ps flags works as required. Cheers, Brian. -- [ Bruce J.A. Nourish (email and finger) [EMAIL PROTECTED]] [ GPG key ID BE062236 (75C2 6784 B600 F7F4 E35E A039 F62C 5AC7 BE06 2236) ] [ Fax (775) 665-5938 Phone (480) 763-6970 Pgr (602) 201-3376, ICQ 38344897 ] [ Web http://www.kode187.net - Postal: PO Box 51611, Phoenix AZ 85076-1611 ] -- Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] School of Biological, Environmental and Chemical Sciences, SITE, Northern Territory University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847 http://www.smps.ntu.edu.au/school/compchem.html
Wildcards in the mailboxes command?
Hi, I'm subscribed to many mailing lists and I love the idea of mutt telling me which mailboxes have new mail. However, that would make the mailboxes line be yet another list of subscriptions that I would have to keep up to date. What I really want to do is something like: mailboxes ! =* Is it possible to do this? If not, consider it a feature request. :) PGP signature
Re: multiple mutts
At 09:23 +0930 12 Oct 2000, Brian Salter-Duke [EMAIL PROTECTED] wrote: On Wed, Oct 11, 2000 at 04:38:31PM -0700, Bruce J.A. Nourish wrote: if ps -U $LOGNAME | grep realmutt /dev/null Be careful about using grep to search the output of ps. For example $ ps ax | grep lemming 16004 tty1 S 0:00 grep lemming Y'see? Grep makes a match on its own process. It works OK on AIX 3.2.5 ps. If you add the -f flag it finds the grep line, but it does'nt without it. OK, so maybe my script does'nt work on all systems, but it is worth playing with to see if some set of ps flags works as required. Or you could just make a minor modification to the grep pattern: ps -U $LOGNAME | grep 'r[e]almutt' /dev/null That way grep won't be able to match itself. -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ Besides, including std_ice_cubes.h is a fatal error on machines that don't have it yet. Bad language design, there... :-)--Larry Wall
Re: multiple mutts
On Wed, Oct 11, 2000 at 07:17:35PM -0500, Aaron Schrab wrote: At 09:23 +0930 12 Oct 2000, Brian Salter-Duke [EMAIL PROTECTED] wrote: On Wed, Oct 11, 2000 at 04:38:31PM -0700, Bruce J.A. Nourish wrote: if ps -U $LOGNAME | grep realmutt /dev/null Be careful about using grep to search the output of ps. For example $ ps ax | grep lemming 16004 tty1 S 0:00 grep lemming Y'see? Grep makes a match on its own process. It works OK on AIX 3.2.5 ps. If you add the -f flag it finds the grep line, but it does'nt without it. OK, so maybe my script does'nt work on all systems, but it is worth playing with to see if some set of ps flags works as required. Or you could just make a minor modification to the grep pattern: ps -U $LOGNAME | grep 'r[e]almutt' /dev/null That way grep won't be able to match itself. Clever! It works well. Brian. -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ Besides, including std_ice_cubes.h is a fatal error on machines that don't have it yet. Bad language design, there... :-)--Larry Wall -- Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] School of Biological, Environmental and Chemical Sciences, SITE, Northern Territory University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847 http://www.smps.ntu.edu.au/school/compchem.html
Re: multiple mutts
Jamie Novak wrote: On 10/11, Aaron Schrab rearranged the electrons to read: Or you could just make a minor modification to the grep pattern: ps -U $LOGNAME | grep 'r[e]almutt' /dev/null That way grep won't be able to match itself. You could also just do a: ps -U $LOGONAME | grep mutt | grep -v grep /dev/null "grep -v" tells grep to ignore whatever pattern you specify there. I haven't tested this on many versions of grep, but I know it works under AIX, HP-UX and FreeBSD. YMMV. - Jamie but that would be a waste of a process. raf
Re: Wildcards in the mailboxes command?
On Thu, Oct 12, 2000 at 02:32:31AM +0200, Peter Palfrader wrote: Hi Aaron! On Wed, 11 Oct 2000, Aaron Lehmann wrote: weasel@marvin:~$ grep mailboxes .mutt/muttrc mailboxes /var/spool/mail/weasel `echo $HOME/.Mail/{IN,People*,Projects*,Debian*,Maillists*,Newsletters*,Cron*,Errors*,spam}` Ahh... mailboxes ! `cd ~/mail ; for x in * ; do echo -n '=' ; echo -n $x ' '; done` Excelent! :-) PGP signature
Re: multiple mutts
On Thu, Oct 12, 2000 at 09:23:29AM +0930, Brian Salter-Duke [EMAIL PROTECTED] wrote: Be careful about using grep to search the output of ps. For example $ ps ax | grep lemming 16004 tty1 S 0:00 grep lemming Y'see? Grep makes a match on its own process. It works OK on AIX 3.2.5 ps. If you add the -f flag it finds the grep line, but it does'nt without it. OK, so maybe my script does'nt work on all systems, but it is worth playing with to see if some set of ps flags works as required. I've been working a lot with ps in Tru64 UNIX and reading the Unix98 (Single Unix Spec V2) standards, and this is undefined behaviour. Basically, ps takes a snapshot of the processes running at an instant in time. Depending on how it does this, and how the system manages processes, the ps command itself may or may not show. Some Unices will even show it sometimes and not others. -- Bob Bell [EMAIL PROTECTED] - "The sooner you start to code, the longer the program will take." -- Roy Carlson, University of Wisconsin
Re: Disabling encryption on saved copies of outgoing.
Nollaig, et al -- ...and then Nollaig MacKenzie said... % % On 2000.10.10 21:45:14, you, % the extraordinary Mikko Hänninen, opined: He is, indeed :-) % % Nollaig MacKenzie [EMAIL PROTECTED] wrote on Tue, 10 Oct 2000: % Am I right in thinking that the message Bcc-ed to ... % % AFAIK, you're not right. The sendmail (or equivalent) program gets ... % % Quite right, as usual (just for that I'm going % to make a sig asserting the superiority of the % Dixie Chicks to the Corrs :-) *grin* % % The single message contains the info about both % the keys used to encrypt, it seems. So I don't % see any straightforward way around the original % problem. It seems pretty simple to me... Just create an additional public/private pair and don't distribute the public key (or note any contact/identification in they key); if nobody has the public key, those 8 hex digits don't really mean much... % % Cheers, N. % -- % Nollaig MacKenzie :: [EMAIL PROTECTED] % http://www.amhuinnsuidhe.cx :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! The "new millennium" starts at the beginning of 2001. There was no year 0. PGP signature
Re: Wildcards in the mailboxes command?
Aaron -- ...and then Aaron Lehmann said... % On Thu, Oct 12, 2000 at 02:32:31AM +0200, Peter Palfrader wrote: % Hi Aaron! % % On Wed, 11 Oct 2000, Aaron Lehmann wrote: % weasel@marvin:~$ grep mailboxes .mutt/muttrc % mailboxes /var/spool/mail/weasel `echo $HOME/.Mail/{IN,People*,Projects*,Debian*,Maillists*,Newsletters*,Cron*,Errors*,spam}` % % Ahh... % % mailboxes ! `cd ~/mail ; for x in * ; do echo -n '=' ; echo -n $x ' '; done` Don't bother with all of that work, since = is just a shortcut for you that mutt has to expand in the end. Try something like mailboxes ! `echo ~/mail/*` and watch it all work. From my .mutt/muttrc file: mailboxes $MAIL `echo $HOME/Mail/F.*` I suppose you can guess that my incoming mail is sorted into 'F'olders named F.somethingorother :-) % % Excelent! :-) Even better, I hope :-) HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! The "new millennium" starts at the beginning of 2001. There was no year 0. PGP signature