Re: My experiences with Mutt to date: Suggestions for overcoming some issues
On Sun, Jan 24, 2021 at 10:04:50PM -0600, boB Stepp wrote: > 1) Mutt erratically loses connection with Gmail and I have to > manually reconnect. Sometimes this happens rather frequently as in > multiple instances within an hour. I am confident it is not my > Internet connection, which is normally quite stable and fast. For > instance my streaming music is never interrupted, the family's TV > shows continue unimpeded, etc., but my connectivity to Gmail is > interrupted randomly. If I have both Mutt and the web interface open, > Mutt has its interruptions while the Gmail web interface appears to be > updating normally. Had the same problem, tried lowering imap_keepalive which didn't fix it but apparently the combination set imap_keepalive=180 set timeout=180 fixed it for me. Have one remaining problem - if sending an mail using builtin SMTP takes long the imap connection is lost anyway. However I use external SMTP programs most of the times. Richard
Re: Rendering HTML as Markdown in mutt (was: Creating HTML emails with mutt)
On Tue, Nov 05, 2019 at 09:31:27AM -0500, Mark H. Wood wrote: > Anyway, a good place to read up on xterm might be > https://invisible-island.net/xterm/ > That version of xterm still gets updates several times a year. xterm > is neither obsolete nor unsupported, just unloved by some distro.s. absolutely. All replacements I have ever tried had some or many issues. And while 25 years ago xterm was considered a true heavyweight among terminal emulators, the lack of "improvement" since that means it is probably the most lightweight choice today. Richard
Re: Unable to set Reply-To
On Fri, Dec 15, 2017 at 12:39:13PM +, David Woodfall wrote: > >Mutt 1.9.1 (2017-09-22) > > > >I have a folder-hook that sources a file. The file sets sendmail and > >does this: > > > >my_hdr Reply-To: m...@mydomain.com > > > >But it refuses to work. I know the file /is/ being sourced because > >sendmail changes. > > > >Any ideas? > > More info: > > I tried running mutt from CLI using -e for the my_hdr command. It did > add the Reply-To header, but not with the email address that I gave > it. > > I've been googling this for hours now and nothing I try works. there seems to be a config var "reply_to", maybe that overrides your my_hdr? Also, using the config var might be easier than my_hdr. Richard -- Name and OpenPGP keys available from pgp key servers
Re: Refreshing ancient MIME/IMAP memories
On Wed, Nov 01, 2017 at 03:28:17AM -0700, fe...@crowfix.com wrote: > My ISP has temporarily throttled me back to 128Kbps, and viewing email with > attachments has become slower. It made me wonder if mutt could be configured > to only download the main email and leave the attachments behind, but that's > not how attachments work; they are just part of the body. Then I had > flashbacks to when I inherited a sorry webmail program 20 years ago and had > IMAP so memorized that I could read email with a telnet session, and how much > I hated trying to remember what the next sequence number should be. > > So I am asking if someone could kindly refresh my memory on exactly what IMAP > servers do to email they store. Memory says they do not pre-process messages > to break out attachments; that it is not possible for mutt to only download > the basic text or html attachments, and leave all the jpg, gif, pdf, doc, and > other attachments alone until needed to save on the attachments page. Year > of usage have also convinced me that if mutt could save downloading unwanted > attachments, it would, so it probably can't; messages are all or nothing. Is > that correct? IMAP can serve you all attachments separately and even chunks of bytes at any position of the remotely stored email. No idea how to do it with mutt. Richard -- Name and OpenPGP keys available from pgp key servers
Re: [SPAM?] Re: [SPAM?] Can I use Mutt from Bash to extract attachments into an arbitrary directory?
On Thu, Sep 15, 2016 at 10:53:02AM +1000, Cameron Simpson wrote: > On 14Sep2016 16:12, Are Troi wrote: > >Last night at a technical talk I lamented the loss around 5 years ago > >from Fedora of command-line tools to extract email attachments from a > >BASH script and a colleague told me Mutt can do this. > > If you mean the MIME tools mpack and munpak, I still use them. (On a Mac, > where the Macports package is called mpack). > > Wouldn't you be better off just fetching and buiulding them? tried ripmime and munpak about a year ago to save all attachments from a large MBOX and it was everything but a hasslefree experience. Various attachments were missed or not processed, some segfaults. Those tools are apparently not as robust as mutt is. Ended up splitting the MBOX by formail cat MBOX | formail -ds sh -c 'cat > msg.$FILENO' and processing messages by ripmime -v --name-by-type --verbose-contenttype --verbose-defects -i "$f" .. and hoping not much was missed by this apporach. Richard -- Name and OpenPGP keys available from pgp key servers
Re: NeoMutt: highlight messages with attachments
> Is it possible to remove the color after messages was read? color index black red "~N~X1" This combines two conditions: new and attachment. When you've read it, it'll revert to a normal colour. Rich / FlatCap
Re: NeoMutt: highlight messages with attachments
Hi Eric, Asking NeoMutt questions on the Mutt list? You'll get me in trouble ;-) > My old `color attachment black red' does not seem to work anymore. I've just tried NeoMutt-2016-05-30 and Mutt-1.6.1 and both work for me. Which are you trying to colour, index or pager? This will colour emails in the index: (for a minimum of 1 attachment) color index black red "~X1" This will colour the headers around attachments in the pager: (e.g. attachements, PGP signatures) color attachment black red Rich
NeoMutt 20160416
Hi all, I have just released a new version of NeoMutt (fixing lots of bugs). It is based on mutt-1.6.0-stable. Thanks to our new contributors this release: Alex Pearce Stephen Gilles Olaf Lessenich ## What on Earth is NeoMutt? NeoMutt is Mutt with lots of patches built in. http://www.neomutt.org/features.html * Conditional Dates Conditional Date Formatting * Fmemopen Use fmemopen(3) for speedier temporary files * Ifdef Conditional config options * Index Color Theming of the Index List * Initials Expando Expando for Author's Initials * Limit-Current-Thread Limit Index View to Current Thread * Nested If Allow deeply nested conditionals in format strings * Notmuch Powerful email search engine * Progress Bar Colourful Progress Bar * Quasi-Delete Hide emails from view, but don't delete them * Sidebar Panel containing list of Mailboxes * Skip-Quoted Skip Quoted Text * Status Color Theming of the Status Bar * TLS-SNI Negotiate with a Server for a Certificate * Trash Folder Move 'deleted' emails to a trash folder After searching the net for patches, I: * Brought the patches up-to-date (Mutt-1.6.0) * Fixed existing bugs * Tidied / refactored code * Documented the features * Created example muttrc's ## Where can I download it? NeoMutt is a new project, so there aren't packages for every distro. If you're using an RPM-based distro, then follow these instructions: https://copr.fedorainfracloud.org/coprs/flatcap/neomutt/ or direct download: https://copr-be.cloud.fedoraproject.org/results/flatcap/neomutt/ Packages for Gentoo, OSX (Homebrew) and Arch are being prepared. If you know how to create packages for Debian/Ubuntu, please let me know. Alternatively, you can download and compile the source: https://github.com/neomutt/neomutt ## Bugs? Questions? Ideas? Please, let me know. Richard Russon (FlatCap)
Re: Sidebar in mutt 1.5.23 fails to show first char of folder name
On 2014-10-06 05:49, Richard Johnson wrote: In mutt 1.5.23 with the sidebar patch applied, the first character of each folder name in my sidebar is being dropped. "inbox" is displayed as "nbox", "trash" becomes "rash", "root" shows as "oot", etc. It's usable, but an annoyance. Backing off to an older sidebar patch targeted at 1.5.22 [1] resolves the problem. The full folder names are displayed. Have others noticed this? Is there a better current fix than using the sidebar patch targeted at 1.5.22? (Circling back to this with more info for archive searches. I tested the version of the sidebar patch as included in macports' mutt-devel on OS X 10.9.5 and 10.10.3: http://lunar-linux.org/~tchan/mutt/patch-1.5.23.sidebar.20140412.txt .) A missing first char in the display of folder names in the sidebar is possibly triggered when there are '/' and/or '[' chars in the folder name paths from an IMAP server. The easy display workaround for me is, in .muttrc: set sidebar_shortpath=yes This way, the folders display with their first characters intact. However, typing the full path is still required after typing a 'c' to change folders. Richard
Re: options for mutt + notmuch integration
On Sun, May 24, 2015 at 05:55:02PM -0400, Xu Wang wrote: > Dear all, > > I am studying the best approach to get better searching from within > mutt. From what I understand, this involves looking for an indexer, > and the best indexer is notmuch. If I misunderstood either of the > previous points, please let me know. Note that my setup is mutt, > offlineimap, and gmail. > > Assuming notmuch is the way to go, I have looked into options for > integrating mutt and notmuch. > > I see the following possibilities: > (1) mutt-kz > (2) the python script. > (3) mutt-notmuch [1] (I understand this is deprecated, see [2]) > (4) notmuch-mutt, which is integrated into notmuch (see [3]) > > Is there another possibility I should look into? I use mairix for most things, and recoll in situations where mairix doesn't find what I want. Richard --- Name and OpenPGP keys available from pgp key servers
Re: quickly switching to an alternate for "from"
On Sat, May 23, 2015 at 09:58:06PM -0700, Mun wrote: > Hi Ian, > > On Sat, May 23, 2015 at 06:15 PM PDT, Ian Zimmerman wrote: > IZ> Did you have a good reason to bypass Google servers? If not, using > IZ> gmail as a relay would likely work around this. > > Not really. I have multiple e-mail accounts that I process from a > single system and so I tried to spoof the "from:" accordingly. does not work, the worst very often you don't even get an error message but your email lands in spam or gets deleted without trace. > IZ> Exim can be configured to conditionally relay some messages depending on > IZ> foo. Other MTAs probably can, too. > > I'm using postfix; I'll have to look into that capability. it works with postfix but I found it so complicated and brittle that I switched to esmtp where it is very easy. Many other like msmtp make it easy to use multiple accounts. Richard --- Name and OpenPGP keys available from pgp key servers
Re: quickly switching to an alternate for "from"
On Sat, May 23, 2015 at 12:51:15PM +0100, spaceman wrote: > Hi, > > >>>reply-hook"~t mailing-list.org""my_hdr From: Richard > >>>" > > Just to note that reply-hook doesn't appear to work here, however when I > substitute it for send-hook it works as expected using my_hdr. I realize > they are not the same thing but this result is what counts. I had both send and reply-hooks on that, turns out I had an additional send-hook . 'unmy_hdr From Reply-To Content-Type Cc' in a different part of the file which apparently overruled my carefully crafted settings. With that fixed, it seems to work as expected :)) Richard --- Name and OpenPGP keys available from pgp key servers pgpyLmwudkr4m.pgp Description: PGP signature
Re: quickly switching to an alternate for "from"
On Fri, May 22, 2015 at 04:17:15PM +0100, spaceman wrote: > Hi, > > >reply-hook"~t mailing-list.org" "my_hdr From: Richard > >" > > Not being an expert in hooks (or mutt) but it looks like my_hdr is the wrong > choice here. You probably need to do something like set from = "spaceman > " > to change whom you message comes from. hm.. I was trying to follow this instructions http://dev.mutt.org/trac/wiki/UseCases/MultiAccounts where my_hdr is used. However for some reason the my_hdr is not used, signature set in th same way is. > I think setting the from alone > won't work because you email provider might reject it (mutt will still send > the message to the default provider). > > So I think you need your providers details (hostname, username, password and > the like) in a configuration file and then source that in the reply-hook > like in my send-hook. That's my best guess. > > I would provide an example but I use msmtp as an smtp client and mutt as the > user agent. I use esmtp and have this part working. Just need to figure out how to set "From:" in a hook. Richard --- Name and OpenPGP keys available from pgp key servers pgpfYgJiOQ4VO.pgp Description: PGP signature
Re: quickly switching to an alternate for "from"
On Sat, May 23, 2015 at 05:58:28AM +0200, MD wrote: > Hi, > > I use this in my .muttrc, because I did not want to have it automatically > depended on folders or accounts: > > macro compose I "^Umarkus" "Set identity / Select From:" > > In my aliases file, I have these entries: > > alias markus1 Markus > alias markus2 M. > alias markus3 MD that works fine for me but did not get the automatic switching working yet. Richard --- Name and OpenPGP keys available from pgp key servers
Re: quickly switching to an alternate for "from"
On Fri, May 22, 2015 at 02:15:40PM +0100, spaceman wrote: Hi, > I use > folder-hook ~/mail/space...@antispaceman.com/* source > ~/.mutt/profiles/space...@antispaceman.com > to change the from depending on which folder (or account in this case) I'm in. > > You do the same with account-hook I'm assuming (if you using imap). You > could also define a macro to quickly change between profiles. > > You could also use send-hook for specific addresses that need to go from > certain accounts: > send-hook "~t space...@antispaceman.com" source > ~/.mutt/profiles/space...@antispaceman.com I have an additional question regarding this: most of the time mutt should reply by using the address which received the mail, "set reverse_name=yes" seems to do this fine. For a few mailing lists this does not work because the mail "To:" has the mailing list address instead of my email address. What is the best way to deal with this? I tried reply-hook"~t mailing-list.org""my_hdr From: Richard " but it uses the "default" email instead silently ignoring the my_hdr. Richard --- Name and OpenPGP keys available from pgp key servers pgpPKaM9rtWti.pgp Description: PGP signature
Re: msmtp freezed
On Fri, Jan 16, 2015 at 11:05:32AM +0100, debecio wrote: > Hello, it is a little OT question. Since month when I send mail with msmtp > sometimes (not always) msmtp block on sending. I left for hours the process > work but nothing, none errors in log or in mutt but it stay blocked on > sending. If i kill process and send mail again it work. I seek a way to have > much verbose log but there is not options for this in .msmrprc file and if I > change in muttrc "/usr/bin/msmtp" with "/usr/bin/msmtp -v" (verbose) do > nothing. use "strace -p PID" to see what it is doing. Also gdb,attach works. Richard --- Name and OpenPGP keys available from pgp key servers
Sidebar in mutt 1.5.23 fails to show first char of folder name
In mutt 1.5.23 with the sidebar patch applied, the first character of each folder name in my sidebar is being dropped. "inbox" is displayed as "nbox", "trash" becomes "rash", "root" shows as "oot", etc. It's usable, but an annoyance. Backing off to an older sidebar patch targeted at 1.5.22 [1] resolves the problem. The full folder names are displayed. Have others noticed this? Is there a better current fix than using the sidebar patch targeted at 1.5.22? Richard [1] https://raw.github.com/nedos/mutt-sidebar-patch/master/mutt-sidebar.patch FreeBSD reverted what looks like the .23 targeted sidebar patch back to what looks like the .22 targeted sidebar patch with a note that "sidebar patch is buggy" http://svnweb.freebsd.org/ports/head/mail/mutt/files/extra-patch-sidebar?view=log Further details: mutt 1.5.23 on Mac OS X 10.9.5, built via MacPorts (with variants +gpgme+headercache+imap+pop+qdbm+sasl+sidebar+smtp+ssl+trash). I see the problem running mutt under both iTerm.app and Terminal.app. Building mutt with ncurses or slang doesn't change the outcome. Sidebar muttrc items: set sidebar_width=24 set sidebar_visible=yes set sidebar_delim='|' color sidebar_new yellow default bind index \CP sidebar-prev bind index \CN sidebar-next bind index \CB sidebar-open bind pager \CP sidebar-prev bind pager \CN sidebar-next bind pager \CB sidebar-open macro index B 'toggle sidebar_visible' macro pager B 'toggle sidebar_visible'
Re: mail box vanished
On Fri, Aug 01, 2014 at 07:51:03AM +0200, Ulrich Lauther wrote: > On Thu, Jul 31, 2014 at 09:45:15PM -0400, Jon LaBadie wrote: > > > > Do you have a remote client getting mail from that > > mailbox which isn't configured to keep the mail on > > the server? > > > no, I just retrieve mail from two providers using > > /usr/bin/fetchmail -a -U -d 30 -L /var/log/fetchmail.log \ >--auth password \ >-m '/usr/bin/procmail -d %T' any kind of ill behaved tmp cleaner? Is the mbox accidentally softlinked to non-persistent storage (tmpfs)? Richard --- Name and OpenPGP keys available from pgp key servers
Re: mutt native SMPT support vs Postfix?
On Wed, Jan 08, 2014 at 02:59:37PM +, Grant Edwards wrote: > On 2014-01-08, Richard Z wrote: > > On Mon, Jan 06, 2014 at 04:48:18PM +, Grant Edwards wrote: > > not really. msmtp and esmtp have queueing. > > Can you provide references for that statement? > > >From http://esmtp.sourceforge.net/features.html: > >These are the esmtp features: >[...] > * does not receive mail, expand aliases or manage a queue. http://esmtp.sourceforge.net/ http://esmtp.sourceforge.net/manual.html - search "esmtp-wrapper". In Fedora this is readilly installed to act as a zero-config sendmail replacement. msmtp has the "msmtpq" scripts in the scripts direcotry, not sure if any distribution installs them by default so it may need a bit of work to setup. > >> Do all outbound messages get sent to a single relay host for routing? > >> If no, then you need a "real" MTA. > > > > more precisely if you need direct delivery as opposed to using one or > > several smarthosts. > > Direct delivery has become increasingly difficult in the past 10-15 > years due to anit-spam efforts. It's gotten to the point where you > need a static IP address, domain, and a fully configured DNS setup (MX > records, reverse lookup matching the host name reported by your MTA to > the SMTP server, etc.) Even then it often won't work if your static IP > is considered "residential" rather than "commercial" or if you're > unlucky enough to end up in the same block of IP addresses with some > poor schmuck who got owned and used by spammers recently. fully agree. I would personaly love to do direct delivery because it is in my opinion the safest method but for most people this option is plain total unrealistic. > > On the other hand, each of bultin mutt, mstmp and esmtp provide > > support for several smarthosts much easier than real MTAs. > > Good point. I have several different .muttrc files (one for each of > several "identities"), and they use use msmtp to send outbound mail > via different relay hosts. I never did figure out how to easily do > that with qmail/postfix/exim. I agree, had it working with exim and postfix but was not worth the effort. > > queueing scripts have been added that should work good enough for single > > users trying to send their mail > > I'm not sure what you mean by that. Are you stating that mutt > supports queing of outbound mail? Are you talking about some > intermediate layer that sits between mutt and msmtp/esmtp? I was talking about esmtp and msmtp which support it as an addon. Similar approach - a queueing script could be also written for mutt, not a bad idea. I might come back to this because the locking in both esmtp-wrapper and mstmpq look a bit less than rocksolid. Possibly, since mutt supports postponed messages and everything else needed it would not be hard to implement outgoing messages queueing in mutt - but would require some thinking how to make it well configurable. Richard --- Name and OpenPGP keys available from pgp key servers
Re: mutt native SMPT support vs Postfix?
On Mon, Jan 06, 2014 at 04:48:18PM +, Grant Edwards wrote: > On 2014-01-04, Ulrich Lauther wrote: > > > Recent posts made me aware of the fact, that mutt supports SMPT. So > > far I have been using postfix for mail transport. Which way is > > better, and why? > > [I'm assuming you're using postfix only for outbound mail. If you're > using Postfix to handle incoming mail, there's no way for mutt to do > that.] > > Do you need/want outbound messages to be queued if they can't be sent > immediately? If yes, then you need a "real" MTA like postfix. not really. msmtp and esmtp have queueing. > Do all outbound messages get sent to a single relay host for routing? > If no, then you need a "real" MTA. more precisely if you need direct delivery as opposed to using one or several smarthosts. On the other hand, each of bultin mutt, mstmp and esmtp provide support for several smarthosts much easier than real MTAs. > There is also the intermediate step of using something like msmtp > which is a minimalist outbound-only MTA that provides the same > "/bin/sendmail" command-line API as postfix, qmail, sendmail etc. It > doesn't do queueing and it doesn't incoming mail: it's an SMTP client > only, where postfix is both an SMTP client (outbound mail) and an SMTP > server (incoming mail). queueing scripts have been added that should work good enough for single users trying to send their mail http://dev.mutt.org/trac/wiki/SendmailAgents http://esmtp.sourceforge.net/ Richard --- Name and OpenPGP keys available from pgp key servers
Re: mutt native SMPT support vs Postfix?
On Sun, Jan 05, 2014 at 09:16:02AM -0500, Patrick Shanahan wrote: > * Richard Z [01-05-14 08:57]: > [...] > > unless you try to do something like multiple email providers for one > > user which is very easy to do with anything but sendmail/postfix/exim. > > I have done this on all three and got tired, after every system upgrade > > some incompatible change breaks it and even the most basic smarthost > > configuration stops working, not to mention the multiple accounts which > > always required some configuration acrobatics. > > I have been doing this for *many* years with miniminal intervention across > many versions of linux, mostly SuSE/openSUSE w/o problems using > postfix/fetchmail/procmail/spamassassin. Postfix and/or most other mta's > also provide the use of rbl's to help minimize spam. your or mine spam filter is not the problem. The problem is when you pipe email through a local postfix/exim MTA it will attach received headers with the domain name and IP, quite often a domain name and IPs that is not even valid. The mail than goes through the smarthost - and this combination easily looks suspicious to certain stupid spam filters of the destination provider. Because the problem is not with your/mine system but the stupidity of the spam filter on the other end it is not easy to fix. It may be that I was hit a bit more often by stupid spam filters because I am using linux-m68k.org domain as from addr but routing mail through gmail.. I will never know because such providers never answer questions, they just silently discarded my mail. > In November last I had to replace my server box witch intailed a four > version upgrade/jump and all I really did to the mail system was clean up > /etc/postfix/main.cf and /etc/postfix/access of stale and mostly commented > out ancient text from prior *experiments*. > > [...] > > I would not touch sendmail/postfix/exim again unless I want to run a > > real public mail server. > > Somewhere you have encountered major weird problems or I have experienced > the "luck of a drunken Irishman" (which I may be). perhaps I was doing things at the wrong time, when I first messed with sendmail something as simple as smarthost support was an unusual thing to do. But the only easy solution that I can see to prevent the "suspicious MTA headers" problem is avoiding the local MTA hop. Richard --- Name and OpenPGP keys available from pgp key servers
Re: mutt native SMPT support vs Postfix?
On Sun, Jan 05, 2014 at 08:48:50AM +1100, Cameron Simpson wrote: > On 04Jan2014 20:01, Matthias Apitz wrote: > > El día Sunday, January 05, 2014 a las 02:50:12AM +0800, Chris Down escribió: > > > On 2014-01-04 19:35:19 +0100, Ulrich Lauther wrote: > > > > Recent posts made me aware of the fact, that mutt supports SMPT. > > > > So far I have been using postfix for mail transport. > > > > Which way is better, and why? > > > > > > "Better" is subjective. Using Postfix for this is pretty heavy duty over > > > using a purpose-built MTA. > > > > I'm using mutt (right now by typing) on my FreeBSD netbook, connected > > via UMTS WAN to my ISP. My mutt drops the mail (this mail) to the local > > MTA (sendmail) and this takes care for the transport to the next MX hop, > > even if the WAN link is down; the mail gets queued until the link comes > > up again. I think this, queuing, is a big advantage over talking SMTP > > directly by mutt. > > I agree. I'm running postfix on my Mac (it ships with postfix installed). > Local queuing. Automatic retry accordidng to a sensible policy. > > AND:... All the local systems that send email (eg cron and innumerable > shell scripts) can send email via the UNIX standard "sendmail" > executable. > > Use a real mail system locally. A win. unless you try to do something like multiple email providers for one user which is very easy to do with anything but sendmail/postfix/exim. I have done this on all three and got tired, after every system upgrade some incompatible change breaks it and even the most basic smarthost configuration stops working, not to mention the multiple accounts which always required some configuration acrobatics. Also, having mail comming from mutt going through postfix to a smarthost generates headers which increase the spam score of your email dramatically because the headers are very similar (or practically indisinguishable) to headers that would appear from an open relay. If mail queueing is a requirement esmtp has it. Although it needs fixing to work reliably it is still much easier than configuring one of the big programs. I would not touch sendmail/postfix/exim again unless I want to run a real public mail server. Richard --- Name and OpenPGP keys available from pgp key servers
Key Bindings issue
I'm running Mutt 1.5.21 on Mac OS X and have things running nicely against a Google Apps email account. Sometimes when I invoke a key binding I will get an error to the effect that the binding is not known. But when I re-do the same binding, it then works. It's quite intermittent but frustrating nonetheless. Here's an example: in Index view, I hit ctrl-n and the status bar shows "key is not bound". I hit ctrl-n again, and this time I advance to the next message as expected. -- Richard Sandilands
Re: CLI assistance please
On Thu, 2 May 2013 14:24:46 +0100 Tom Furie wrote: > On Thu, May 02, 2013 at 09:42:46AM +0100, Richard Bown wrote: > > > What do I need to put in the muttrc file to do the same, allowing for > > attachments to be mpeg4 > > ~? The current mail command in the motion.conf file is:- > > > > on_movie_start echo ["Camera detection" %d/%m/%Y %H:%M:%S--%v] |mailx -s > > "Movement Detected > > %d/%m/%Y %H:%M:%S" -a /Files/motion-pics/%d-%m-%Y_%H:%M-%v.avi > > rich...@g8jvm.info > > You shouldn't need to put anything specific in your .muttrc file. Simply > changing the mailx command in motion.conf to a mutt command should be > sufficient. > > Cheers, > Tom > OK Thanks -- -- Best wishes / 73 Richard Bown Email : rich...@g8jvm.info HTTP :http://www.g8jvm.info nil carborundum a illegitemis ## Ham Call G8JVM . OS Fedora FC18 x86_64 on a Dell Inspiron N5030 laptop Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs+mins ) QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 350W, 70cms 200W Microwave 23 cms 140W, 13 cms 100W, 6 cms 0W & 3cms 5W ## Please do not use the e-mail address of rich...@g8jvm.com Mail hosted by 1and1, Domain screwed up by 1and1 and Freeparking
CLI assistance please
Hi , I'm new to mutt , so daft questions Application Headless computer running motion , msmtp At the moment I'm using mailx to send mail to me to notify me of movement detection, I've tried to send a copy of the MPEG4 .avi as an attachment , and it justs sends 7676 bytes everytime. So , Mutt. It will never receive , only send smtp so the muttrc file can be simplified, this is where I need help, as all the example scripts are for normal use. I have symlinks in already from sbin/sendmail to sbin/msmtp my mailrc file just has one line set sendmail="/usr/bin/msmtp" What do I need to put in the muttrc file to do the same, allowing for attachments to be mpeg4 ~? The current mail command in the motion.conf file is:- on_movie_start echo ["Camera detection" %d/%m/%Y %H:%M:%S--%v] |mailx -s "Movement Detected %d/%m/%Y %H:%M:%S" -a /Files/motion-pics/%d-%m-%Y_%H:%M-%v.avi rich...@g8jvm.info That all on one line, Many thanks -- -- Best wishes / 73 Richard Bown Email : rich...@g8jvm.info HTTP :http://www.g8jvm.info nil carborundum a illegitemis ## Ham Call G8JVM . OS Fedora FC18 x86_64 on a Dell Inspiron N5030 laptop Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs+mins ) QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 350W, 70cms 200W Microwave 23 cms 140W, 13 cms 100W, 6 cms 0W & 3cms 5W ## Please do not use the e-mail address of rich...@g8jvm.com Mail hosted by 1and1, Domain screwed up by 1and1 and Freeparking
message preview snippets in subject line?
Hi, I am getting more and more emails without a meaningful subject so something like googe-mail one line preview would be great. Any way to do it? Richard --- Name and OpenPGP keys available from pgp key servers
Re: Run command on an attachment
On Wed, Feb 27, 2013 at 08:14:13PM +0100, Salve Håkedal wrote: > My main machine don't have openoffice or similar installed, but > sometimes I need to use openoffice on an attachment. I now do that by > scp-ing files to that machine and then ssh -X into that machine. > > To scp an attachment to the other machine, I first save it from the > attachment menu. I'd like to skip this step. > > Is it possible to scp an attachment directly from mutt? should be doable with mailcap Richard --- Name and OpenPGP keys available from pgp key servers
Re: Mutt locking up, how to trace?
On Thu, Nov 22, 2012 at 06:42:27PM +, John Long wrote: > My mutt on Linux has been locking up lately. I didn't compile it with debug > support. Is there any way to figure out why this is happening? I sometimes > lock up in the middle of composing a long email or when mutt has been open > for awhile. This didn't happen until this week and I suspect my email > provider is messing up but I don't know how to check it. Once in awhile mutt > becomes non-responsive and there's nothing I can do but kill it or close the > terminal window. It doesn't respond to any keypresses. first thing to try is "strace -p pid-mutt" from a different terminal. You could also try $gdb #attach pid-mutt #bt - should give at least a backtrace where it is hanging on most architectures. If you suspect server problem try wireshark. Richard --- Name and OpenPGP keys available from pgp key servers
Re: Can mutt and gnus be used together, simultaneously?
On Sat, Oct 20, 2012 at 12:15:44PM +, Tony's unattended mail wrote: > Due to a bug in mutt, I will begin using gnus for some things > (e.g. self-signed S/MIME certs). The question is, can mutt and gnus > both be used to access the same set of mbox files? > > Are there any unhandled race-condition-like pitfalls with having both > tools work on mbox files simultaneously? there are so many versions and locking options of both mutt and gnus that nobody will be able to answer that questions without a very thorough look at your OS and configuration. In practice both try to do correct locking so you could be lucky. More serious question - do they even use the same mbox format? Some time in the past gnus used some special format. Mutt is famous for beeing able to use pretty much every format but I would double check this. Richard --- Name and OpenPGP keys available from pgp key servers
Re: mutt on an IMAP-Server (dovecot): folder names and structure
On Thu, Aug 16, 2012 at 09:56:09PM +0200, Andre Klärner wrote: isn't one of the purposes of gnome-keyring daemon to store the passwords encrypted on disk while they are unused and unlock that keyring once the user want's to do so? Btw: Does anyone have a cool setup that is less dependent on gnome? I'm using awesome for a while now and want to avoid more dependancies on gnome. maybe gnupg agent authentification to decrypt a gpg encrypted file? Richard --- Name and OpenPGP keys available from pgp key servers
Re: mutt caching DNS queries
On Mon, Mar 26, 2012 at 11:18:13AM +0200, Lubos Kolouch wrote: > > Because the IP could have changed, for example when I hibernate the > notebook in company LAN (internal IP of smtp server) and resume it > somewhere else (external IP of smtp server, with the internal one > unreachable). tricky, maybe changing the TTL of the DNS record would help. Otherwise using something like msmtp might be the quickest solution or else abusing firwall rules to rewrite the address? Richard --- Name and OpenPGP keys available from pgp key servers
Re: mutt caching DNS queries
On Sat, Mar 24, 2012 at 11:32:49AM +0100, Lubos Kolouch wrote: > Hello, > > I found strange issue which I can reproduce in Arch Linux, but not > in Gentoo. > > 1) start mutt > 2) send email - email is sent > strace : http://paste.pocoo.org/show/570389/ > > 3) empty/change resolv.conf > 4) send email - email is still sent, even though mutt had no change > to resolve the smtp address > strace : http://paste.pocoo.org/show/570391/ > > This is causing problems when I hibernate the notebook where the > IP address of smtp server goes to LAN address and wake it up somewhere > else where the address resolves to public address. if the IP addr of the SMTP server was resolved correctly in the first try why would it matter when resolv.conf is changed? Richard --- Name and OpenPGP keys available from pgp key servers
Re: Local alternative to Re:
On Thu, Dec 01, 2011 at 02:36:10PM -0600, Derek Martin wrote: > On Thu, Dec 01, 2011 at 02:27:54PM -0600, Derek Martin wrote: > > On Thu, Dec 01, 2011 at 08:31:21PM +0100, Salve Håkedal wrote: > > > I'd like to have mutt put 'Sv:' instead of 'Re:' when I reply to > > > messages, but can't find how to do it. > > > > Re: is not from English, it's from Latin (and therefore local to no > > one, since it's a dead language), and if I recall correctly it is > > actually specified in the RFCs. > > Indeed: > > http://www.ietf.org/rfc/rfc2822.txt > > 3.6.5. Informational fields > [...] > The "Subject:" field is the most common and contains a short string > identifying the topic of the message. When used in a reply, the > field body MAY start with the string "Re: " (from the Latin "res", > in the matter of) followed by the contents of the "Subject:" field > body of the original message. If this is done, only one instance of > the literal string "Re: " ought to be used since use of other > strings or more than one instance can lead to undesirable > consequences. that is nice and clever but I think it would be much better to regard "re" as abbreviation of "responsum" - answer. As an abbreviation of "res" it would be highly redundant to the "subject" keyword and not explain why it is used in answers/followups only. Richard --- Name and OpenPGP keys available from pgp key servers pgpQCHy94jlmn.pgp Description: PGP signature
Re: any possibility of Mutt (or Mutt-like) for Android?
On Fri, Oct 21, 2011 at 08:23:34AM -0500, Jim Graham wrote: > It would have to be done in java plus the Android SDK. That's the > main reason why I thought it might just be an absurd idea Add > the pain trying to use vi (or vim, for me), and I was right about > it being a completely absurd idea. it is possible to write native apps in c as well, though the libs are not exactly full libc. Using vim.. I recall folks have ported vi or vim to one of the early ipods and I can hardly imagine anything geekier short of using vim on a morse terminal. But perhaps you could fall back to one of the Android editors for the boring stuff like actually writing the emails. Richard --- Name and OpenPGP keys available from pgp key servers
Re: imap_pass password management
On Wed, May 18, 2011 at 01:43:05PM +0200, Ђорђе Тодоровић wrote: > Is it possible to have my imap_pass set dynamicaly to be an output of some > CLI password > management program (like pwsafe)? Exaple: > > imap_pass = "echo -n $(pwsafe -p ACCOUNT_NAME -e -q | tail -n 1) |" does that work? imap_pass = `echo -n $(pwsafe -p ACCOUNT_NAME -e -q | tail -n 1) ` Richard --- Name and OpenPGP keys available from pgp key servers
Re: Quirks using format:fixed
On Tue, May 17, 2011 at 12:25:35PM -0600, Aaron Toponce wrote: > On Tue, May 17, 2011 at 03:30:13PM +0200, Richard wrote: > > the more practical idea is to edit plain text (or some kind of > > markup/richtext) > > in your favorite editor and have a wrapper script around the editor which > > converts > > that to/from html. > > I already have my "editor" set as a Python script that executes Vim. The > goal of this is to create a minted Hashcash token for the mail. It's > working well, and I imagine it would be trivial to extend the script to > wrap some basic tags around my paragraphs (all that's really needed, I > guess). it would be as easy. I have done a little more, - bullet lists and such - detect quoted text and wrap it into blockquote or something similar automagically none of that very difficult > Regardless, the format:fixed versus format:flowed argument seems to have > resurfaced due to the emergence of mobile devices, at least for me. So, I'm > visiting all my options on what the "best use case" is for the most > recipients, and I appreciate your responses. I am myself curious to learn what kind of formatting the mobile devices like best. I would think that it won't take long and most of them will display 72 columns pretty well so that there will be no need for special solutions? Richard --- Name and OpenPGP keys available from pgp key servers pgpnpFgsoO9os.pgp Description: PGP signature
Re: Quirks using format:fixed
On Mon, May 16, 2011 at 09:59:19AM -0600, Aaron Toponce wrote: > I don't mind tasteful, minimalistic HTML mail, but composing such in Vim is > a major PITA. Plain text is so much easier to compose in that regard. I > guess I could create macros, et cetera, et cetera, but it's still more work > than just composing plain text, and letting the lien wrap automatically. the more practical idea is to edit plain text (or some kind of markup/richtext) in your favorite editor and have a wrapper script around the editor which converts that to/from html. I have done that once and it worked pretty well back then but did not have the need for it since a few years. If you are interested I could revive the script and dig out the details of the configuration that I used. Back then the configuration was a bit tricky and it did not play well with attachments. Richard --- Name and OpenPGP keys available from pgp key servers pgpxGKSRe21PR.pgp Description: PGP signature
Re: Quirks using format:fixed
On Sun, May 15, 2011 at 11:57:19AM -0400, Tim Gray wrote: > On May 15, 2011 at 02:51 PM +0200, Richard wrote: > >I was wondering if anyone has a script to convert normal mail messages > >to format flowed stuff and back? Could be used as an editor wrapper script > >instead of trying to reimplement the functionality in every editor. > > I did something like this a couple years ago using Python. I was > using BBEdit as my editor for mutt. Now I'm using vim so I haven't > been using the script. However, I can post it online if someone is > interested. Most of the heavy lifting was done with the textwrap > module. thanks, I would be surely interested to see it and don't mind playing with python. Richard --- Name and OpenPGP keys available from pgp key servers
Re: Quirks using format:fixed
On Thu, May 12, 2011 at 02:28:31PM -0600, Aaron Toponce wrote: > Further, wrapping your mail at a predetermined width seems to have problems > with users on smaller screens, such as mobile devices. So, I'm wondering if > using format:fixed is appropriate, or if I should be using format:flowed? > If I switch to format:flowed, then people with larger screens will likely > wish to resize their window smaller, such that it makes it easier to read > the lengthly lines. In theory format:flowed was designed to solve exactly that issue but I am wondering how many of the mobile MUAs do handle it? From what I am reading the format.flowed support has a fairly bumpy history of implementation (eg. Thunderbird) so it might be that html will enable better and more portable results for mobile devices. I was wondering if anyone has a script to convert normal mail messages to format flowed stuff and back? Could be used as an editor wrapper script instead of trying to reimplement the functionality in every editor. Richard --- Name and OpenPGP keys available from pgp key servers pgp8san36HCFY.pgp Description: PGP signature
Re: dynamically setting xterm title & resource to "mutt"
On Mon, May 09, 2011 at 03:31:29PM -0400, Patrick Shanahan wrote: > * Richard [05-09-11 15:19]: > > > > Meanwhile I found out that it is also possible to use keymap action to > > change > > translations on the fly. > > > > The only bit I need to think off - how do I invoke the keymap action > > automatically > > whenever mutt is started? > > alias mutt=xterm -e "xtermset -T mutt;mutt" xterm -e mutt would already do what I want (tested that) - except that I was wondering if it could be achieved without starting a new xterm. xtermset (and the similar xtermcontrol) seem to use xterm escape sequences and I just can't find any xterm escape sequence that would switch keymaps or invoke arbitrary actions. Maybe too much to ask for but would be definitely cool. Richard --- Name and OpenPGP keys available from pgp key servers
Re: dynamically setting xterm title & resource to "mutt"
On Mon, May 09, 2011 at 05:01:42PM +0200, //c wrote: > # allows your mutt(rc) to override/ set the xterm-title, when running mutt > set xterm_set_titles=yes > # > # Remember: > # if set xterm_title --> xterm_set_titles > # but: > # ¬ (xterm_set_titles --> xterm_title) > # allows you to specify your xterm-Title > > set xterm_title="Mutt with%?m? %m Messages&no messages?%?n? [%n New]?" this seems to be some patched version of mutt? Would be pretty cool functionality, although quite doable with normal scripting. > /2 Can you explain briefly, what this part of your script should do? > > > > "\033]0;mutt\007" > > > Im unfortunately not that familiar with shell-scripting, yet. that was part of set my_init=`/bin/echo -en "\033]0;mutt\007" >/proc/$PPID/fd/1 ` this does send the character sequence 033,],0;... etc to the xterm and this does change the title to mutt. Characters with leading "0" are in octal notation. Its much more complicated to do this from mutt than from shell - or I did simply not find a more straightforward way to do it. The equivalent shell command would be /bin/echo -en "\033]0;mutt\007" The way I have done it in mutt does external command invocation using backticks, which means that standard output is not sent to xterm but to a pipe instead. To get it sent to the xterm I use the redirection to /proc/$PPID/fd/1 - which in Linux (and probably only there) means send it to the standard output of the parents process. Richard --- Name and OpenPGP keys available from pgp key servers pgpAjXAc3th8P.pgp Description: PGP signature
Re: dynamically setting xterm title & resource to "mutt"
On Mon, May 09, 2011 at 09:18:18AM -0500, Derek Martin wrote: > On Sun, May 08, 2011 at 12:38:55PM +0200, Richard wrote: > > which does successfully set the xterm title (any easier way to > > simply execute an external command) - however the xterm resource > > name is apparently not affected by this update. > > The xterm maintainer is on the list, and can confirm when he sees this > thread, but I believe xterm and most other X clients set the resource > name once during initialization, and read all their resources from the > X server (or the command line) only once, at start-up. makes sense and it would have probably many strange side effects if it would change resource name at runtime. Meanwhile I found out that it is also possible to use keymap action to change translations on the fly. The only bit I need to think off - how do I invoke the keymap action automatically whenever mutt is started? In other words is it possible to trigger xterm actions (such as keymap(table)) by echoing some control-sequence? Richard --- Name and OpenPGP keys available from pgp key servers pgpqh5RrVi4R5.pgp Description: PGP signature
Re: The true meaning of 'mutt'?
On Sun, May 08, 2011 at 08:20:22AM -0700, Chip Camden wrote: > Quoth Richard on Sunday, 08 May 2011: > > Hi, > > > > somewhat off-topic but found it interesting: 'mutt' appears to denote a > > kinship relation "grand" in the sense of grandafter, grandmother in > > Dravidian languages: > > > > http://books.google.com/books?id=T7Wv4ncys88C&lpg=PA11&ots=qFTz1PQ1MT&dq=mutt-ajje%20mutt-awwa&pg=PA11#v=onepage&q=mutt-ajje%20mutt-awwa&f=false > > > > Richard > > > > --- > > Name and OpenPGP keys available from pgp key servers > > Interesting -- although unfortunately the root carries the meaning of "old" > rather than "grand" in the English sense. Although perhaps we could > stretch it from "old" to "mature." I know very little about this languages but from what I read I had the impression "mutt-" was mostly (or perhaps exclusively) used to express relations such as grand-father and grand-mother. Richard --- Name and OpenPGP keys available from pgp key servers pgpSCoEOPjkvC.pgp Description: PGP signature
Re: mairix search
On Sun, May 08, 2011 at 10:13:49AM -0400, Tim Gray wrote: > Again, the difference on the time it took to re-index was probably > the real eye-opener for me. I have just done a re-index with mairix and have no reason to complain:) As of search operators most people are happiest if they don't need them at all. One of the things thats solved nicely with google but hard to integrate sensibly when using mutt+external search is giving search suggestions when words are misspelled etc. Richard --- Name and OpenPGP keys available from pgp key servers
dynamically setting xterm title & resource to "mutt"
Hi, found some nifty translations that to interesting things for mutt, such as mutt.vt100.translations: #override \n\ None: string(<<) \n\ None: string(>>) \n and this in .muttrc: bind pager < previous-line bind pager > next-line which works nicely when I invoke it as xterm -e mutt Since I do use my xterms for all kinds of things, not just mutt I thought I would simply set the xterm title dynamically. So I have done in .muttrc set my_init=`/bin/echo -en "\033]0;mutt\007" >/proc/$PPID/fd/1 ` which does successfully set the xterm title (any easier way to simply execute an external command) - however the xterm resource name is apparently not affected by this update. Any idea if it is possible to achieve the effect that I want? Richard --- Name and OpenPGP keys available from pgp key servers
The true meaning of 'mutt'?
Hi, somewhat off-topic but found it interesting: 'mutt' appears to denote a kinship relation "grand" in the sense of grandafter, grandmother in Dravidian languages: http://books.google.com/books?id=T7Wv4ncys88C&lpg=PA11&ots=qFTz1PQ1MT&dq=mutt-ajje%20mutt-awwa&pg=PA11#v=onepage&q=mutt-ajje%20mutt-awwa&f=false Richard --- Name and OpenPGP keys available from pgp key servers
Re: mairix search
On Fri, May 06, 2011 at 12:12:38AM -0400, Tim Gray wrote: > One of the other things I like about notmuch is that I feel it has a > much more intuitive syntax. I could never remember which switches I > needed to use with mairix and mu. With notmuch, if I want to find > an email from j...@joe.com with a subject of 'work order', I can > usually just search 'joe work order' and get the correct email. > Correct me if I'm wrong, but don't mu and/or mairix require to use a > from: of f: tag and only match on complete addresses? indeed wrong; mairix j...@joe.com mairix j...@joe.com work order will do exactly what most people would think it would do. It has some special treatment of email addresses in addition to that. The substring wildcard "=" is rather unusual but makes sense once you actually make use of the additional parameter (which does approximate matching). Is mairix the only option for mboxes? Richard --- Name and OpenPGP keys available from pgp key servers
Re: Is it possible form the command line to run a mutt macro
On Wed, Apr 20, 2011 at 10:51:52AM +0200, Eric Smith wrote: > Hi > > > I want mutt to startup and run imediately a macro. > > Is this possible? would that work? mutt -e 'push "m"'' Richard --- Name and OpenPGP keys available from pgp key servers
Re: text_flowed in send-hook?
On Mon, Apr 11, 2011 at 01:42:23PM -0500, Will Fiveash wrote: > On Fri, Apr 08, 2011 at 01:39:29PM +0200, Richard wrote: > > Hi, > > > > I wanted to have text_flowed enabled for certain recipients which would > > seem easy enough using send-hook, so tried > > > > send-hook . 'set text_flowed=no' > > send-hook '~t username' 'set text_flowed=yes' > > > > to my surprise, this does not work as expected. The hook is executed, no > > error, > > no effect - any idea what the problem is? > > I had a similar issue and here is the reply I got: > > Date: Wed, 09 Mar 2011 22:23:06 -0400 > From: Monte Stevens > Subject: Re: how to set a default subject via send-hook? > To: mutt-users@mutt.org > Cc: Will Fiveash > > Found this: > http://does-not-exist.org/mail-archives/mutt-dev/msg11121.html yes, I have feared something like this although it is by no mean clear that the same problem should matter for text_flowed. I will try send-hook2, maybe that works? Actually I see no technical reason why text_flowed should not be settable at any point. Richard --- Name and OpenPGP keys available from pgp key servers
Re: text_flowed in send-hook?
On Mon, Apr 11, 2011 at 03:08:50PM -0400, Tim Gray wrote: > As I understand it, setting $text_flowed doesn't actually change the > content of your mail at all; it only changes a header alerting the > recipients to the fact that the message is f=f, *even if it's not*. > The actually act of providing the proper formatting is done in the > editor you compose in. Are you also toggling that per recipient? yes, I am also modifying editor per recipient. At least I did it for this and some other experiments. Often I call the editor through some content/formatting wrapper. Other than that I have little understanding what and how text_flowed really does, used to do, is supposed to do and what other mailers are doing - other than getting complaints from people whose client can not handle the one or the other setting. I used to have text_flowed enabled by default for some time until Thunderbird changed its default behaviour and Thunderbird users were complaining. Somehow it seems to boil down to many mailers no longer supporting plain text email very well as opposed to html for which reason I have inventend a long list of crutches. Richard --- Name and OpenPGP keys available from pgp key servers
text_flowed in send-hook?
Hi, I wanted to have text_flowed enabled for certain recipients which would seem easy enough using send-hook, so tried send-hook . 'set text_flowed=no' send-hook '~t username' 'set text_flowed=yes' to my surprise, this does not work as expected. The hook is executed, no error, no effect - any idea what the problem is? Richard --- Name and OpenPGP keys available from pgp key servers
Re: [OT] GPG signature fails
On Sun, Mar 13, 2011 at 06:32:54AM -0600, Aaron Toponce wrote: > On 03/13/2011 06:11 AM, Remco Rijnders wrote: > > Derek, > > > > I do appreciate you signing all your mails to this list, but each and > > every one of them shows up as a bad signature and I'm not sure whether > > you are aware of this or not. > > > > I've tried to contact you about this outside this list, but you don't > > make it very easy for people to contact you directly. > > Something must be broken with your MUA or OpenPGP implementation. All of > his signatures come in clean for me. I haven't seen a bad signature from > him on this list. Derek's signature fails here as well, unlike yours and most others. Richard --- Name and OpenPGP keys available from pgp key servers pgpT965e4GmjS.pgp Description: PGP signature
Re: rsync removes the "N" from mailboxes with new mail
On Fri, Mar 11, 2011 at 05:50:34PM +, Chris G wrote: > On Tue, Mar 08, 2011 at 02:40:06PM -0800, John Magolske wrote: > > * Chris G [110308 14:30]: > > > On Tue, Mar 08, 2011 at 02:50:26PM -0600, Derek Martin wrote: > > > > On Tue, Mar 08, 2011 at 06:29:47PM +, Chris G wrote: > > > > > On Tue, Mar 08, 2011 at 10:54:23AM -0600, Derek Martin wrote: > > > > > > On Mon, Mar 07, 2011 at 03:37:45PM -0800, John Magolske wrote: > > > > > > > After doing an rsync backup, the "N" preceding mailboxes with new > > > > > > > mail > > > > > > > is removed from all mailboxes. I suppose this is a result of the > > > > > > > mbox > > > > > > > files being touched somehow by the rsync process. Is there any > > > > > > > way to > > > > > > > prevent this? > > > > > > > > > > > > Use rsync -t. This preserves the file modification times on the > > > > > > mailboxes. Note that it may be possible that there will be a race > > > > > > condition causing mail folders which have mail delivered during the > > > > > > rsync to not show new mail. If this happens at all, it will most > > > > > > likely be pretty rare (i.e. it will still be much better than losing > > > > > > the N flag on *all* mailboxes every time). > > > > > > > > > > > Surely "rsync -t" means *copy* the modification time to the > > > > > destination, > > > > > what the OP wants is to preserve the modification and access times of > > > > > the source files being copied (I think). > > > > > > > > Surely you are mistaken. :) > > > > > > > In what the "rsync -t" means or in what the OP wanted? :-) > > > > > > OP, tell us what you want, do you want the *original* mailboxes to be > > > 'N' still or do you want the copies to have the 'N'? > > > > I'd like the original (source) mailboxes to retain their N's, I'm not > > concerned about copying over this to the backup copy. > > > That's because rsync is changing the *access* time of the 'source' > mailboxes isn't it, I'm not sure you can stop it doing this. one neat thing, in Linux you can control enable or disable setting of atime with chattr +A file chattr -A file works for directories as well. Richard --- Name and OpenPGP keys available from pgp key servers
Re: problem emailing pictures
On Thu, Mar 03, 2011 at 07:13:19PM -0600, Dale A. Raby wrote: > " puzzling problem when sending pictures with mutt - one user on the > other end has trouble printing them." > > This is not a Mutt problem. Possibly its a printer configuration problem... > and almost certainly the user is simply not technical enough to RTFM. > > Using a MUA to print a photograph is kinda like using a fork to eat soup; it > might eventually get the job done, but not very efficiently. > of course. Somehow, when searching for the answer I found this instead http://www.eastland.net/tech/tech_humor.htm .. which tells me something. Nevertheless the user is claiming that it works just fine with pictures emailed from anyone else (presumably everyone else is using some evil OS) so I am inclined to think there is something I can do on my end to help it. > The way to proceed is to suggest that your user first save the image file as > filename.jpg or whatever and then use another program to actually print the > image. Most printer drivers will allow images to be scaled. > > I'd suggest using Gnu Image Manipulation Program (GIMP). Its more than you > need to simply print an image, but it will get the job done. using gimp myself, but I have given up every hope to move this particular user from AOL or use reasonable software. Richard --- Name and OpenPGP keys available from pgp key servers pgp64D9VwiR91.pgp Description: PGP signature
problem emailing pictures
Hi, a puzzling problem when sending pictures with mutt - one user on the other end has trouble printing them. Works fine for almost everyone but this one user seems to be running some incredibly bad software which - when asked to print - prints the picture in supersize (like several sheets of paper for a single picture). Seems like the other end does expect some special email header, exif code or html attribute except I have no clue what it could be. Perhaps someone else has had this problem? The software on the other end seems to be some sort of AOL. Richard --- Name and OpenPGP keys available from pgp key servers
Re: Import local Apple Mail.app messages (.emlx) into mutt
On Tue, Feb 22, 2011 at 06:43:28PM -0600, Puneet Kishor wrote: > On Wed, Feb 23, 2011 at 12:58:07AM +0100, Richard wrote: > > On Tue, Feb 22, 2011 at 12:45:57PM -0600, Puneet Kishor wrote: > > > Greetings. I am a very new user of mutt (and commandline MUAs in > > > general). My question most likely reflects my lack of understanding of > > > how mutt works, nevertheless -- > > > > > > I use mutt to read email from two Gmail IMAP accounts, and I cache the > > > headers on my disk in ~/.mutt/cache/hcache and message bodies in > > > ~/.mutt/cache/bodies/. > > > > > > I have a few years of mail I downloaded via Apple Mail.app that are > > > stored in ~/Library/Mail/Mailboxes/.mbox/Messages/ where is 2000 .. > > > 2010. All these messages have .emlx extension. How do I transfer these > > > messages to my mutt store so I can read and search them via mutt? > > > > you need an emlx to mbox (or maildir) converter, a quick google search > > reveals > > a large number of solutions of which I do not know any. > > > > Thanks for the pointer. So, the first step is for me to find a suitable > tool that will convert my .emlx messages to "mbox (or maildir)." > Question -- what do I need here? mbox or maildir? mutt handles both equally well, its a matter of personal preference. > And, then what? My mutt cache is in ~/.mutt/cache/hcache (this is a > file) and ~/mutt/cache/bodies/ (this is a directory with separate files, > one file per message, not unlike the .emlx files for Mail.app. Is this > the maildir format? Do I just copy the converted files from the first > step above to ~/.mutt/cache? Seems like I need the headers separate from > the bodies. Will mutt just build the header cache for the "imported" > messages? no, you would copy the mbox/maildir into ~/Mail and configure mutt to use it as another separate folder, eg imported-mail. Once there it might work to tag all messages and "save" them into the IMAP folder or there may be many other methods to import old mail to google but I would probably leave them in the imported-mail folder and worry about that. Richard --- Name and OpenPGP keys available from pgp key servers
Re: Import local Apple Mail.app messages (.emlx) into mutt
On Tue, Feb 22, 2011 at 12:45:57PM -0600, Puneet Kishor wrote: > Greetings. I am a very new user of mutt (and commandline MUAs in > general). My question most likely reflects my lack of understanding of > how mutt works, nevertheless -- > > I use mutt to read email from two Gmail IMAP accounts, and I cache the > headers on my disk in ~/.mutt/cache/hcache and message bodies in > ~/.mutt/cache/bodies/. > > I have a few years of mail I downloaded via Apple Mail.app that are > stored in ~/Library/Mail/Mailboxes/.mbox/Messages/ where is 2000 .. > 2010. All these messages have .emlx extension. How do I transfer these > messages to my mutt store so I can read and search them via mutt? you need an emlx to mbox (or maildir) converter, a quick google search reveals a large number of solutions of which I do not know any. http://mike.laiosa.org/blog/emlx.html http://kb.wisc.edu/helpdesk/page.php?id=6396 Richard --- Name and OpenPGP keys available from pgp key servers
Re: renaming temporary files
On Fri, Feb 18, 2011 at 02:58:49AM +0100, Pau wrote: > Hi, > > thanks for the answer... unfortunately I have a precompiled binary. Do > I really have to change the source for that? I guess so... the change > is not trivial you could define editor to call a wrapper script which would evaluate the headers and create a "readable" link to the file. With edit-headers you have all the information you need inside the file. Richard --- Name and OpenPGP keys available from pgp key servers
Re: reply a forwarded mail to correct sender?
On Thu, Jan 27, 2011 at 11:11:13AM -0500, peng shao wrote: > > Do you happen to have "m...@gmail.com" listed in your "alternates"? There > > is > > an open bug on trac regarding this issue. There is a difference of opinion > > on what the correct thing to do in this situation. > > That is exactly the cause to my problem. Thanks a lot for the information. I have been also bitten by this, at least I know what the problem is now. Richard --- Name and OpenPGP keys available from pgp key servers
Re: html email
On Mon, Jan 17, 2011 at 10:02:15AM -0500, Alain Marcoux wrote: Hi, > Mutt -e "my_hdr Content-Type: text/html" -s subject emailadresse > It is on sco 6 version 1.4.2.1i this is quite an old version so you will not get much help for this version. Attaching html files should work as long as mutt can determine file type from the suffix. I have had myself plenty of problems and workarounds with html contents. Depends what you are really trying to do but mutt is not the ideal html mailer. Richard --- Name and OpenPGP keys available from pgp key servers
Re: Issues working with GPG attachments
On Mon, Jan 10, 2011 at 10:15:10PM +0100, Jose M Vidal wrote: > Sorry it is in Spanish: looks like I should edit my .mailcap file. > In fact I just did it, adding the following line: > > application/octet-stream; gpg %s actually, forget my previous answer. It might work for this case but will try to decrypt many types of attachments which are in fact not pgp encrypted. The attachment should have type application/pgp-encrypted otherwise it needs to be fixed. Richard
Re: Issues working with GPG attachments
On Mon, Jan 10, 2011 at 10:15:10PM +0100, Jose M Vidal wrote: > > application/octet-stream; gpg %s > > Now, If i try to open the file from mutt I am asked for my gpg > passphrase, and the file is decrypted in /tmp, which is not that bad. > Sorry for being unable to go further, but: how could the file be > opened (after being decrypted) instead of haviong it just saved in maybe application/octet-stream; gpg -d <%s; copiousoutput I did take the redir from stdin output variant in the hope that gpg will automatically forward output to stdout, if it does not try "--output -" but it is completely untested. You might also want an autoview entry for such files. Richard --- Name and OpenPGP keys available from pgp key servers
Re: Issues working with GPG attachments
On Sun, Jan 09, 2011 at 12:44:27PM +0100, Jose M Vidal wrote: > What I am trying to do now is sending encrypted attachments instead of > encrypted e-mails. I installed Cryptophane in the Windows boxes and > all is ok, except my mutt is not recognizing .gpg attachments, and a > message of "octet-stream/aplication is not supported" is shown in > every message I receive with encrypted files, at the time the name of > the attachment is changed by something like > "=?ISO-8859-1?B?VmVudGFzeGTtYS54bHMuZ3Bn?=" > Is there anything I can do to get the attachments un-encrypted on the fly? > As an option, I would just save the attachments in a folder and > un-encrypt them with the console, but I would need to get an unchanged > name of the file, something like v.g. file.xls.gpg. (instead of > =?ISO-8859-1?B?VmVudGFzeGTtYS54bHMuZ3Bn?=). > I suppose I need to add the MIME type in my .mailcap. does the windows software set content type of the attachments correctly? If it does not you might need a procmail recipe or message view hook to fix the contetnt type before mutt can do aynthing with it. Otherwise a mailcap entry should do it although it should not be need in a reasonable configration. Richard --- Name and OpenPGP keys available from pgp key servers
Re: How to match a whole word?
would something like [^ ]tex[^ ] work? Richard --- Name and OpenPGP keys available from pgp key servers
Re: where do you store your gpg-keys
On Fri, Jun 25, 2010 at 03:10:34PM +0200, Christoph Kluenter wrote: > Hi everybody, > > since I use screen on a remote server to read mails with mutt, > the question of how to securely store gpg-keys is bothering me. If you have junk gpg keys, then put them on a shared remote machine and type your passphrase across the network. Do this only with junk keys, however, as you may be dealing with a trojaned sshd, cracked remote machine, etc. If you have secure gpg keys, then keep them on a USB flash drive (optionally in an encrypted filesystem), mount it only when you are encrypting and decrypting, don't allow inbound network connections or other users on your system, and only type your passphrase(s) on the local console keyboard. This minimizes the opportunities to steal your keyrings and capture your passphrases. For casual users whose threats are mostly opportunistic eavesdropping, the former should be good enough. For security work, where the threats are focused on trojaning things to get at the meaty details, the latter is pretty much required. The latter can still be done with a remote mail setup with two extra steps. Pulling a saved message onto the secure desktop from the remote machine, then manually running gpg on the secure desktop, is the best way to handle remote mail + secure keyrings. In reverse, we 'gpg -sea' a file on the secure desktop, push the resulting .asc file up to the remote mail system, and attach it to a mail message as a text file. Most correspondents can handle the results. Richard
Re: Indexing of mailboxes
On Wed, Jun 09, 2010 at 02:44:43PM -0700, Robert Holtzman wrote: > On Wed, Jun 09, 2010 at 11:27:13AM +0200, hubert depesz lubaczewski wrote: > > Check $header_cache. > Does this need a patch to work on Mutt 1.5.17? I used header caching in 1.5.9, so I don't think an additional patch is required for 1.5.17. Perhaps do something like these if you don't have header caching included in your build: ./configure --enable-hcache --without-gdbm --with-qdbm sudo port install mutt-devel +headercache +qdbm Richard
Re: GPG send encrypted mails to one address but multiple recipient
On Wed, Apr 14, 2010 at 11:18:26PM +0200, Christian Brabandt wrote: > Hi Michael! > > On Mo, 22 M??r 2010, Michael Elkins wrote: > > > On Sat, Mar 20, 2010 at 01:52:31PM +0100, Laurent Weber wrote: > > > I want to send encrypted mails to a mailing list where the mails need > > > to be encrypted with several keys. The mail is send to one address: > > > security@ > > > > > > Now after long googl'in in found several information that it is not > > > working. Is it true? Is there no walk around to get it working? > > > > I think you can accomplish this by using a send-hook which will change > > the value of $pgp_encrypt_only_command or $pgp_encrypt_sign_command to > > add -r options to specify extra keys to encrypt for. > > (Sorry for being late???) > > Isn't that the perfect usecase for specifying groups in your gpg.conf? > > I have never tried that, but that is my understanding from how this > configuration works. I've not yet found a way to get mutt to trigger use of the gpg.conf groups, however. If someone has tried this successfully, I'd appreciate pointers. Richard
Re: mutt and gpg encrypting to more than one key for single
On Tue, Jun 16, 2009 at 12:42:22PM -0500, Derek Martin wrote: > On Tue, Jun 16, 2009 at 08:18:28AM -0600, Richard Johnson wrote: > > The people behind the address (it's an email reflector) all have their own > > gpg and pgp keys [1]. > > The best way to handle this is to have the e-mail reflector do it. > The e-mail reflector should provide a public key to which you encrypt > the mail, then it decrypts and re-encrypts to all the subscribers. > The "best" part of this is that the subscribers don't need to have > everyone else's keys. > One such list management software is here: > http://www.synacklabs.net/projects/crypt-ml/ Yes, I've looked at such methods. However, that technique in general doesn't match our security requirements. We need end-to-end trust between mutually shared keys, without a man in the middle. That's why I'm trying to get mutt to do the kind of encryption to multiple keys for a single address that everyone else on the team does in Thunderbird with Enigmail . Richard
mutt and gpg encrypting to more than one key for single recipient?
Hello list, I'm trying to have mutt encrypt to multiple gpg keyids at once when I send to a single email address. The people behind the address (it's an email reflector) all have their own gpg and pgp keys [1]. I've not yet found a way to make encryption to all their keys happen with mutt 1.5.18 and gpg 1.4.9, though there are hints that others have tried to do the same thing. Two suggestions gleaned from searching were "pgp-hook" in mutt and "group" in gnupg. Per the comments on what looks like pgp-hook patches for 1.2.5, this might have worked to aggregate them (in .muttrc): pgp-hook al...@example.com 0xdeadbeef pgp-hook al...@example.com 0xc0dec0de pgp-hook al...@example.com 0xcafebabe Yet the aggregation does not happen in 1.5.18. mutt prompts to use the last keyid, but my selecting it with 'y' doesn't cause mutt to prompt for the others. Rather, it then uses gpg to encrypt to that keyid alone. Based on other hints drawn from searching, I also attempted to use pgp-hook this way (in .muttrc): pgp-hook al...@example.com "0xdeadbeef 0xc0dec0de 0xcafebabe" yet mutt passes the entire list of keyids directly to gpg, which doesn't handle a list (or command line arguments to build one) in this manner. Digging a little deeper below mutt, I've attempted to use group in gpg itself like this (in gpg.conf): group al...@example.com=u1@example.com u...@example.com u...@example.com or group al...@example.com=0xdeadbeef 0xc0dec0de 0xcafebabe yet in each case mutt asks for the (nonexistent) keyid for the group name before it asks gpg to resolve the group contents. Moving on, if I set up a mutt pgp-hook this way (in .muttrc): pgp-hook al...@example.com alias and a corresponding gpg group (in gpg.conf): group alias...@example.com 0xc0dec0de u...@example.com I end up with mutt rejecting the keyid of 'alias' before it even gets to the point of asking gpg to resolve the group. If I were to bite the bullet and install outside the package system, does Dale Woolridge's multiple-crypt-hook patch get me closer to usable encryption to multiple keys for a specific address? If so, does it still make any sense for mutt 1.5.18 (his last update was in 2004 for 1.5.6). Can you suggest additional things to try? Thanks! Richard [1] We cannot use a shared key or conventional encryption for mail through the reflector, as that doesn't meet our security requirements.
Mutt just hangs
I am trying to run mutt on my SGI (see configuration options below). However when I submit the command, it just hangs. A ps -ef reveals that two processes are running. I have to issue a kill command to cancel the jobs. Can you help? Also, if I want to attach multiple files, the use of multiple -a commands works; however, can I just provide a list of files names and use the -a option only once. opmarine 42% ps -ef | grep mutt rpatchen 38599 12066 0 14:36:11 pts/1 0:00 mutt -s test -a a.tmp [EMAIL PROTECTED] rpatchen 38608 12078 0 14:36:29 pts/2 0:00 grep mutt rpatchen 38611 38599 0 14:36:11 ? 0:00 mutt -s test -a a.tmp [EMAIL PROTECTED] System: IRIX64 6.5 [using ncurses 5.2] Compile options: -DOMAIN -DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +USE_FCNTL -USE_FLOCK +USE_IMAP -USE_GSS +USE_SSL +USE_POP +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS +ENABLE_NLS SENDMAIL="/usr/lib/sendmail" MAILPATH="/var/mail" SHAREDIR="/usr/freeware/share/mutt" SYSCONFDIR="/usr/freeware/etc" -ISPELL
Re: Set From: Address in replies
On Mon, Jun 18, 2007 at 02:42:23PM +, [EMAIL PROTECTED] wrote: > When I send a reply in mutt, the From: address is > set to my userid, which is not valid for mail purposes. > How can I permanently set the From: address to the > ISP email address which is where I get my email from? You want the `from' config variable, described at <http://www.mutt.org/doc/devel/manual.html#from>. Richard
Re: Auto-fill-mode in emacsclient
On Wed, Jan 31, 2007 at 01:31:40AM +0100, [EMAIL PROTECTED] wrote: > Dear List > > I'm new to Mutt. As I am a fan of GNU-Emacs I use emacsclient for > composing mails. But I'm quite an Emacs newbe too. > > On my GNU/Debian (Etch) machine I have to turn on Emacs' > auto-fill-mode manually when I compose a mail text for mutt. This > annoyes me of course. On my other computer, which runs Ubuntu 6.10, > the auto-fill-mode comes up automatically. > The relevant lines of the .emacs files are: > > (server-start) > (add-hook 'mail-mode-hook 'turn-on-auto-fill) > > I don't know why this hook works only on one machine. I think there > are many of you who use Mutt with Emacs. How have you automatized to > turn on the auto-fill-mode? On your Debian machine, does the buffer come up in mail mode automatically? I use the same basic setup, but MacOS X and Carbonized Emacs 22.0.90.1. I found that I had to force the buffers into mail mode: (add-to-list 'auto-mode-alist '("mutt-HOSTNAME" . mail-mode)) And do the obvious substitution, of course. Richard
Re: be ,,subscribed'' on a mailinglist but not change view of index
Hi, On Mon, Oct 14, 2002 at 06:48:33PM +0200, Richard Cattien wrote: > is there a way to be ``subscribed'' on a mailinglist in ~/.muttrc but > not change the view in the index, say to keep seeing who sent the mail > to the list? > > The reason for why i want this is, that i'm already sorting my mail via > procmail, so every list gets a seperate folder, so i would prefer the > normal view where i can see who sent the mail in the index and don't > need to open it for this. But i still want to use the list-reply feature > (L) > > good example is this mailinglist... > > any ideas? hrmmm, I tried ``lists'' instead of ``subscribed'' this seem to work, but now I'm confused, is the diffrence between ``lists'' and ``subscribe'' just in the different view of the index??? I've read the apropriate section in the manual, but there's no real distinction between the two... bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
be ,,subscribed'' on a mailinglist but not change view of index
Hi, is there a way to be ``subscribed'' on a mailinglist in ~/.muttrc but not change the view in the index, say to keep seeing who sent the mail to the list? The reason for why i want this is, that i'm already sorting my mail via procmail, so every list gets a seperate folder, so i would prefer the normal view where i can see who sent the mail in the index and don't need to open it for this. But i still want to use the list-reply feature (L) good example is this mailinglist... any ideas? bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
Re: ~/.mailcap confusion
Hi, > Use "auto_view text/html" IIRC. thanx Rene and Luke ...works fine now! bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
Re: ~/.mailcap confusion
Hi Rene, On Mon, Oct 14, 2002 at 05:45:10PM +0200, René Clerc wrote: > > links is a softlink to lynks? > > ??? > > No, no, no. Links is a different browser. I use the following entries > (both) in my mailcap: > > text/html; links %s; nametemplate=%s.html > text/html; links -dump %s; nametemplate=%s.html; copiousoutput > > These: > > - allow me to view html e-mails in the pager > - actually fire up links when I 'v'iew an html attachment Hmm, this sounds exactly like what i want, but when displaying html-mails i still get that nasty [-- text/html is unsupported (use 'v' to view this part) --] here is my config: ~/.muttrc = # # rickskis .muttrc # # aliases source ~/.aliases set alias_file = ~/.aliases # # headers ignore * unignore To: Cc: Bcc: From: Subject: X-Mailer: User-Agent: Date: Content-Type: hdr_order From: To: Cc: Subject: Date: Content-Type: X-Mailer: User-Agent: # # sort order set sort=threads # # editor set editor="/usr/local/bin/vim -u .vimrc_mutt" # # outgoing messages mailbox set record="~/Mail/sent" # # mailboxes mailboxes ~/Mail/fooblah [...] # # colors color normalwhite black color indicator brightyellowred color tree brightyellowblack color statusbrightwhite blue color hdrdefaultbrightred black color quotedgreen black ~/.mailcap == # HTML text/html; links %s; nametemplate=%s.html text/html; links -dump %s; nametemplate=%s.html; copiousoutput bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
Re: mutt 1.4 -- where does mutt write error messages to?
Hi, > I would like to know where mutt writes error messages to. Reading the > man pages did not help me understand how to set on debug messages. mutt has errors? :-) bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
Re: ~/.mailcap confusion
Hi, > > Now, when I try to watch a html-mail, links displays the html-code, but > > doesn't interpreting it. I tried it with lynx also ...the same. > > try: > # HTML > text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html well, this works fine, but could you explain that? thx! But another one, i really like to use "links" as my html-mail-viewer, so I simply changed lynx to links ...but... mutt starts lynx either? Am I stupid? Of course I restarted mutt! bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
~/.mailcap confusion
Hi, i have a problem concerning the MIME-type handling. Since i often get mail which is HTML-formated, I created a .mailcap whith "text/html; links %s" in it (described in 5.3 of the mutt-manual). Now, when I try to watch a html-mail, links displays the html-code, but doesn't interpreting it. I tried it with lynx also ...the same. whats wrong? thx for your help, and sorry for bad english. bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
how to go back to mailbox
Hi, how can i get back to my normal inbox, after changing to another mailbox. For example i press c and go to ~/Mail/foo ...but how to get back to /var/mail/, without selecting it manually! bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
Re: ISO cancel option in quit prompt from send-message
Hi, > Control-G cancels most prompted operations. Well, why the heck this is not mentioned in the online help when pressing ``?'' I was looking for this too but was afraid of asking :-) this may be offtopic, but how do you deal with mails which have no CR after 7x letters, and you want to break it correctly? I know this is an editor issue ...maybe someone knows if theres a trick in vim to do smth like that? bye, richard -- Richard `rickski' Cattien <[EMAIL PROTECTED]>
Re: fcc and reply as in pine
On Thu, Aug 29, 2002 at 09:22:25AM -0400, darren chamberlain wrote: > Ouch, that's a lot of work. I think this will do it: > > fcc-save-hook . +%O > > The . applies the hook to all messages, and the %O turns into the > before-the-@ part of the recipient address. Cool! I didn't known this (well, of course I didn't!). Great, thanks. Richard
fcc and reply as in pine
Hi, I have just converted a friend from using pine to mutt. But there is still one features he misses and I would feel stupid saying: `well, this is nog the way we do things in mutt.' When he replies to someguy@somewhere he wants the outgoing email to be saved in =someguy. I thought about doing the following: . use edit-headers . let the editor-variable be a script that does the following: . if the in-reply-to is present, lookup the recipient and write a corresponding fcc-header . invoke the editor of choice (vim) to the result This should work, right? But it seems a bit of a clutch. BTW, fcc-hook doesn't work in this case, because you would need lots of them: one for each person you are corresponding with. And how do you know, with whom you're going to email in the future. Anyway, how would you solve this `problem'? Richard
Mutt + Outbox
Hi all I am wondering if anyone has any good suggestions for how to handle the usage of an "outbox". I like to keep all of my outgoing mail in case I ever need to look back at what I sent to someone. So in my mutt config file I have this: set record=Mail/outbox ..that works a treat, except that its starting to grow a little (after 4 months), and I think maybe the ability to have an outbox folder and then for the above command to auto-assign to the correct month? Any suggestions, or possible solutions would be nice to hear! :) TIA Dean msg29899/pgp0.pgp Description: PGP signature
Re: abook and forwarding mail (was: Re: Adressbook?)
* Jussi Ekholm <[EMAIL PROTECTED]> [2002-06-27]: > David T-G <[EMAIL PROTECTED]> wrote: > > > ...and then Jussi Ekholm said... > >> One thing that annoys me a great deal is, that AFAIK you can't, for > >> example, forward/bounce emails with abook. At least I can't find > >> anything somehow related to it, but this: > > > > Once you press 'f' to forward a new mail, can't you hit or Q to > > query abook? > > Nope. When I hit on 'To:' prompt, I get Mutt's aliases in front of > my eyes. I tried pressing C-b, too, which normally takes me to abook but > it didn't work when Mutt queries you about whom to send the mail. > Try hitting instead when you're at the 'To:' prompt after hitting 'f' to forward. You'll get the list of everyone in abook's address book. Cursor to the entries you want and hit 't' on each. Then hit and they will be inserted into the 'To:' line. Ignore the duplicated commas with whitespace between - this will be cleaned up before you get to the editor or compose window. HTH Richard -- Richard \\\ SuperH Core+Debug Architect /// .. At home .. P./// [EMAIL PROTECTED] /// [EMAIL PROTECTED] Curnow \\\ http://www.superh.com//// www.rc0.org.uk Speaking for myself, not on behalf of SuperH
mutt+X+jpg viewing
Hi all I normally use mutt through a konsole session in KDE. (for my sins). At the moment when an email contains a jpg/gif image, I have an auto converter to ascii art, which is great. But I have been thinking is it possible for mutt/my environment to detect that I am in X and launch an x graphics viewer instead somehow? TIA HAND YTH ;) Dean msg29024/pgp0.pgp Description: PGP signature
Re: pdftotext-filter
On Fri, Jun 14, 2002 at 11:11:35AM +0100, Dean Richard Benson wrote: > Hi there > > I have just read over a couple of mutt configuration files. I notice > that in some mailcap files there is a pdftotext-filter mentioned. Does > anyone know where I can get that file from at all? > > I have the pdftotext program but not the shell script that is menioned > in the mailcap file. For anyone that needs it, Roland has just sent me it through my inbox: (its a simple, but nicely effective wrapper script) - Dean #! /bin/sh # # $Id: pdftotext-filter,v 1.1 1999/06/10 10:49:26 roland Exp $ # # This is a little script to use pdftotext from the xpdf package as a # filter # which reads a PDF file on stdin and writes an ASCII file on stdout. # ## # # Copyright (C) 1999 Roland Rosenfeld <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # ## umask 077 tmpdir=${TMPDIR-/tmp}/pdftotext.$$ mkdir $tmpdir || exit 1 trap "rm -rf $tmpdir; exit" 0 1 2 3 15 cat > $tmpdir/pdftotext.pdf pdftotext $tmpdir/pdftotext.pdf cat $tmpdir/pdftotext.txt msg29003/pgp0.pgp Description: PGP signature
Re: Display problems with non-7bit text
* Thomas Dickey <[EMAIL PROTECTED]> [2002-06-14]: > On Fri, Jun 14, 2002 at 10:34:14AM +0100, Richard Curnow wrote: > > I've been following the UTF-8 discussion. For me, I can't even get > > iso-8869-1 characters in the 128-255 range to display correctly. > > you don't mention what your locale is set to (e.g., $LC_ALL and related > environment variables). That's independent of slang/ncurses. mutt is > supplying the ?'s. > I've tried cases such as * no LC_* variables defined in the enviroment at all * LC_ALL=en_GB.ISO-8859-1 * LC_ALL=en_US.iso-8859-1 * LC_ALL=en_US.utf-8 etc but this doesn't seem to make any difference. There doesn't seem to be much under /usr/share/locale under than a lot of */LC_MESSAGES/* stuff. Perhaps I'm missing some bits in my locale installation. > To display UTF-8 with ncurses, you need the wide-character version > libncursesw. ISO-8859-1 works either way. :-( not here yet. I'm sure that mutt 1.2.5 displayed accented characters OK. I've deleted the 1.2.5 binary now so I can't go back to recheck. Thanks for the info anyway. Cheers Richard -- Richard \\\ SuperH Core+Debug Architect /// .. At home .. P./// [EMAIL PROTECTED] /// [EMAIL PROTECTED] Curnow \\\ http://www.superh.com//// www.rc0.org.uk Speaking for myself, not on behalf of SuperH
pdftotext-filter
Hi there I have just read over a couple of mutt configuration files. I notice that in some mailcap files there is a pdftotext-filter mentioned. Does anyone know where I can get that file from at all? I have the pdftotext program but not the shell script that is menioned in the mailcap file. Thanks Dean msg28999/pgp0.pgp Description: PGP signature
Display problems with non-7bit text
I've been following the UTF-8 discussion. For me, I can't even get iso-8869-1 characters in the 128-255 range to display correctly. The content-type line in the message looks like: Content-Type: text/plain; charset=iso-8859-1 and if I 'more' or 'cat' the message to the terminal (I'm using maildir), the accented characters show up fine, so the terminal is basically up to the job and has a font with the characters in it. However, inside mutt's pager I get varying forms of junk depending on the setting of charset, e.g. charset=us-ascii gives e? charset=iso-8859-1 gives \344\341\337\351e\350 charset=utf-8 gives \303\244\303\241\303\237\303\251e\303\250 (OK, not much of a surprise) The output of 'cat' correctly shows the 6 characters: a-umlaut a-acute scharfes-S e-acute plain e e-grave This is mutt 1.4i, I have the problem with either xterm or rxvt, and with both slang and ncurses builds of mutt. Where's my problem? Cheers Richard -- Richard \\\ SuperH Core+Debug Architect /// .. At home .. P./// [EMAIL PROTECTED] /// [EMAIL PROTECTED] Curnow \\\ http://www.superh.com//// www.rc0.org.uk Speaking for myself, not on behalf of SuperH
Google Groups and Spam
Hi all I post to a few different groups - mutt-users being just one of them. I have a question tho regarding the usage of mutt/groups/spam. A lot of the spam I receive these days is to addresses that I have previously used to post to newsgroups. So how do others handle posting to newsgroups/mailing lists without getting flooded with spam. A few things spring to mind. 1. Do many people use the "X-No-Archive: Yes" Header to prevent their postings appearing on google groups. Is this bad practice to use by default in emails etc? 2. Do many people use a fake email address from? Ie, [EMAIL PROTECTED] 3. Is the above (point 2) is true, then is there any worth in using your pgp(gpg) signature in emails to lists such as this one? (since [EMAIL PROTECTED] won't be the same as my pgp key?) Advice on any of the above would be appreciated. Oh, and "YTH" (yes that helped) - before anyone gives a HTH. ... and I am having a nice day - thanks! ;) Dean msg28961/pgp0.pgp Description: PGP signature
Re: Invalid Header Field
On Thu, Jun 13, 2002 at 02:05:49PM +0100, Dean Richard Benson wrote: > Hi Hi Dean! ;) > When I enter a new folder in mutt I see a message flash by (about 1 > second). > "Invalid Header Field" > Is there a way to find out what in my config might be set up > incorrectly? Ok, I managed to work out what was causing the problem eventually. (always happens _after_ I ask for help). I had defined a folder hook for certain folders have a different From: address. But I had missed out the keyword From: Doh Dean msg28958/pgp0.pgp Description: PGP signature
Invalid Header Field
Hi When I enter a new folder in mutt I see a message flash by (about 1 second). "Invalid Header Field" Is there a way to find out what in my config might be set up incorrectly? Oh, and also, since I could have easily missed the error message, is there such a thing as a mutt error log? Thanks Dean msg28955/pgp0.pgp Description: PGP signature
Re: mutt-1.2.5* considered HARMFUL (was: wrong In-Reply-To messes up threading)
* Christoph Bugel <[EMAIL PROTECTED]> [2002-06-12]: > > > > And the difference between In-Reply-To and References is > > also trivial for the case that you reply to multiple > > messages at once: it can't be handled within References > > hmm, I never understood the concept of replying to multiple > messages. Seems like counter intuitive, and over complicated to me. > Also, the threading display will become very 'interesting' when > messages have multiple parents. > I've used it when I want to quote the body text of several messages in a reply, e.g. if things several people have said earlier are relevant now in the discussion. IIRC mutt must treat the first of the replied-to messages as the 'parent' when it generates the In-Reply-To &/or References header(s), since that was the one my message seemed to get threaded under after I'd sent it. -- Richard \\\ SuperH Core+Debug Architect /// .. At home .. P./// [EMAIL PROTECTED] /// [EMAIL PROTECTED] Curnow \\\ http://www.superh.com//// www.rc0.org.uk Speaking for myself, not on behalf of SuperH
Show number of attachments at the top
Hi all I am not sure if its possible and I haven't seen it mentioned before, is it possible to show the number of attachments at the top say for example in the standard headers? At the moment, its not really simple to tell how many attachments are attached unless I press "v" to view them and then I see them in a list. TIA Dean msg28190/pgp0.pgp Description: PGP signature
Re: Apostrophe
On Mon, May 06, 2002 at 07:29:31AM -0700, David Ellement wrote: > On 020506, at 13:34:20, Dean Richard Benson wrote > > When I receive a message with apostrophes in they come over like this > > (example line) > > > > "that we\222ve received your message. As soon as our automated systems" > > > > Is there any way to make the \222 be displayed correctly? > > Check the archives for a URL for "demoroniser.pl", then try the macro: > > macro index D ":set display_filter=demoroniser.pl\n\n:set\ > display_filter=''\n" > > > The "demoroniser.pl" script translates the Windows non-standard > characters to standard ASCII. Great! :) Thanks, just in case anyone else wants it, here is the URL: http://www.fourmilab.ch/webtools/demoroniser/ "...a Perl program available for downloading from this site which corrects numerous errors and incompatibilities in HTML generated by, or edited with, Microsoft applications. The demoroniser keeps you from looking dumber than a bag of dirt when your Web page is viewed by a user on a non-Microsoft platform. " - Dean msg27894/pgp0.pgp Description: PGP signature
Re: Apostrophe
On Mon, May 06, 2002 at 02:58:57PM +0200, Maximilian Szengel wrote: > On Mon, May 06, 2002 at 01:34:20PM +0100, Dean Richard Benson wrote: > > > Is there any way to make the \222 be displayed correctly? > > Maybe you can use charset-hook in your muttrc, for example: > > # aliases for broken MUAs > charset-hook windows-1250 CP1250 > charset-hook windows-1251 CP1251 > charset-hook windows-1252 CP1252 > charset-hook windows-1253 CP1253 > charset-hook windows-1254 CP1254 > charset-hook windows-1255 CP1255 > charset-hook windows-1256 CP1256 > charset-hook windows-1257 CP1257 > charset-hook windows-1258 CP1258 > Hi Max This seemed like a great idea, but unfortunately still didn't work. Is there any more I can tell you about the source emails that might help? (sorry still a bit of a mutt-newbie) Thanks Dean msg27891/pgp0.pgp Description: PGP signature
Re: Apostrophe
On Mon, May 06, 2002 at 02:52:27PM +0200, Vincent Lefevre wrote: > On Mon, May 06, 2002 at 13:34:20 +0100, Dean Richard Benson wrote: > > Is there any way to make the \222 be displayed correctly? > > Ask the sender to use a correct charset, or better, to use the ASCII > apostrophe, as the windoze \222 apostrophe doesn't correspond to > anything in Unicode. Heh, thanks for the "get the sender to send the correct format" tip, but do you think me asking folks such as network solutions is going to get them to change ;) I do take your point tho. - Dean msg27890/pgp0.pgp Description: PGP signature
Apostrophe
Hi there I wonder if someone in here can help me out with a small mutt (or maybe locale) problem I am having. When I receive a message with apostrophes in they come over like this (example line) "that we\222ve received your message. As soon as our automated systems" Is there any way to make the \222 be displayed correctly? Many thanks Dean msg27884/pgp0.pgp Description: PGP signature
Re: Selecting a mailbox
On Tue, Apr 30, 2002 at 04:37:40PM -0700, John Iverson wrote: [...] > I'm running plain 1.3.28i with no patches, and I'm pretty sure I > remember this behavior on earlier versions as well. I don't > think Dean mentioned his version. [...] I am running version 1.3.28i. Did someone say it was fixed in the CVS version? Hrm Thanks Dean msg27786/pgp0.pgp Description: PGP signature