Re: Charset problem
* Josh Huber [EMAIL PROTECTED] [2001/12/21 01:19]: In other words, all you have to do is set LANG :) You don't need to set each variable, unless you need the values different. Well... LANG is the default locale. It can be overriden with LC_COLLATE, LC_CTYPE, etc. Then, LC_ALL overrides LC_* (and thus LANG). So if he has defined LC_something somewhere, setting LANG can be useless. However, if one sets LC_ALL there's no need to set the others LC_* variables... HTH, -- MiKael
Re: filters
sorry if i reply only now, but i had some troubles with my mail... :( many thanks, now i use procmail and i'm almost happy. i still have a problem: there are some MLs which use a strange return path: focus-linux: Return-path: [EMAIL PROTECTED] where 1081 changes every time... a worse example is yahoogroops, which uses: Return-path: [EMAIL PROTECTED] where 192652 is the mailing list (and i have to match it exactly, since i've subscribed many yahoo groups; the other numbers change evewry time. which regexp shall i use to do this? lots of thanks again -- giorgian
Re: filters
Giorgian -- ...and then giorgian said... % % sorry if i reply only now, but i had some troubles with my mail... :( Glad to see you're back! % % many thanks, now i use procmail and i'm almost happy. % i still have a problem: there are some MLs which use a strange return % path: % % focus-linux: % % Return-path: [EMAIL PROTECTED] % where 1081 changes every time... How about :0 : * ^Return-Path:.*focus-linux for this one? % % a worse example is yahoogroops, which uses: % Return-path: [EMAIL PROTECTED] % % where 192652 is the mailing list (and i have to match it exactly, % since i've subscribed many yahoo groups; the other numbers change % evewry time. OK; how about :0 : * ^Return-path:.*sentto-192652.*returns.groups.yahoo.com for this one? % % which regexp shall i use to do this? You'll probably have to craft custom regexps for each list unless you want to save your yahoogroups stuff to something like =lists/192652 (ie the list number instead of some sensible name). % % lots of thanks again HTH HAND % % -- % giorgian :-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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg21816/pgp0.pgp Description: PGP signature
Re: filters
Date: Fri, 21 Dec 2001 13:07:04 +0100 From: giorgian [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: filters sorry if i reply only now, but i had some troubles with my mail... :( many thanks, now i use procmail and i'm almost happy. i still have a problem: there are some MLs which use a strange return path: focus-linux: Return-path: [EMAIL PROTECTED] where 1081 changes every time... a worse example is yahoogroops, which uses: Return-path: [EMAIL PROTECTED] where 192652 is the mailing list (and i have to match it exactly, since i've subscribed many yahoo groups; the other numbers change evewry time. which regexp shall i use to do this? A regexp that will match the header, of course. Is the Return-Path header the only one by which you can identify the mailing list? I'm subscribed to a few mailing lists myself, and I have to identify a header by which I could tell traffic from the list every time I subscribe to a new one. Couple of examples: if (/^list-post: mailto:dev@subversion\.tigris\.org/) { to $LISTDIR/svn-dev } if (/^list-id: freebsd-questions\.FreeBSD\.ORG/) { to $LISTDIR/freebsd-questions } if (/^List-Unsubscribe: .*@lists\.ispi\.net/) { to $LISTDIR/smarty } if (/^List-Post: .*@lists\.horde\.org/) { to $LISTDIR/horde } if (/^Delivered-To: mailing list vim@vim\.org/) { to $LISTDIR/vim } etc. If the lists you mention can only be told by the Return-Path headers (which I doubt), you could use something like this (untested, and for maildrop. you'll have to edit it for procmailrc): if (/^Return-path: focus-linux-return/) { to $LISTDIR/focus-linux } if (/^Return-path: sentto-192652/) { to $LISTDIR/yahoo-list } -- FreeBSD 4.4-STABLE 2:08PM up 4 days, 1:03, 18 users, load averages: 0.13, 0.23, 0.16
Re: filters
ok, now everything seems to work. but i still have 3 questions: 1) when i reply to someone in this list, mutt chooses someone's email, while i'd like to reply to [EMAIL PROTECTED] What can i do? 2) this is what i see at the beginning of your email: [-- PGP output follows (current time: Fri Dec 21 14:27:01 2001) --] gpg: Signature made Fri Dec 21 14:04:25 2001 CET using DSA key ID 7B9F4700 gpg: Can't check signature: public key not found [-- End of PGP output --] what is the problem? 3) when i receive an email, i'd like to know, and i'd like also to know what i received and where it is... can i tell procmail to do something (xmessage or whatelse) according to the various rules? thank you -- giorgian
Re: three new questions (was Re: filters)
Giorgian -- ...and then giorgian said... % % ok, now everything seems to work. % % but i still have 3 questions: You should have started a new thread :-) % % 1) when i reply to someone in this list, mutt chooses someone's email, %while i'd like to reply to [EMAIL PROTECTED] What can i do? Use the list-reply function, bound by default to 'L'. See the manual, and particularly the 'subscribe' command, for more info. % % 2) this is what i see at the beginning of your email: % % [-- PGP output follows (current time: Fri Dec 21 14:27:01 2001) --] % gpg: Signature made Fri Dec 21 14:04:25 2001 CET using DSA key ID 7B9F4700 % gpg: Can't check signature: public key not found % [-- End of PGP output --] % % what is the problem? It looks like you can't find my key. What keyserver do you use? I attempted to send my key to keyserver wwwkeys.eu.pgp.net #keyserver wwwkeys.us.pgp.net #keyserver wwwkeys.pgp.net #keyserver certserver.pgp.com #keyserver pgp.ai.mit.edu #keyserver keyserver.net #keyserver search.keyserver.net after I created it, though I know that some (notably MIT's) failed. If yours is not on this list, I'd like to add it. In the meantime, you can also surf over to http://justpickone.org/davidtg/code.pgp.html and copy it yourself. % % % 3) when i receive an email, i'd like to know, and i'd like also to %know what i received and where it is... %can i tell procmail to do something (xmessage or whatelse) %according to the various rules? I'm not sure what you mean here... Do you want immediate notification of its arrival a la biff or newmail (perhaps this is what xmessage does) or do you want to know when and to where your mail was delivered for anaysis later? mutt can handle the former case directly; see the 'mailboxes' command in the manual (and note that any other notification program, like those noted above, musy be turned off!). For the latter, I use some aliases: zero] [9:29am] ~ alias sf c; cat $HOME/.procmail/.mail.log!* | egrep -v procmail: [zero] [9:29am] ~ alias sft sf | tail [zero] [9:29am] ~ alias sfu egrep '^ Folder' /home/davidtg/.procmail/.mail.log!* | \ awk 'BEGIN {s=0} {s+=1;print $1,$2} END {print s}' | sort -u [zero] [9:29am] ~ alias sfdu (cd $HOME/.procmail ; ls -lFo .mail.log.date!*);date \ +The\ current\ date\ is:%t%t\ %h\ %e\ %H:%M ; echo ; sfu !* which generate output about like [zero] [9:30am] ~ sft Subject: Re: [suse-security] pop3 server Folder: F.suse 3773 lbdb-fetchaddr: lbdb-fetchaddr: No such file or directory From [EMAIL PROTECTED] Fri Dec 21 14:25:43 2001 Subject: The Daily Graoner - The Final Holiday Jokes!! Folder: F.funnies 3815 lbdb-fetchaddr: lbdb-fetchaddr: No such file or directory From [EMAIL PROTECTED] Fri Dec 21 14:29:41 2001 Subject: Get Your Freebies - Free Reese's Sample, Free Money more... Folder: /home/davidtg/Mailbox 9195 and [zero] [9:30am] ~ sfdu -rw-r--r-- 1 davidtg 0 Dec 1 00:01 .mail.log.date The current date is: Dec 21 09:30 9572 Folder: /home/davidtg/Mailbox Folder: /home/davidtg/www/private/fax/fax-convert.sh Folder: /usr/bin/formail Folder: F.HTMLFluffStuff Folder: F.bb Folder: F.dns Folder: F.empeg Folder: F.ezmlm Folder: F.funnies Folder: F.gcc-help Folder: F.jobs Folder: F.lists Folder: F.log Folder: F.magick Folder: F.mutt Folder: F.news Folder: F.qmail Folder: F.recipes Folder: F.redhat.kickstart Folder: F.redhat.piranha Folder: F.remind Folder: F.ricochet Folder: F.root Folder: F.spam Folder: F.spamassassin Folder: F.stories Folder: F.success Folder: F.supremegall Folder: F.suse Folder: F.taxinfo Folder: F.toasters Folder: F.url Folder: F.vim Folder: F.vnc Folder: F.win4lin Folder: F.zips % % thank you HTH HAND % % -- % giorgian % :-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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg21819/pgp0.pgp Description: PGP signature
Re: filters
On Fri, Dec 21, 2001 at 02:34:54PM +0100, giorgian wrote: ok, now everything seems to work. but i still have 3 questions: 1) when i reply to someone in this list, mutt chooses someone's email, while i'd like to reply to [EMAIL PROTECTED] What can i do? First, tell mutt about the list by putting this in your .muttrc: subscribe mutt-users Then, when you want to reply to a message, use 'L' instead of 'r'. You can, of course, rebind these keys if you prefer to use, for example, 'r', with a folder-hook or similar for where you store messages from this list. - Paul -- Paul Roberts [EMAIL PROTECTED]
Re: auto_view problem
Date: Thu, 20 Dec 2001 17:14:51 +0100 From: Martin Karlsson [EMAIL PROTECTED] To: mutt-users [EMAIL PROTECTED] Subject: Re: auto_view problem You could try: application/x-tar-gz tar -ztf %s;copoiousoutput ^^| \ add this! This works for me. I have tried all possible invocations of tar/gzip I could think of: application/x-tar-gz; gunzip -c %s|tar tf -;copiousoutput application/x-tar-gz; tar tzf -;copiousoutput application/x-tar-gz; tar tzf %s;copiousoutput None of them work. I ran mutt under strace, and couldn't find any notion of it reading _any_ mailcap file. This seems to be because it spawns some children -- it positively _does_ read my ~/.mailcap, since this entry works as expected (wrapped): image/*; anytopnm %s|pnmscale -xs 70 |ppmtopgm|pgmtopbm|pbmtoascii;copiousoutput Mutt 1.3.23i (2001-10-09) Copyright (C) 1996-2001 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: FreeBSD 4.4-STABLE [using ncurses 5.1] Compile options: -DOMAIN +DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE -USE_FCNTL +USE_FLOCK -USE_POP -USE_IMAP -USE_GSS -USE_SSL -USE_SASL +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK -HAVE_WC_FUNCS -HAVE_LANGINFO_CODESET -HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID -HAVE_GETADDRINFO ISPELL=/usr/local/bin/ispell SENDMAIL=/usr/sbin/sendmail MAILPATH=/var/mail PKGDATADIR=/usr/local/share/mutt SYSCONFDIR=/usr/local/etc EXECSHELL=/bin/sh -MIXMASTER To contact the developers, please mail to [EMAIL PROTECTED]. To report a bug, please use the flea(1) utility. -- FreeBSD 4.4-STABLE 6:21PM up 4 days, 5:16, 17 users, load averages: 0.05, 0.03, 0.00
Qs from new user
I'm a new mutt user from Outlook land. I've been using Outlook for the past four years. I'm doing some linux driver work now, and I'm sick of worrying about and dealing with potential Outlook related viruses (and I hate using the mouse for anything), so I decided to switch to text-based email. Mutt is working fine for me, but there are a few things that I'd like to make easier that I haven't been able to figure out. Is there an easy way to move a message to another mail folder? All I've been able to do is copy it to the other mail folder, then delete it. Is there a built-in move? What about moving/copying multiple messages all at once? Can I select or tag multiple messages then move them to another folder? When I started using mutt, I just accepted the default mail folder type. But, I like the idea of these new formats that keep the messages in independent files. How can I make mutt create a new folder using the MH or Maildir formats? (Currently using sendmail - do I need to switch to Qmail?) Thanks, -Chris
Re: Qs from new user
On Fri, Dec 21, 2001, [EMAIL PROTECTED] wrote: I'm a new mutt user from Outlook land. I've been using Outlook for the past four years. I'm doing some linux driver work now, and I'm sick of worrying about and dealing with potential Outlook related viruses (and I hate using the mouse for anything), so I decided to switch to text-based email. Congratulations, and welcome. :) Is there an easy way to move a message to another mail folder? All I've been able to do is copy it to the other mail folder, then delete it. Is there a built-in move? Yes, 's' for save. That will delete the source and save it into the other mail folder. What about moving/copying multiple messages all at once? Can I select or tag multiple messages then move them to another folder? Yup. Look up tagging in the mutt manual at www.mutt.org. There are amazing ways of tagging in mutt. ';' will apply the next command to all the tagged files. Have fun! -Ken
Re: Qs from new user
All of these are answered in the manual -- if you know where to look :-) Be pretty generous with your search terms and you'll usually find what you need. Thanks for the prompt response. Actually, I read the entire manual, and the FAQ, and looked at quite a few sample .muttrc files. I just think my brain is stuck in Windows / Outlook terminology so what I was reading wasn't connecting with what I thought I was looking for. Later, -Chris
Re: Qs from new user
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: When I started using mutt, I just accepted the default mail folder type. But, I like the idea of these new formats that keep the messages in independent files. How can I make mutt create a new folder using the MH or Maildir formats? (Currently using sendmail - do I need to switch to Qmail?) I don't know if sendmail supports either directly, but a MDA like procmail or maildrop would let you set it at system or user level easily while giving you filtering functionality. Personally I still prefer mbox, but it's up to you :) -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/
Re: Qs from new user
Thomas Hurst wrote: * [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: I don't know if sendmail supports either directly, but a MDA like procmail or maildrop would let you set it at system or user level easily while giving you filtering functionality. Personally I still prefer mbox, but it's up to you :) if you're using procmail as your LDA, you can put $HOME/Maildir/ (note the trailing slash) as the default mailbox. postfix has native support for Maildir format folders. just put: home_mailbox = Maildir/ in main.cf however if you're using procmail with postfix as an LDA, you still need to specify. with procmail, you can specify Maildir delivery to any folder by using a trailing slash. HTH -- Experience -- a great teacher, but the tutition fees...
Re: Qs from new user
Chris -- ...and then [EMAIL PROTECTED] said... % % All of these are answered in the manual -- if you know where to look :-) % Be pretty generous with your search terms and you'll usually find what % you need. % % Thanks for the prompt response. Actually, I read the entire manual, and You're quite welcome. % the FAQ, and looked at quite a few sample .muttrc files. I just think my Excellent. Thanks for doing so! % brain is stuck in Windows / Outlook terminology so what I was reading % wasn't connecting with what I thought I was looking for. Not a problem! Just try looking for words like your first guesses if you don't find what you need :-) % % Later, % -Chris :-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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg21828/pgp0.pgp Description: PGP signature
Re: Best way to use Mutt with Emacs? General pointers welcome...
On 21/12/01 Cristian did speaketh: There's one more thing I should mention: I'm using GNU Emacs 20.7 on Linux 2.4.4. I quickly tried to run Mutt within GNU Emacs 21.0 but there was more severe trouble with colors (status bar and help bar invisible). If someone has a solution for Emacs 21, please report it here! Hmm. I just tried it with Emacs21.1, and the default colours didn't work. I got basically white and black. I'd love a fix for this, as I'm a big fan of Mutt and I'm beginning to become a fan of Emacs. Mike -- Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08 ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to Unix msg21829/pgp0.pgp Description: PGP signature
Can't send, wierd error message
Hi and help! I've just recently upgraded my os and with it Sendmail. Both are running fine, but mutt gives this error message when I compose a message on it and then try to pass it off to Sendmail: Error sending message, child exited 127 (Exec error.). Right now, I am sending this via mail on the command line. Oddly, mutt still reads any messages I dl off of my ISP. Any ideas? Steve
Re: Can't send, wierd error message
Oops, forgot to add that my os is OpenBSD 3.0 and Sendmail is 8.12. Hope that this helps anyone who can help me. If you need any more info to assist, just ask. Steve
Re: Can't send, wierd error message
Date: Fri, 21 Dec 2001 18:21:01 -0700 (MST) From: Steven Schneider [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Can't send, wierd error message Oops, forgot to add that my os is OpenBSD 3.0 and Sendmail is 8.12. Hope that this helps anyone who can help me. If you need any more info to assist, just ask. Steve I don't know what the problem is, but have you verified that the switches mutt invokes sendmail with are valid for 8.12? If that doesn't reveal anything suspicious, I would try invoking sendmail with the same switches by hand. That could give you a more descriptive error message... -- FreeBSD 4.4-STABLE 4:08AM up 38 mins, 3 users, load averages: 0.00, 0.00, 0.00
Re: Can't send, wierd error message
Thanks, for the tip. I didn't think to look in my .muttrc, but when I did I noticed that set sendmail=/usr/local/sbin/sendmail -oem -oi which was fine for when I had postfix. But plain Sendmail has the path /usr/sbin/sendmail on OBSD. Now that I've made that small change, everything works. :) Steve -- E-Mail: Steven Schneider [EMAIL PROTECTED] URL: http://www.jetnet.ab.ca/users/schnes -BEGIN GEEK CODE BLOCK- Version: 3.1 GS d? s: !a? C+ UB+ !L !E W++ N w V- !PS PE Y+ PGP+ R !tv b+ DI++ G-- e++ h-- r+++ y+++ --END GEEK CODE BLOCK--
Re: Can't send, wierd error message
On Fri, Dec 21, 2001 at 06:21:01PM -0700, Steven Schneider wrote: Oops, forgot to add that my os is OpenBSD 3.0 and Sendmail is 8.12. Hope that this helps anyone who can help me. If you need any more info to assist, just ask. Steve This is from hints.linuxfrocmscratch.org/hints/sendmail.txt: Q: Mutt (the *ONLY* MUA!) errors out when I try to send a message! Something about an exec error 127! WTF! A: Add the following line to either 1) your ~/.muttrc, or 2) the system-wide Muttrc (mutt's ./configure --prefix/etc/Muttrc). The latter is the more sensible of the two. set sendmail = /usr/sbin/sendmail Restart mutt. Hope that helps you (I had the same problem with postfix, setting this variable solved that for me). -- Oleg Kourapov | Linux user #245698 http://counter.li.org Moscow, RU| LFS user #1212 http://www.linuxfromscratch.org -- Yesterday is a memory. Tomorrow is the unknown. Now is the knowing. -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GTW d- s+: a-- C UL++ P+ L+++ E--- W+++ N++ o-- K++ w-- O M- V- PS+ PE+++ Y+ PGP++ t 5++ X++ R tv- b+++ DI+ D G e* h! r y? --END GEEK CODE BLOCK-- msg21834/pgp0.pgp Description: PGP signature
Re: Can't send, wierd error message
Date: Fri, 21 Dec 2001 22:15:55 -0700 From: Steven Schneider [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Can't send, wierd error message Thanks, for the tip. I didn't think to look in my .muttrc, but when I did I noticed that set sendmail=/usr/local/sbin/sendmail -oem -oi which was fine for when I had postfix. But plain Sendmail has the path /usr/sbin/sendmail on OBSD. Now that I've made that small change, everything works. :) Well, Sendmail is the default MTA on all BSD's AFAIK, and being a part of the base system it's in /usr. But it's not Sendmail that's in /usr/sbin/sendmail, it's a symlink to /usr/sbin/mailwrapper which just invokes another program based on argv[0] and /etc/mail/mailer.conf. What strikes me is the fact that you invoked postfix with the path /usr/local. roman@roman ~ ls -laF /usr/sbin/sendmail lrwxr-xr-x 1 root wheel 21 Oct 9 16:08 /usr/sbin/sendmail@ - /usr/sbin/mailwrapper BTW, how did you install postfix on the old machine? Didn't you use the port? I don't know the OpenBSD ports system details (a quick glance at the cvsweb interface suggests the similarity ends with the /usr/ports path), but the other MTAs' port makefiles generally have a replace target that takes care of all this. On FreeBSD, that is. -- FreeBSD 4.4-STABLE 7:11AM up 3:41, 4 users, load averages: 0.00, 0.00, 0.00
Sending Messages Takes A Long Time
I seem to have a problem with mutt since I upgraded my OS from Red Hat 6.1 to Red Hat 7.1. I've searched the archives, and groups.google.com without any luck. After composing an email message, and pressing 'y' to send the message on it's way, it takes what seems like an eterinity to send the message. It must be about 30 seconds to a minute for the message to be sent. I'm using the same .muttrc I used with the older version of the client. Does this ring a bell with anyone? Can anyone give me a clue as to how this can be resolved? Thanks in advance for any and all suggestions, kelly