Re: Send hook question
On Wed, Oct 04, 2000 at 06:25:47PM -0600, Harold Oga wrote: > On Wed, Oct 04, 2000 at 07:58:13PM -0400, Hal Burgiss wrote: > >Should the below not work? I could swear it used to ;) Recently > >even. Despite much playing with this, I cannot get the header to > >handle the exceptions. > > > >unset use_from > >send-hook . 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' > >send-hook redhat-list 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' > Hi, >I think send-hook is expecting a pattern where you have redhat-list. > Does the following work better for you? > > send-hook . 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' > send-hook '~C redhat-list' 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' No, sorry, it does not work. Neither does '~t'. ??? -- Hal B [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] --
Re: mutt/sendmail mailing list problem
On Wed, Oct 04, 2000, Peter Jaques wrote: > here are the headers from a message i sent from mutt to my other account: > > >From [EMAIL PROTECTED] Wed Oct 4 17:06:04 2000 That's what you want right? > Received: (from mugwort@localhost) > by sol.A (8.9.3/8.9.3) id RAA28485; > Wed, 4 Oct 2000 17:04:13 -0700 (PDT) > (envelope-from [EMAIL PROTECTED]) > if you see the lowest "received" header, it says (from mugwort@localhost), > & later (envelope-from [EMAIL PROTECTED]). if i send a similar message from > outlook, there's no trace of the local account. This is where the problem > lies-- the remote MTA is picking "mugwort@localhost" rather than > "[EMAIL PROTECTED]". can y'all think of any way to hide the local address? > an outgoing mail filter/procmail recipe or somesuch? is that possible with > mutt? > > i'm sorry if this is off-topic for mutt; but i suspect the solution will > lie in mutt's config, e.g. with some mail-out filter, if such is possible. It is a sendmail configuration "problem", or better: a problem what you want to achieve... It says (from mugwort@localhost) because that's your account. What do you care about this header? It is used for tracing/troubleshooting only. So: 1. it's off-topic for mutt 2. I don't see your problem 3. If you have to hide something, edit the Received: header definition... (see cf/README and doc/op/op.me in your sendmail distribution). 4. LookOut probably uses SMTP to submit e-mails, so sendmail can't find out who's talking to it unless identd is running (which of course isn't...)
Re: Different signature/tag line each day/email.
Timothy Grant <[EMAIL PROTECTED]> wrote on Wed, 04 Oct 2000: > send-hook exceptionalminds.com set signature='(buildsig .siginformal)|' > This doesn't work. and mutt spits up over it. > > How do I pass an argument to a script in my .muttrc? I'm using signature="randsig.sh ~/.sig-body|" currently, and it works just fine. I think you have a quoting issue with the send-hook using the set signature command, like someone else posted. I use various send-hooks to change my signature, but they all take the form of "source .mutt/profile-whatever" so I can just edit the profile files, and not have to worry about quoting all the time. Also worth noting is that you don't need the ()'s unless you want the output of more than one command grouped together. 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 / "I'm not cheap, but I am on special this week."
Re: Send hook question
On Wed, Oct 04, 2000 at 07:58:13PM -0400, Hal Burgiss wrote: >Should the below not work? I could swear it used to ;) Recently even. >Despite much playing with this, I cannot get the header to handle the >exceptions. > > >unset use_from >send-hook . 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' >send-hook redhat-list 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' Hi, I think send-hook is expecting a pattern where you have redhat-list. Does the following work better for you? send-hook . 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' send-hook '~C redhat-list' 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' -Harold -- "Life sucks, deal with it!"
Re: mutt/sendmail mailing list problem
here are the headers from a message i sent from mutt to my other account: >From [EMAIL PROTECTED] Wed Oct 4 17:06:04 2000 Received: from dnai.com (dnai.com [207.181.194.98]) by occs.cs.oberlin.edu (8.9.0/8.9.0) with ESMTP id TAA19065 for <[EMAIL PROTECTED]>; Wed, 4 Oct 2000 19:59:27 -0400 (EDT) Received: from neptune.dnai.com (neptune.dnai.com [207.181.194.93]) by dnai.com (8.9.3/8.9.3) with ESMTP id QAA50502; Wed, 4 Oct 2000 16:58:34 -0700 (PDT) Received: from sol.A (207-172-166-28.s28.tnt1.sfrn.ca.dialup.rcn.com [207.172.166.28]) by neptune.dnai.com (8.9.3/8.9.3) with ESMTP id QAA97826; Wed, 4 Oct 2000 16:58:33 -0700 (PDT) Received: (from mugwort@localhost) by sol.A (8.9.3/8.9.3) id RAA28485; Wed, 4 Oct 2000 17:04:13 -0700 (PDT) (envelope-from [EMAIL PROTECTED]) Date: Wed, 4 Oct 2000 17:04:08 -0700 From: Peter Jaques <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [kl] Just wondering ... Message-ID: <20001004170408.A28441@sol> if you see the lowest "received" header, it says (from mugwort@localhost), & later (envelope-from [EMAIL PROTECTED]). if i send a similar message from outlook, there's no trace of the local account. This is where the problem lies-- the remote MTA is picking "mugwort@localhost" rather than "[EMAIL PROTECTED]". can y'all think of any way to hide the local address? an outgoing mail filter/procmail recipe or somesuch? is that possible with mutt? i'm sorry if this is off-topic for mutt; but i suspect the solution will lie in mutt's config, e.g. with some mail-out filter, if such is possible. thanks in advance... peter On 4 Oct 00, 7:12AM, Claus Assmann wrote: > On Wed, Oct 04, 2000, Peter Jaques wrote: > > it does; i used to get all the "x-authentication-warning"s, till i changed > > my sendmail.cf. & sendmail IS honoring the -f; it correctly sets the > > "From " header. it just doesn't set "Return-path" right. > > This is somewhat off-topic for mutt... > > The Return-Path: header is set by the receiving MTA (based on the > envelope sender). You can't set the former (but the latter). If > your e-mail address is rewritten (masquerading, genericstable, > CNAME, ...), then the receiving system may use a different address > then the one you specified with -f. -- Peter Jaques <[EMAIL PROTECTED]> http://cs.oberlin.edu/~pjaques klezmer&balkan&turkish clarinet; free food&shelter; books to prisoners
Send hook question
Should the below not work? I could swear it used to ;) Recently even. Despite much playing with this, I cannot get the header to handle the exceptions. unset use_from send-hook . 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' send-hook redhat-list 'my_hdr From: Hal Burgiss <[EMAIL PROTECTED]>' Mutt 1.2i (2000-05-09) Copyright (C) 1996-2000 Michael R. Elkins and others. System: Linux 2.2.16pre3 [using slang 10202] Updated RH6.2 from src.rpm. TIA -- Hal B [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] --
Re: Different signature/tag line each day/email.
On Wed, Oct 04, 2000 at 04:25:45PM -0600, Charles Curley wrote: > On Wed, Oct 04, 2000 at 01:32:30PM -0700, Timothy Grant wrote: [snip] > > Problem is that I have two signatures, the formal one below, and an informal > > one. So I modified my script to take an argument depending on the sigfile I > > want to use. > > > > send-hook exceptionalminds.com set signature='(buildsig .siginformal)|' > > > > This doesn't work. and mutt spits up over it. > > > > How do I pass an argument to a script in my .muttrc? > > I don't think you do. [snip] What about: send-hook exceptionalminds.com 'set signature="(buildsig .siginformal)|"' (note the nesting of double quotes in single quotes) Ben -- Benjamin Korvemaker Windows is perfectly stable. [EMAIL PROTECTED] As long as you don't do anything unexpected. Like move the mouse. PGP signature
Re: Different signature/tag line each day/email.
On Wed, Oct 04, 2000 at 04:25:45PM -0600, Charles Curley wrote: > > > > How do I pass an argument to a script in my .muttrc? > > I don't think you do. > > What I do is this: I have a perl script which does what I want: so much > time to a certain event (which I am not using here). I customize it by > providing different input times as one input string and an event input > string string that describes what will happen x days, etc from now. > > I provide the time and event to the perl script in a shell script, very > brain dead. I have a default send-hook to set up my defaul signature file, > below. Then I have send hooks for various lists and/or people which change > the signature file to execute the appropriate script. > > So, where until.pl is the perl script, this is the shell script I use for > the Wyoming Libertarian Party, polls.sh: > > > # -*- shell-script -*- > # Time-stamp: <2000-10-03 12:23:59 ccurley> > until.pl "The Wyoming Libertarian Party, http://www.geocities.com/wyolp/ > > Vote early and vote often! > -- W.C. Fields > privacy > The polls open " "7:00 Nov 7th 2000" > > > > And here are some appropriate lines from my .muttrc: > > send-hook . set signature=~/.signatures/.signature > send-hook '~C [EMAIL PROTECTED]' "set signature=~/.signatures/polls.sh|; \ >my_hdr Reply-To: [EMAIL PROTECTED]; unset pgp_autosign" > send-hook set signature=~/.signatures/sweetie.sh| > > The result for the Wyoming LP list is: > > > -- C^2 > > The Wyoming Libertarian Party, http://www.geocities.com/wyolp/ > > Vote early and vote often! > -- W.C. Fields > > The polls open 1 month, 2 days, 14 hours, 39 minutes, 38 seconds from now. So, when I thought I might have to create a separate script for each sig I wasn't wrong! That's too bad, but it has the advantage of being easy to implement! Thanks for the response! -- Stand Fast, tjg. Timothy Grant [EMAIL PROTECTED] Chief Technology Officer www.exceptionalminds.com Red Hat Certified Engineer (503) 246-3630 Avalon Technology Group, Inc. fax (503) 246-3124 >I have not rebooted for: 32 days 22:33 hours
Re: Different signature/tag line each day/email.
On Wed, Oct 04, 2000 at 01:32:30PM -0700, Timothy Grant wrote: > On Wed, Jun 14, 2000 at 10:47:35AM -0400, Bob Bell wrote: > > Wouldn't something like this work and be simpler? > > > > set signature='(cat .signature && fortune -s) |' > > I've been playing around with some stuff to put my uptime in my signature. > You can see that it works from the sig below. > > I use the above format to do this > > set signature='(buildsig)|' > > Problem is that I have two signatures, the formal one below, and an informal > one. So I modified my script to take an argument depending on the sigfile I > want to use. > > send-hook exceptionalminds.com set signature='(buildsig .siginformal)|' > > This doesn't work. and mutt spits up over it. > > How do I pass an argument to a script in my .muttrc? I don't think you do. What I do is this: I have a perl script which does what I want: so much time to a certain event (which I am not using here). I customize it by providing different input times as one input string and an event input string string that describes what will happen x days, etc from now. I provide the time and event to the perl script in a shell script, very brain dead. I have a default send-hook to set up my defaul signature file, below. Then I have send hooks for various lists and/or people which change the signature file to execute the appropriate script. So, where until.pl is the perl script, this is the shell script I use for the Wyoming Libertarian Party, polls.sh: # -*- shell-script -*- # Time-stamp: <2000-10-03 12:23:59 ccurley> until.pl "The Wyoming Libertarian Party, http://www.geocities.com/wyolp/ Vote early and vote often! -- W.C. Fields privacy The polls open " "7:00 Nov 7th 2000" And here are some appropriate lines from my .muttrc: send-hook . set signature=~/.signatures/.signature send-hook '~C [EMAIL PROTECTED]' "set signature=~/.signatures/polls.sh|; \ my_hdr Reply-To: [EMAIL PROTECTED]; unset pgp_autosign" send-hook set signature=~/.signatures/sweetie.sh| The result for the Wyoming LP list is: -- C^2 The Wyoming Libertarian Party, http://www.geocities.com/wyolp/ Vote early and vote often! -- W.C. Fields The polls open 1 month, 2 days, 14 hours, 39 minutes, 38 seconds from now. Note that mutt provides the signature delimiter, "-- ". You would no doubt be able to simplify this considerably, but that should give you a good start. -- -- C^2 No windows were crashed in the making of this email. Looking for fine software and/or web pages? http://w3.trib.com/~ccurley PGP signature
Re: Different signature/tag line each day/email.
On Wed, Jun 14, 2000 at 10:47:35AM -0400, Bob Bell wrote: > Wouldn't something like this work and be simpler? > > set signature='(cat .signature && fortune -s) |' I've been playing around with some stuff to put my uptime in my signature. You can see that it works from the sig below. I use the above format to do this set signature='(buildsig)|' Problem is that I have two signatures, the formal one below, and an informal one. So I modified my script to take an argument depending on the sigfile I want to use. send-hook exceptionalminds.com set signature='(buildsig .siginformal)|' This doesn't work. and mutt spits up over it. How do I pass an argument to a script in my .muttrc? Thanks. -- Stand Fast, tjg. Timothy Grant [EMAIL PROTECTED] Chief Technology Officer www.exceptionalminds.com Red Hat Certified Engineer (503) 246-3630 Avalon Technology Group, Inc. fax (503) 246-3124 >I have not rebooted for: 32 days 20:22 hours
Re: cmutt & xmutt... where?
On 2000-10-05 00:22:40 +0530, Suresh Ramasubramanian wrote: > [suresh@mjollnir] ~$ which mutt > /usr/bin/mutt > [suresh@mjollnir] ~$ which cmutt > /usr/bin/cmutt > [suresh@mjollnir] ~$ which xmutt > /usr/bin/xmutt What on earth are cmutt and xmutt supposed to be? -- Thomas Roessler <[EMAIL PROTECTED]>
Re: cmutt & xmutt... where?
On Wed, Oct 04, 2000 at 08:39:32PM +0200, Jan Houtsma wrote: > Had them on a previous system. Now with this RH7.0 machine i can't > find them anymore. Where can i download these files? I don't have them either. Waht exactly is xmutt, etc...
international characters
I am trying to get mutt to display Portuguese accented characters for a while and i am stuck. Can anyone help me? I use a standard US keyboard with the emacs2 character map provide in the Slackware 7.1 install. Thanks! PGP signature
Re: cmutt & xmutt... where?
Jan Houtsma proclaimed on mutt-users that: > Had them on a previous system. Now with this RH7.0 machine i can't > find them anymore. Where can i download these files? In the same path as mutt is - /usr/bin on my box (also running guinness) [suresh@mjollnir] ~$ which mutt /usr/bin/mutt [suresh@mjollnir] ~$ which cmutt /usr/bin/cmutt [suresh@mjollnir] ~$ which xmutt /usr/bin/xmutt -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI One family builds a wall, two families enjoy it.
Re: Tagging a Deleted file.
On Wed, Aug 23, 2000 at 05:01:19PM +0200, GianPiero Puccioni wrote: > I found out (when I tagged and printed a big message I didn't wont by > mistake) that "t" when tags a file then moves to the following file even > if it's marked for Delete, unlike "j" or DownArrow. > > Is this a bug, a feature, or something you set up in muttrc, but I couldn't > find? It's done that way so that you can tag a bunch of deleted messages and then tag-undelete them. Might be worth adding a $tag_skips_deleted boolean var since this seems to come up quite often. me PGP signature
cmutt & xmutt... where?
Hi, Had them on a previous system. Now with this RH7.0 machine i can't find them anymore. Where can i download these files? thanks, jan -- ___ ___ ___ / // // / Jan H. Houtsma / // // / Comeniushof 92 / // // /1216 HH Hilversum ___ / _ _ / Netherlands / / / // // / / /__/ // // / http://www.houtsma.net ///__//__/[EMAIL PROTECTED]
Re: lock count exceeded
Michael Atighetchi [[EMAIL PROTECTED]] wrote: > I'm using mutt 1.2.5i under both cygwin and linux. > I've set up my mail folder to reside on a FAT16 partition (to be used by > mutt in cygwin). I mount the partition under Linux with VFAT and link > them symbolically to /var/spool/mail. > > I understand there is a locking problem - and it's probably due to VFAT. > > Is there a way around? Switch to Maildir? -- 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
lock count exceeded
Hi there, I'm using mutt 1.2.5i under both cygwin and linux. I've set up my mail folder to reside on a FAT16 partition (to be used by mutt in cygwin). I mount the partition under Linux with VFAT and link them symbolically to /var/spool/mail. I understand there is a locking problem - and it's probably due to VFAT. Is there a way around? Michael
Re: mutt/sendmail mailing list problem
On Wed, Oct 04, 2000, Peter Jaques wrote: > it does; i used to get all the "x-authentication-warning"s, till i changed > my sendmail.cf. & sendmail IS honoring the -f; it correctly sets the > "From " header. it just doesn't set "Return-path" right. This is somewhat off-topic for mutt... The Return-Path: header is set by the receiving MTA (based on the envelope sender). You can't set the former (but the latter). If your e-mail address is rewritten (masquerading, genericstable, CNAME, ...), then the receiving system may use a different address then the one you specified with -f.
Re: new operator for (~t | ~c)
On Wed, 04 Oct 2000, the/eXtreme wrote: > I have a lot of save-hooks that look like this one: > > save-hook '(~t ^mutt-users | ~c ^mutt-users)' =mutt > > and I wondered if anyone else thought a new operator > like `~tc' might be convenient, e.g.: > > save-hook '~tc ^mutt-users' =mutt set default_hook="~t %s | ~c %s" save-hook ^mutt-users =mutt For more info have a look at section "6.3.28. default_hook" in the manual. Tscho Roland -- * [EMAIL PROTECTED] * http://www.spinnaker.de/ *
Re: new operator for (~t | ~c)
the/eXtreme <[EMAIL PROTECTED]> wrote on Wed, 04 Oct 2000: > I have a lot of save-hooks that look like this one: > > save-hook '(~t ^mutt-users | ~c ^mutt-users)' =mutt > > and I wondered if anyone else thought a new operator > like `~tc' might be convenient, e.g.: > > save-hook '~tc ^mutt-users' =mutt I don't know who it was, but yes someone else has already thought of this. It's called ~C. Regards, 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 / When I'm not in my right mind, my left mind gets a little crowded.
new operator for (~t | ~c)
I have a lot of save-hooks that look like this one: save-hook '(~t ^mutt-users | ~c ^mutt-users)' =mutt and I wondered if anyone else thought a new operator like `~tc' might be convenient, e.g.: save-hook '~tc ^mutt-users' =mutt
Re: sometimes 'L' works for me. sometimes it doesn't.
raf <[EMAIL PROTECTED]> wrote on Wed, 04 Oct 2000: > i seem to remember the > doco for subscribe saying that it is used to specify the mailing lists to which > you are subscribed. to me, that means the actual addresses of mailing lists > or aliases for those addresses, not regular expressions that match at least > those addresses. It's not even a regular expression, it's just a "beginning of string" match. "subscribe vim" matches "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", and so on -- anything that begins with "vim". Because it's a simple string comparison (case-insensitive), you *can* also specify the full address, if you want. Regards, 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 / "I'm not cheap, but I am on special this week."
Re: mutt/sendmail mailing list problem
Peter Jaques <[EMAIL PROTECTED]> wrote on Wed, 04 Oct 2000: > it does; i used to get all the "x-authentication-warning"s, till i changed > my sendmail.cf. & sendmail IS honoring the -f; it correctly sets the > "From " header. it just doesn't set "Return-path" right. That doesn't make sense. The "From " and "Return-Path" are the same thing just in different guises, it is the envelope sender information (which is what's specified with -f). In mbox folder format, the return-path (evenlope sender) is recorded in the "From " header (it's not really a header, actually, more as just the message separator). Some MTAs will also include the value in a Return-Path header. However, while the mail is in transit (after it has been sent but before it has been processed by recipient) the envelope sender is in fact not specified in the headers, it travels "outside" of the actual mail message data. Regards, 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 / "I don't know how you do it, but it's lifting me" -- The Corrs
Re: mutt/sendmail mailing list problem
it does; i used to get all the "x-authentication-warning"s, till i changed my sendmail.cf. & sendmail IS honoring the -f; it correctly sets the "From " header. it just doesn't set "Return-path" right. peter On 3 Oct 00, 2:23PM, Jeremy Blosser wrote: > If you're passing -f to sendmail (either manually or via $envelop_from), > and sendmail isn't honoring it, I'd suggest you check your sendmail > configuration to make sure it allows users to make use of -f. I don't know > what you'd check, I don't use sendmail. -- Peter Jaques <[EMAIL PROTECTED]> http://cs.oberlin.edu/~pjaques klezmer&balkan&turkish clarinet; free food&shelter; books to prisoners