help, set from=xxx
Hi all, This question has been answered here before I guess, but for some reason I am not able to get it to work. When ever I send email to anybody in the gnu.org domain, I want my "From" address to be [EMAIL PROTECTED] I have the following set up in my muttrc file mutt complains "set: unknown variable" any help would be greatly appreciated. thanks, -neelakanth = send-hook '(~C gnu|~t gnu)' "set signature=~/.sig.gnu \ set [EMAIL PROTECTED] \ my_hdr Reply-To: Neelakanth Nadgir [EMAIL PROTECTED]" == -neelakanth ([EMAIL PROTECTED]) _ http://www.gnu.org
Re: help, set from=xxx
On Sun, Apr 02, 2000 at 10:35:29PM -0700, Neelakanth Nadgir wrote: See http://www.mutt.org/doc/manual/manual-6.html#ss6.3 there's no variable "from". send-hook '(~C gnu|~t gnu)' "set signature=~/.sig.gnu \ set [EMAIL PROTECTED] \ my_hdr Reply-To: Neelakanth Nadgir [EMAIL PROTECTED]" Try: send-hook '(~C gnu|~t gnu)' "set signature=~/.sig.gnu \ my_hdr From: Neelakanth Nadgir [EMAIL PROTECTED]" -- Ralf Hildebrandt [EMAIL PROTECTED] www.stahl.bau.tu-bs.de/~hildeb Okay, so I have this coworker who believes that NT is God's Gift to Sysadmins. There are lots of weird gods around, aren't they? Yeah, he means Cthulu. That's the kind of OS he/she/it'd give as a gift. PGP signature
Re: help, set from=xxx
* Ralf Hildebrandt ([EMAIL PROTECTED]) [000403 12:26]: See http://www.mutt.org/doc/manual/manual-6.html#ss6.3 there's no variable "from". Sure there is, cut'n'paster from my muttrc: set from = "Terje Elde [EMAIL PROTECTED]" It's in the development versions tho, but the original poster was running 1.1.10i, so he can use the from variable without problems. Terje -- Terje Elde | Yes Interactive AS | voice: +47 64 85 52 00 [EMAIL PROTECTED] | http://www.yes.no/ | fax: +47 64 85 52 01 PGP signature
Re: help, set from=xxx
On Sun, Apr 02, 2000 at 10:35:29PM -0700, Neelakanth Nadgir wrote: When ever I send email to anybody in the gnu.org domain, I want my "From" address to be [EMAIL PROTECTED] I have the following set up in my muttrc file mutt complains "set: unknown variable" = send-hook '(~C gnu|~t gnu)' "set signature=~/.sig.gnu \ set [EMAIL PROTECTED] \ my_hdr Reply-To: Neelakanth Nadgir [EMAIL PROTECTED]" == The manual says: Usage: send-hook [!]pattern command ^^^ IMHO this means you have to divide this send-hook into three separate ones. By the way, you don't need ~t since ~C matches to: and cc:. Michael -- This signature was added just to have one. ;-)
GEM OLSUN
Hi all, How can I set up mutt to display Turkish fonts correctly? Or is the problem that I haven't told Debian to use the correct ISO fonts? The UK pound symbol also fails to show correctly. All help appreciated! Selam Patrick Gndermi olduun mailini aldm.Teekkrler,ancak hasta olduunuz haberine zldm. nallah ksa srede iyileirsiniz. Bizler hepimiz iyiyiz. Bir sorun yok. Hayat ylesine devam ediyor. Hepinize selamlar gnderiyoruz. Ayser'e ayrca gemi olsun. Umarm abuk iyileir. Zira ocuklarla baya sknt ekiyorsunuzdur. Kendinize iyi bakn. Grmek zere. ZEK ER ve ALES __ Get Your Private, Free Email at http://www.hotmail.com - End forwarded message - -- Patrick Kirk Diplomacy is the art of saying "nice doggy" until you can find a rock.
Re: help, set from=xxx
Neelakanth Nadgir [EMAIL PROTECTED] wrote on Sun, 02 Apr 2000: send-hook '(~C gnu|~t gnu)' "set signature=~/.sig.gnu \ set [EMAIL PROTECTED] \ my_hdr Reply-To: Neelakanth Nadgir [EMAIL PROTECTED]" The second "set" is superfluous, the proper command would be: set signature=~/.sig.gnu [EMAIL PROTECTED] (yours has a "set" between there). Anyway, setting $from from a send-hook will not work, the change will not come into effect until the next message. To adjust the From: header from a send-hook you need to use "my_hdr From:" instead. Additionally, you need to put a ; between commands (the set and my_hdr, and also between the my_hdr commands if you add a second for setting From). I 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 / If only women came with pulldown menus and online help.
Re: GEM OLSUN
Patrick [EMAIL PROTECTED]: Hi all, How can I set up mutt to display Turkish fonts correctly? Or is the problem that I haven't told Debian to use the correct ISO fonts? The UK £ pound symbol also fails to show correctly. ZEKİ ER ve AİLESİ Your message was in iso-8859-9 and contained characters such as İ (capital I with dot above), so you've probably got mutt set up correctly. If non-us-ascii characters are displayed as '?', then you need to adjust your locale (export LANG=tr or export LC_CTYPE=tr). If they are displayed as different characters with diacritics, then you need a different font. Probably. I'm not an expert on this stuff. Edmund
Re: help, set from=xxx
On Mon, Apr 03, 2000 at 14:51:45 -0400, Michael Tatge wrote: On Sun, Apr 02, 2000 at 10:35:29PM -0700, Neelakanth Nadgir wrote: When ever I send email to anybody in the gnu.org domain, I want my "From" address to be [EMAIL PROTECTED] I have the following set up in my muttrc file mutt complains "set: unknown variable" = send-hook '(~C gnu|~t gnu)' "set signature=~/.sig.gnu \ set [EMAIL PROTECTED] \ my_hdr Reply-To: Neelakanth Nadgir [EMAIL PROTECTED]" == You get the message "set: unknown variable" because you may set several variables in one set command, so mutt thinks that you are trying to set a variable named set. Try this: send-hook '~C gnu' "set signature=~/.sig.gnu \ [EMAIL PROTECTED] ;\ my_hdr Reply-To: Neelakanth Nadgir [EMAIL PROTECTED]" The manual says: Usage: send-hook [!]pattern command ^^^ IMHO this means you have to divide this send-hook into three separate ones. It would be technically more correct if the manual said: Usage: send-hook [!]pattern command-line where command-line is as defined in section 3.1: 3.1. Syntax of Initialization Files An initialization file consists of a series of `commands''. Each line of the file may contain one or more commands. When multiple commands are used, they must be separated by a semicolon (;). set realname='Mutt user' ; ignore x- This means that you may have several commands in hook a command; they just have to be separated with semicolons. -- Byrial
Re: GEM OLSUN
ZEK ER ve ALES Your message was in iso-8859-9 and contained characters such as (capital I with dot above), so you've probably got mutt set up correctly. If non-us-ascii characters are displayed as '?', then you need to adjust your locale (export LANG=tr or export LC_CTYPE=tr). If they are displayed as different characters with diacritics, then you need a different font. Probably. I'm not an expert on this stuff. Oddly it works for some chatacters when I sent and recieve new messages but still lots of characters don't display. I don't get any effect when I enter export LANG=tr or export LC_CTYPE=tr at the Bash prompt. Is there something I've forgotten to set up in Linux I wonder?
Re: GEÇMIS OLSUN
On Mon, Apr 03, 2000 at 03:18:46PM +0100, Patrick wrote: If non-us-ascii characters are displayed as '?', then you need to adjust your locale (export LANG=tr or export LC_CTYPE=tr). If they are displayed as different characters with diacritics, then you need a different font. Probably. I'm not an expert on this stuff. Oddly it works for some chatacters when I sent and recieve new messages but still lots of characters don't display. I don't get any effect when I enter export LANG=tr or export LC_CTYPE=tr at the Bash prompt. Is there something I've forgotten to set up in Linux I wonder? The character set can be specified in the LANG environment, too (if it is set up correctly on your system . chances are good with glibc-2.x.x) Configure your terminal to use the character set best suitable for you, then in a non-csh use something like LANG=tr.iso-8859-9 export LANG Check the $charset mutt variable to reflect this setting. When still some characters are missing, check your character set for completeness. Gero
Re: help, set from=xxx
Sometime ago, Neelakanth Nadgir said: This question has been answered here before I guess, but for some reason I am not able to get it to work. When ever I send email to anybody in the gnu.org domain, I want my "From" address to be [EMAIL PROTECTED] I have the following set up in my muttrc file mutt complains "set: unknown variable" Thanks a lot guys, I have finally got it working. developers, thanks for making such a great mail client! -neelakanth
Re: help, set from=xxx
neelakanth, Could you post your solution? I have the same problem and I can't get it to work. -- Andy On Mon, Apr 03, 2000 at 10:50:55AM -0700, Neelakanth wrote: Sometime ago, Neelakanth Nadgir said: This question has been answered here before I guess, but for some reason I am not able to get it to work. When ever I send email to anybody in the gnu.org domain, I want my "From" address to be [EMAIL PROTECTED] I have the following set up in my muttrc file mutt complains "set: unknown variable" Thanks a lot guys, I have finally got it working. developers, thanks for making such a great mail client! -neelakanth
Re: Using send-hooks with replies
On Wed, Jan 26, 2000 at 04:29:01PM -0600, Jeremy Blosser muttered: - Edmund GRIMLEY EVANS [[EMAIL PROTECTED]] wrote: - Jimmy Mäkelä [EMAIL PROTECTED]: - Is it possible to look at the original To: of the message which I wan't - to reply to, and execute commands based on the contents of that. - - This would be nice since it is pretty common to have more than one - email-address, and it is IMHO better to have the address which they wrote - to as From in the reply. - - This must surely be the second most frequently asked question (after - the one about hooks having a permanent effect unless you also have a - default hook to reset the state). - - I don't know, "how do I make Mutt filter mail" is pretty popular too ;) - - See reverse_name in the latest mutt. Unfortunately this isn't in - mutt-1.0, I think. - - Others have noted this has been around forever, I will add that you should - also see the $alternates variable, as reverse_name is useless without it. OK, having gotten this far, how do you set it up? I experimented and came up with the following: # Set the various names by which I expect to get email. A regex. set alternates="([EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED])" send-hook '~f [EMAIL PROTECTED]' "set signature=~/.sig.wyolp.web; \ my_hdr From: [EMAIL PROTECTED]; \ my_hdr Reply-To: Charles Curley [EMAIL PROTECTED]" Mutt version is 1.0.1. -- -- 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
Re: Using send-hooks with replies
On Mon, Apr 03, 2000 at 11:41:53AM -0600, Charles Curley muttered: - On Wed, Jan 26, 2000 at 04:29:01PM -0600, Jeremy Blosser muttered: - - Edmund GRIMLEY EVANS [[EMAIL PROTECTED]] wrote: - - Jimmy Mäkelä [EMAIL PROTECTED]: - - Is it possible to look at the original To: of the message which I wan't - - to reply to, and execute commands based on the contents of that. - - - - This would be nice since it is pretty common to have more than one - - email-address, and it is IMHO better to have the address which they wrote - - to as From in the reply. - - - - This must surely be the second most frequently asked question (after - - the one about hooks having a permanent effect unless you also have a - - default hook to reset the state). - - - - I don't know, "how do I make Mutt filter mail" is pretty popular too ;) - - - - See reverse_name in the latest mutt. Unfortunately this isn't in - - mutt-1.0, I think. - - - - Others have noted this has been around forever, I will add that you should - - also see the $alternates variable, as reverse_name is useless without it. - - OK, having gotten this far, how do you set it up? I experimented and came - up with the following: - - - # Set the various names by which I expect to get email. A regex. - set alternates="([EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED])" - - - send-hook '~f [EMAIL PROTECTED]' "set signature=~/.sig.wyolp.web; \ - my_hdr From: [EMAIL PROTECTED]; \ - my_hdr Reply-To: Charles Curley [EMAIL PROTECTED]" - - - - Mutt version is 1.0.1. Also, it helps if you set generic hooks to set the variable back to their defaults for the next message. Otherwise when you send a reply to an email sent to alternate address, the changes become permanent until you send a reply to an email to another alternate address. # globals, apply to all emails. send-hook . unmy_hdr Reply-To: send-hook . 'my_hdr From: [EMAIL PROTECTED]' send-hook . 'set attribution="On %d, %n wrote:"' send-hook . set signature=~/.signatures/.signature Is anyone maintaining a Mutt HOW-TO? -- -- 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
Re: help, set from=xxx
Sometime ago, Andy Wergedal said: Could you post your solution? I have the same problem and I can't get it to work. -- Andy Andy, here is a part of my muttrc file == send-hook '(~C gnu)' source ~/.mutt/profile.gnu send-hook '(~C mutt)' "set signature="uptime|" ;my_hdr From: Neelakanth [EMAIL PROTECTED] " == profile.gnu contains normal mutt stuff like my_hdr, etc... hope that helped -neelakanth
Re: Using send-hooks with replies
Charles Curley [EMAIL PROTECTED] wrote on Mon, 03 Apr 2000: - Others have noted this has been around forever, I will add that you should - also see the $alternates variable, as reverse_name is useless without it. OK, having gotten this far, how do you set it up? I experimented and came up with the following: # Set the various names by which I expect to get email. A regex. set alternates="([EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED])" I'm not sure if you're asking for comments or not. That looks fine to me though. send-hook '~f [EMAIL PROTECTED]' "set signature=~/.sig.wyolp.web; \ my_hdr From: [EMAIL PROTECTED]; \ my_hdr Reply-To: Charles Curley [EMAIL PROTECTED]" You may want to use my_hdr From: Charles Curley [EMAIL PROTECTED] ie. include your name in the From header as well. Also, there's no need to specify a Reply-To at all if the address is the same as From, that's the default. Reply-To should only be specified if it's different from the From header. Charles Curley [EMAIL PROTECTED] wrote on Mon, 03 Apr 2000: Also, it helps if you set generic hooks to set the variable back to their defaults for the next message. Indeed. :-) Is anyone maintaining a Mutt HOW-TO? Not that I know of, unless you count the FAQ as such. 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 try to get a life... I always get either 404 or server timeout. :-(
Re: GEM OLSUN
Patrick [EMAIL PROTECTED]: ZEKİ ER ve AİLESİ Your message was in iso-8859-9 and contained characters such as İ (capital I with dot above), so you've probably got mutt set up correctly. If non-us-ascii characters are displayed as '?', then you need to adjust your locale (export LANG=tr or export LC_CTYPE=tr). If they are displayed as different characters with diacritics, then you need a different font. Probably. I'm not an expert on this stuff. Oddly it works for some chatacters when I sent and recieve new messages but still lots of characters don't display. I don't get any effect when I enter export LANG=tr or export LC_CTYPE=tr at the Bash prompt. Is there something I've forgotten to set up in Linux I wonder? You didn't say what happens to those characters. Do they appear as '?', as ' ', or as something else? You also didn't say what kind of terminal you are using: Linux console, xterm, ...? Check your terminal understands iso-8859-9 with echo -e "\335". That's I with a dot. Edmund
[patrick: Re: GEM OLSUN]
- Forwarded message from Patrick patrick - Date: Mon, 3 Apr 2000 20:57:33 +0100 From: Patrick patrick Subject: Re: GEM OLSUN Hi again, You didn't say what happens to those characters. Do they appear as '?', as ' ', or as something else? You also didn't say what kind of terminal you are using: Linux console, xterm, ...? Its ??? all the way and I am using Teraterm Pro under Windows with a Debian server. Check your terminal understands iso-8859-9 with echo -e "\335". That's I with a dot. It didn't understand - gave me a capital Y with a dot above it. Edmund -- Patrick Kirk Diplomacy is the art of saying "nice doggy" until you can find a rock. - End forwarded message - -- Patrick Kirk Diplomacy is the art of saying "nice doggy" until you can find a rock.
OT- print front ends
I have a slightly off-topic question. I am looking for a program to format my printouts from mutt to be slightly nicer. Currently I get the basic line-printer like dump but I would like a bit more. Having no real experience with user tools to make this prettier I beg for comments from other mutt users. Please forgive my OT transgression. /Duncan -- Duncan Watson
Re: OT- print front ends
Sometime ago, [EMAIL PROTECTED] said: I have a slightly off-topic question. I am looking for a program to format my printouts from mutt to be slightly nicer. Currently I get the basic line-printer like dump but I would like a bit more. Having no real experience with user tools to make this prettier I beg for comments from other mutt users. Please forgive my OT transgression. /Duncan -- Duncan Watson If you are looking for printing within mutt, have you checked out a2ps? works wonderfully for me. hope that helped. -neelakanth 4:52pm up 31 day(s), 21:46, 1 user, load average: 0.02, 0.01, 0.07
Re: Q: Mutt and Email Lists
Charles Cazabon [EMAIL PROTECTED] wrote: -if you're using qmail, try setting a Return-Path: header containing only your email address (no quoted name, etc). This is really a problem best solved in the MTA, rather than with an MUA like Mutt or Pine. The MTA is best suited to handle the task of making your E-mail appear to come from a particular domain or pseudo-domain. And, once configured properly, ALL of your E-mail, no matter what MUA (even /bin/mail) will have proper headers. Wouldn't that be nice? -- David DeSimone | "The doctrine of human equality reposes on this: [EMAIL PROTECTED] | that there is no man really clever who has not Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson Richardson IT|PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44
Re: help, set from=xxx
On Mon, Apr 03, 2000 at 04:13:41PM +0300, Mikko Hänninen wrote: [snip] [send-hooks] Additionally, you need to put a ; between commands Hey, good to know. This could simplify my muttrc in a lot of cases. :-) Michael -- This signature was added just to have one. ;-)
Re: Q: Mutt and Email Lists
David DeSimone [EMAIL PROTECTED] wrote: Charles Cazabon [EMAIL PROTECTED] wrote: -if you're using qmail, try setting a Return-Path: header containing only your email address (no quoted name, etc). This is really a problem best solved in the MTA, rather than with an MUA like Mutt or Pine. The MTA is best suited to handle the task of making your E-mail appear to come from a particular domain or pseudo-domain. And, once configured properly, ALL of your E-mail, no matter what MUA (even /bin/mail) will have proper headers. Wouldn't that be nice? Yes, but the original poster wanted to be able to set this for some mail and not for others; i.e. the default was correct for most mail, and he just wanted to be able to change his envelope sender when dealing with a particular ezmlm-based mailing list administration address. I'm quite aware of what should be done in the MTA vs. the MUA, thank you. Charles -- --- Charles Cazabon [EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---