> > On Thu, Jun 30, 2016 at 08:02:38PM -0400, Xu Wang wrote:
> >>
> >> I have read the environment variables section in 'man mutt' and there
> >> does not seem to be a MUTTRC environment variable. One can set using
> >> -F option but sometime environme
n mutt' and there
> >> does not seem to be a MUTTRC environment variable. One can set using
> >> -F option but sometime environment variable is nice.
> >
> > What kind of uses did you have in mind?
> >
> > You can use environment variables in config files, so you
oes not seem to be a MUTTRC environment variable. One can set using
-F option but sometime environment variable is nice.
Can someone confirm this is correct? Is there a reason for this?
What kind of uses did you have in mind?
You can use environment variables in config files, so you can always
work around t
On Thu, Jun 30, 2016 at 08:02:38PM -0400, Xu Wang wrote:
>
> I have read the environment variables section in 'man mutt' and there
> does not seem to be a MUTTRC environment variable. One can set using
> -F option but sometime environment variable is nice.
>
> Can someone confi
Hello,
I have read the environment variables section in 'man mutt' and there
does not seem to be a MUTTRC environment variable. One can set using
-F option but sometime environment variable is nice.
Can someone confirm this is correct? Is there a reason for this?
Kind regards,
Xu
#1
set from = `whoami`@domain.com # with backticks
I went with this one ...
Thank you for your time and effort in replying ...
Danny
* On 11 ene 2015, Danny wrote:
Hi guys,
I have setup a .muttrc in /etc/skel (Debian). My problem is that everytime I
create a user and .muttrc is copied to the newly created user's home dir I
still
have to do some editing involving the user's name etc.
What is the mutt variable
Hi guys,
I have setup a .muttrc in /etc/skel (Debian). My problem is that everytime I
create a user and .muttrc is copied to the newly created user's home dir I still
have to do some editing involving the user's name etc.
What is the mutt variable for a user:
For example : I want set from = u
On Sun, Feb 02, 2014 at 04:45:30PM -0500, glphvgacs wrote:
is that swapped or what?
The sidebar patch is a non-standard Mutt extension, so not everyone can
answer. However, I happen to use it. Looks like you are correct.
--
Suvayu
Open source is the future. It sets us free.
is that swapped or what?
directory.
I've been trying to change my .muttrc to reflect the change so that it
points to the local files. While I'm seeing the mail in each subscribed
folder, some of the expected behavior is not working ('c' prompting to
change to the next folder with new messages).
The local mail
I've been connecting to my fastmail.fm account directly via IMAP for a
while now with no issues. Recently, I've decided to use offlineimap to
mirror the content locally to a Maildir directory.
I've been trying to change my .muttrc to reflect the change so that it
points to the local files
On Mon, May 6, 2013, at 08:53 AM, Trey Sizemore wrote:
I've been connecting to my fastmail.fm account directly via IMAP for a
while now with no issues. Recently, I've decided to use offlineimap to
mirror the content locally to a Maildir directory.
I've been trying to change my .muttrc
Hi, just forget to add my .muttrc file.
Here you have it.
set mbox_type=Maildir
set spoolfile=~/.mdir
set folder=~/.mdir
set mask=!^\\.[^.]
set record=+.Sent
set postponed=+.Drafts
set from=henry.t...@gmail.com
mailboxes ! + '\\
for file in ~/.mdir/.*; do \\
box=$(basename $file
On Tue, Dec 04, 2012 at 05:26:34PM -0500, Spangler, Tim wrote:
I have several automated processes that send e-mail from the command line, and
I'd like each one to use its own .muttrc. This would allow me to specify the
return address for each of these sets of e-mails based on the process
On 2012-12-04, Spangler, Tim tim.spang...@adp.com wrote:
I have several automated processes that send e-mail from the command
line, and I'd like each one to use its own .muttrc. This would allow
me to specify the return address for each of these sets of e-mails
based on the process sending
On Tue, Dec 04, 2012 at 06:41:28PM -0500, Spangler, Tim wrote:
The Muttrc_client files look similar to this (file name for this one is
Muttrc_batch):
set realname=Batch Reports
set from =donotre...@adpselect.com
set use_from=yes
Which version of Mutt are you using?
reading the system muttrc. Mutt will
always attempt to use either the muttrc specified with -F or the
user's personal muttrc (use -n -F /dev/null for no rc at all).
On Tue, Dec 04, 2012 at 06:41:28PM -0500, Spangler, Tim wrote:
The Muttrc_client files look similar to this (file name for this one is
Muttrc_batch):
set realname=Batch Reports
set from =donotre...@adpselect.com
set use_from=yes
I put the above in 'testrc' and then ran:
$ echo 'hello world'
I am experiencing an oddity when trying to set a Bcc in my .muttrc
A segment of my .muttrc is
--
send-hook . unmy_hdr From: Reply-To: Bcc:
send-hook ~t Address1 'my_hdr From: John Landamore j...@mcs.le.ac.uk '
send-hook ~t Address1 'my_hdr Reply-To: j...@mcs.le.ac.uk'
send-hook ~t Address1
On 13Jan2012 22:34, Christian Dysthe cdys...@gmail.com wrote:
| On 01/14/12 at 02:40pm, Cameron Simpson wrote:
| On 13Jan2012 17:20, Christian Dysthe cdys...@gmail.com wrote:
| | Is it possible to use the key combo Ctrl+Up (arrow up) in muttrc? I
| | have tried \Cup but it doesn't seem to work
Hi,
Is it possible to use the key combo Ctrl+Up (arrow up) in muttrc? I
have tried \Cup but it doesn't seem to work.
--
//Christian
On 13Jan2012 17:20, Christian Dysthe cdys...@gmail.com wrote:
| Is it possible to use the key combo Ctrl+Up (arrow up) in muttrc? I
| have tried \Cup but it doesn't seem to work.
Only if your terminal emulator passes it through to the app.
Get a plain shell and type:
od -c
Now type Ctrl-Up
On 01/14/12 at 02:40pm, Cameron Simpson wrote:
On 13Jan2012 17:20, Christian Dysthe cdys...@gmail.com wrote:
| Is it possible to use the key combo Ctrl+Up (arrow up) in muttrc? I
| have tried \Cup but it doesn't seem to work.
Only if your terminal emulator passes it through to the app
record==OUTBOX/$year/outbox-`date +%m-%y`'
fi
-
and in .muttrc I wrote:
source '~/bin/year.sh |'
but it is as if $year did not exist.
but if I write the script year.sh like
echo 'set record==OUTBOX/$year/outbox-`date +%m-%y`'
else
echo 'set record==OUTBOX/$year/outbox-`date +%m-%y`'
fi
-
The use of '' to enclose the string means bash won't expand any
variables inside. Try instead.
and in .muttrc I
-
and in .muttrc I wrote:
source '~/bin/year.sh |'
but it is as if $year did not exist.
but if I write the script year.sh like this:
-
#!/bin/bash
an=`date +%Y`
if [ ! -d ~/Mail/OUTBOX/$an ]
then
mkdir ~/Mail/OUTBOX/$an
echo
On 15Sep2011 10:41, Athanasius m...@miggy.org wrote:
| On Thu, Sep 15, 2011 at 09:49:14AM +0200, Gérard Robin wrote:
| in order to organize outbox I wrote this script: (year.sh)
| -
| #!/bin/bash
| year=`date +%Y`
| if [ ! -d
On Thu, Sep 15, 2011 at 10:41:43AM +0100, Athanasius wrote:
|Date: Thu, 15 Sep 2011 10:41:43 +0100
|From: Athanasius m...@miggy.org
|To: Gérard Robin g.rob...@free.fr
|Cc: mutt-users@mutt.org
|Subject: Re: use a variable in .muttrc
|User-Agent: Mutt/1.5.18 (2008-05-17)
|
|On Thu, Sep 15, 2011
On Thu, Sep 15, 2011 at 09:49:14AM +0200, Gérard Robin wrote:
Hello,
in order to organize outbox I wrote this script: (year.sh)
-
#!/bin/bash
year=`date +%Y`
if [ ! -d ~/Mail/OUTBOX/$year ]
then
mkdir
I have my editor setup as vim in my .muttrc and set to insert the cursor
on new mails and replies below the headers. But with this being vim 7
and spell check built in, I wanted to use that as well. So below are my
.muttrc entries for editor (the first commented out entry being the one
On 2009-10-23, Trey Sizemore t...@fastmail.fm wrote:
I have my editor setup as vim in my .muttrc and set to insert the cursor
on new mails and replies below the headers. But with this being vim 7
and spell check built in, I wanted to use that as well. So below are my
.muttrc entries
On Sun, 20 Sep 2009, Tamas K Papp wrote:
I read the manual but could not find anything similar.
info in mutt manual is hard to find unless you have already known that
command. ;-)
look for the 'source' command, eg
source ~/mymuttfile
--
regards,
On Sun, 20 Sep 2009 22:34:19 +0800, bill lam wrote:
On Sun, 20 Sep 2009, Tamas K Papp wrote:
I read the manual but could not find anything similar.
info in mutt manual is hard to find unless you have already known that
command. ;-)
look for the 'source' command, eg
source ~/mymuttfile
* On Sun, Sep 20, 2009 01:39PM + Tamas K Papp (tkp...@gmail.com) muttered:
I find that I am doing some repetitive stuff in my .muttrc that occurs in
multiple places (eg called by a folder hook, and also when mutt starts
up). I wonder if it would be possible to do something like
On Sun, 20 Sep 2009 17:42:06 +0200, Michael Tatge wrote:
* On Sun, Sep 20, 2009 01:39PM + Tamas K Papp (tkp...@gmail.com)
muttered:
I find that I am doing some repetitive stuff in my .muttrc that occurs
in multiple places (eg called by a folder hook, and also when mutt
starts up). I
* On Sun, Sep 20, 2009 05:42PM +0200 I (michael.ta...@web.de) muttered:
* On Sun, Sep 20, 2009 01:39PM + Tamas K Papp (tkp...@gmail.com) muttered:
I find that I am doing some repetitive stuff in my .muttrc that occurs in
multiple places (eg called by a folder hook, and also when mutt
Hi,
* Russell Urquhart wrote:
That's it!!!
GOOD EYE!!!
That wouldn't have happened if you used ~/.muttrc instead :)
SCNR,
Rocco
I get the hint! :)
Thanks,
Russ
On Thu, May 28, 2009 at 01:35:33PM +0200, Rocco Rutte wrote:
Hi,
* Russell Urquhart wrote:
That's it!!!
GOOD EYE!!!
That wouldn't have happened if you used ~/.muttrc instead :)
SCNR,
Rocco
, everything has worked so far. I have been able to use
the alias command to append proper entries to my Muttrc file. In the
past, as i had not explicitly stated where my Muttrc file was, looked at
and used the one in ~/Desktop/mutt-1.5.19/etc/Muttrc.
Did you install to ~/Desktop/mutt-1.5.19
Hi Rocco,
The path before the error message IS:
~/Desktop/mutt-1.5.19/etc/Muttrc
which IS where my Muttrc file is located.
I DID install to ~/Desktop/mutt-1.5.19. (I've been weighing the pros cna
cons of changing the location of the .muttrc, but so far everything has
worked.
Like i said
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
russurquhart1 Now when i go to write the alias, it asks if it should
russurquhart1 write to this directory and Muttrc, when i say yes, it
russurquhart1 says:
russurquhart1 No such file or directory (errno = 2)
russurquhart1 The path before
Hi,
* Steve Revilak wrote:
$ mutt -D | grep alias_file
alias_file=~/.muttrc
A minor unrelated nit: mutt 1.5.x for quite some has -Q:
mutt -Q alias_file
Rocco
Hi guys,
the sponse i get is:
alias_file=~Desktop/mutt-1.5.19/etc/Muttrc
Russ
On Wed, May 27, 2009 at 02:20:43PM +0200, Rocco Rutte wrote:
Hi,
* Russell Urquhart wrote:
When composing a new message, please don't simply reply to another. Or,
if you do and use mutt, set the edit_headers
On Wed, May 27, 2009 at 05:38:53PM -0500, Russell Urquhart wrote:
the sponse i get is:
alias_file=~Desktop/mutt-1.5.19/etc/Muttrc
That means the file mutt-1.5.19/etc/Muttrc in the home directory of the
user 'Desktop'. Unless you have a user named Desktop on your system,
and write access
That's it!!!
GOOD EYE!!!
I don't know how that got set that way, but when i put in the missing
'/', everything worked again!
Thanks,
Russ
Hi All,
It's been awhile, everything has worked so far. I have been able to use
the alias command to append proper entries to my Muttrc file. In the
past, as i had not explicitly stated where my Muttrc file was, looked at
and used the one in ~/Desktop/mutt-1.5.19/etc/Muttrc. This has worked
, is it more likely to access the server
directly through mutt, or is there anything to change in muttrc for this
feature?
I'm now running offlineimap to update my Maildirs - but if the things
above don't work locally, I think it'd be a better way to read mails
remotely?
Regards,
sigi.
On Mon, Feb 02, 2009 at 09:29:25AM -0500, Patrick Shanahan wrote:
* Paul E Condon pecon...@mesanetworks.net [02-02-09 01:03]:
There is a program mb2md that converts mbox format to maildir format.
I have found it difficult to use, but I have made it work. mb2md might
work very nicely if
* Paul E Condon pecon...@mesanetworks.net [02-02-09 01:03]:
There is a program mb2md that converts mbox format to maildir format.
I have found it difficult to use, but I have made it work. mb2md might
work very nicely if you give it a clean, well maintained mbox format
email directory, but
the mail around.
I have done something like this:
Consider this minimal .muttrc
,
| # Specify which type, use any of
| # Maildir, MH, mbox und MMDF
| set mbox_type=Maildir
|
| # Where to store, dir must exist!
| set my_archivedir=~/mutt_archive/$mbox_type
|
| # Create without confirmation
| set
On Mon, Feb 02, 2009 at 09:05:39PM +0100, sigi wrote:
Thanks a lot for all your replies! I've changed my mailboxes to
maildirs now - and am not messing around with two formats anymore. :)
There *are* advantages to both... Their performance characteristics
(and behavior, unfortunately) are
* Derek Martin on Monday, February 02, 2009 at 18:17:14 -0600
On Mon, Feb 02, 2009 at 09:05:39PM +0100, sigi wrote:
Thanks a lot for all your replies! I've changed my mailboxes to
maildirs now - and am not messing around with two formats anymore. :)
There *are* advantages to both... Their
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday, February 2 at 06:17 PM, quoth Derek Martin:
Another notable difference is in new mail notification and mailbox
switching. Mutt's maildir implementation is better at remembering
that you have new mail than its mbox implementation is...
Kyle Wheeler wrote:
On Monday, December 29 at 12:15 PM, quoth Michael Kjorling:
Untested, but should work:
`if [ ... ]; then echo 'source onefile.muttrc'; else echo 'source
otherfile.muttrc'; fi`
Then just fill in onefile.muttrc and otherfile.muttrc with
whichever settings are
On 28 Dec 2008 18:13 -0700, by b...@proulx.com (Bob Proulx):
set pager_index_lines=`test $(stty -a | sed -n '/rows/s/.*rows
\([0-9][0-9]*\);.*/\1/p') -gt 30 echo 8 || echo 0`
Untested, but should work:
`if [ ... ]; then echo 'source onefile.muttrc'; else echo 'source
otherfile.muttrc';
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday, December 29 at 12:15 PM, quoth Michael Kjorling:
On 28 Dec 2008 18:13 -0700, by b...@proulx.com (Bob Proulx):
set pager_index_lines=`test $(stty -a | sed -n '/rows/s/.*rows
\([0-9][0-9]*\);.*/\1/p') -gt 30 echo 8 || echo 0`
up with the following. This works. I can conditionally set
the value by using a shell escape.
set pager_index_lines=`test $(stty -a | sed -n '/rows/s/.*rows
\([0-9][0-9]*\);.*/\1/p') -gt 30 echo 8 || echo 0`
But is there a better way that I am missing? Is there a way in the
muttrc
The following color definition in my .muttrc does what I want it to, but
the 15k part of ~z15k is highlighted with a bright red background,
which I believe is indicating to me that the way I have it written isn't
quite correct.
I tried various quotings and spacings but couldn't get rid of the red
Also, in this bind .muttrc command, tag-subthread is red-highlighted,
I'm not sure why:
bind index -tag-subthread # Tag the current subthread.
All my other bind commands have the empty char to the right of the
command-name in red highlight, if I have a comment to the right
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday, December 12 at 03:06 PM, quoth rj:
The following color definition in my .muttrc does what I want it to, but
the 15k part of ~z15k is highlighted with a bright red background,
which I believe is indicating to me that the way I have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday, December 12 at 03:19 PM, quoth rj:
Also, in this bind .muttrc command, tag-subthread is red-highlighted,
I'm not sure why:
bind index -tag-subthread # Tag the current subthread.
Because I left it out of the list
On Fri 12/12/08 at 02:56 PM -0600,
Kyle Wheeler kyle-m...@memoryhole.net wrote:
If you can find any more bugs in the highlighting, please let me know
(though you can just send them straight to me; they don't have much to do
with mutt itself, and would, if anything, be more appropriate to the
I have the following in my muttrc, as the last line:
push tag-pattern~s
abrechnungentertag-prefix-condclear-flagNsave-messageenterend-condsync-mailbox
(I'm sending myself backups of a spreadsheet and want to immediately
archive these to a different mail folder, unsetting the new flag
* Marianne Promberger on Friday, December 05, 2008 at 12:00:47 +
I have the following in my muttrc, as the last line:
push tag-pattern~s
abrechnungentertag-prefix-condclear-flagNsave-messageenterend-condsync-mailbox
(I'm sending myself backups of a spreadsheet and want to immediately
On Friday, 05 December 2008, 13:24 (UTC+0100), Christian Ebert wrote:
* Marianne Promberger on Friday, December 05, 2008 at 12:00:47 +
I have the following in my muttrc, as the last line:
push tag-pattern~s
abrechnungentertag-prefix-condclear-flagNsave-messageenterend-condsync
On Sun, Oct 19, 2008 at 06:23:39PM -0500, Kyle Wheeler wrote:
On Sunday, October 19 at 08:37 PM, quoth tchomby:
Does anyone know how to bind ctrl+up in muttrc? I tried:
bind index \Cup command
but it doesn't work.
That's a key that is difficult to bind (the arrow keys usually
That's a key that is difficult to bind (the arrow keys usually are).
Here's how I'd do it in your case: first, within mutt, type:
:exec what-key
Then press control-up, and see what happens.
Thanks. Unfortunately my version of mutt is too old and doesn't have the
what-key
* tchomby on Tuesday, October 21, 2008 at 14:40:05 +0100
On Sun, Oct 19, 2008 at 06:23:39PM -0500, Kyle Wheeler wrote:
On Sunday, October 19 at 08:37 PM, quoth tchomby:
Does anyone know how to bind ctrl+up in muttrc? I tried:
bind index \Cup command
but it doesn't work.
That's a key
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday, October 21 at 04:26 PM, quoth Vladimir Marek:
That's a key that is difficult to bind (the arrow keys usually are).
Here's how I'd do it in your case: first, within mutt, type:
:exec what-key
Then press control-up, and see
Hmmm, my week-or-so mutt does not have this either ...
Yes it does, you're just looking for it in the wrong place. It's
defined in the generic menu, which means it's available everywhere
except in the pager and in the editor. See the manual for
proof:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday, October 21 at 06:37 PM, quoth Vladimir Marek:
Sheesh, doesn't *anybody* read the documentation anymore?
From time to time I do, but I saw type :exec what-key, so I did. I'm
sorry if it made you mad.
Heh, it didn't make me mad. I was
On Tue, Oct 21, 2008 at 11:41:14AM -0500, Kyle Wheeler wrote:
On Tuesday, October 21 at 06:37 PM, quoth Vladimir Marek:
Sheesh, doesn't *anybody* read the documentation anymore?
From time to time I do, but I saw type :exec what-key, so I did. I'm
sorry if it made you mad.
Heh, it
On Tue, Oct 21, 2008 at 04:27:33PM +0200, Christian Ebert wrote:
Mutt/1.5.17+20080114 (2008-01-14), I don't think so.
Perhaps you tried while being in the pager? AFAICS you have to be
in index or browser for what-key to work.
You're right, thanks. Unfortunately my keyboard gives weird
Does anyone know how to bind ctrl+up in muttrc? I tried:
bind index \Cup command
but it doesn't work.
Thanks
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday, October 19 at 08:37 PM, quoth tchomby:
Does anyone know how to bind ctrl+up in muttrc? I tried:
bind index \Cup command
but it doesn't work.
That's a key that is difficult to bind (the arrow keys usually are).
Here's how I'd do
Hello,
A week or two ago there was a thread about how to secure one's .muttrc
file if it has passwords sitting there in plaintext. A bit of tooling
around has resulted in the following tip for those mutters working on
OSX.
The goal is not to encrypt the .muttrc, but rather to cleanse
laptop.
Hi,
Provided you have shell access on your imap host, ssh can help you
eleminate all passwords from you muttrc:
1) generate a ssh key with a passphrase identical to you login password,
2) when entering your gnome or kde session your key should be decrypted,
(if using xdm then you need
On Wed, Jul 30, 2008 at 11:39:58PM +0100, Michele Martone wrote:
So there I see no legitimate way of breaking mutt's environment via
source or exec mutt keywords.
We're not talking about breaking anything. We're talking about
someone getting your passphrases to your encryption keys by reading
PROTECTED]:port]/
All easy, straightforward. No odds with certificates, as they are
handled by mutt directly. And all of the configuration (er.. except
fetchmail and isync AFAIK) is in plaintext muttrc and some gpg encrypted
helper muttrc chunk.
So Michael's solution :
source gpg -d
As far as I know (and `man environ`, `man popen`) is that :
- the environment can be only changed internally, via putenv(),
setenv() POSIX calls.
- the mutt backtick-based commands, like | terminated 'source's
does not perform any of the 'execve,execl,...' functions nor 'fork',
but
* Kyle Wheeler [EMAIL PROTECTED] [2008-07-28 16:52 -0500]:
On Monday, July 28 at 09:29 PM, quoth Michael Kjorling:
Something like this:
source gpg -d sensitivestuff.gpg |
No. That can't work (but we can salvage this idea). First, let me
explain why it can't work.
Think about it:
by setting :
smtp[s]://[user[:[EMAIL PROTECTED]:port]/
All easy, straightforward. No odds with certificates, as they are
handled by mutt directly. And all of the configuration (er.. except
fetchmail and isync AFAIK) is in plaintext muttrc and some gpg encrypted
helper muttrc chunk.
So
that only works in the muttrc, I tried putting
it there:
source echo set my_var |
But when I ran mutt, I got this:
Error in echo set my_var |, line 1: my_var: unknown variable
Error in /Users/kyle/.muttrc, line 3485: source: errors in echo
set my_var |
source: errors
of surprised you've missed my dozens of messages recommending
source with pipes, Kyle. :) It's super useful. My entire muttrc is
generated this way.
Thanks to the OP for asking the question, though. I hadn't thought of
using programmic sources to encrypt sensitive muttrc files. Embedding
On 29 Jul 2008 14:14 -0500, by [EMAIL PROTECTED] (David Champion):
I was going to suggest this approach as well, although I'd have proposed
openssl enc instead of gpg, I guess. Not much call for an asymmetric
cipher here, especially as the point is to store secret data on a
Off topic, but
of surprised you've missed my dozens of messages
recommending source with pipes, Kyle. :) It's super useful. My
entire muttrc is generated this way.
As am I... dang, that is pretty slick. Gotta love learning new tricks.
:)
(I still think source is a bad keyword to use for this
functionality, but I
On Mon, Jul 28, 2008 at 10:54:40PM -0500, Kyle Wheeler wrote:
On Monday, July 28 at 07:56 PM, quoth Derek Martin:
On Mon, Jul 28, 2008 at 12:58:00PM -0500, Kyle Wheeler wrote:
Nothing will be stored in plaintext on disk, your encryption is
guaranteed to be world-class, and best of all: it
that I guess would be workable would be a dm-crypt/LUKS
encrypted USB memory stick holding the sensitive part of the O.P.'s
muttrc, and source this from within ~/.muttrc. This USB memory stick
can be mounted read only under normal use and in fact should only need
to be mounted when mutt is actually
, is about a bunch of text files.
So lately I'm experimenting a more gentle approach, namely using a
file (stored in my home directory) encrypted with LUKS, containing a
directory containing the important data (a passwords-only .muttrc, a
.msmtprc, a .fetchmailrc, and an .isyncrc).
Setting some sudo stuff
passwords.
2. On my home machine, I use GPG to decrypt the password part of the
muttrc.
In both cases, my .mutt/muttrc is in plaintext, which sources the
output of either the GNOME Keyring script or the GPG script.
—Justin
ACCT3_PASS=yetanotherpassword
Then, once you've encrypted it, you can create a wrapper command for
mutt that will decrypt it and use it to put those passwords into
mutt's environment:
#!/bin/sh
pwds=`gpg --decrypt ~/.passwords`
eval $pwds
exec mutt $@
And finally, in your muttrc, you
On [EMAIL PROTECTED]:35, Justin Mazzola Paluska wrote:
...
2. On my home machine, I use GPG to decrypt the password part of the
muttrc.
uhm. could you give some examples for this solution ?
it seems to require no external workarounds at all, so it seems neat!
i experimented with
`gpg
that `gpg --decrypt` straight into
the muttrc.
but Gandalf's advice is appropriated - this is enough for now :)
On [EMAIL PROTECTED]:58, Kyle Wheeler wrote:
On Monday, July 28 at 05:12 PM, quoth Michele Martone:
I was wondering about some way to protect the passwords potentially
stored in the mutt
ehm. one more thing.
how would you deal with the MTA with the wrapper-based solution ?
i know only of :
using nbsmtp, in a dangerous way:
set sendmail=nbsmtp -P password ...
using ssmtp , in a dangerous way:
set sendmail=ssmtp -ap password ...
or using msmtp with 'password'
one could use
multi line shell expansion, and place that `gpg --decrypt` straight
into the muttrc.
Well, I thought about that. We can solve it, but there are drawbacks
(such as needing other software, or using a temporary file).
For example, if you use gpg-agent to store your passphrase
On 28 Jul 2008 21:53 +0100, by [EMAIL PROTECTED] (Michele Martone):
still I can't stand the need of a wrapper.. if only one could use
multi line shell expansion, and place that `gpg --decrypt` straight into
the muttrc.
I haven't tried it, but I can't get it out of my head... wouldn't
sourcing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday, July 28 at 10:13 PM, quoth Michele Martone:
ehm. one more thing.
how would you deal with the MTA with the wrapper-based solution ?
Personally? I'd compile mutt with smtp support and be done with it.
i know only of :
using nbsmtp, in a
] (Michele Martone):
...
source gpg -d sensitivestuff.gpg |
and sensitivestuff being just another muttrc snippet.
every time it needs the
value of $signature whereas (in the case of backtics) mutt runs it
only when reading the muttrc file.
With that in mind, re-examine the idea of using source. Does it make
sense to say use the output of this command whenever you need the
value of ... source?.
What you're
101 - 200 of 465 matches
Mail list logo