Re: Saving sent e-mails in INBOX for better threading?

2019-03-28 Thread Gregor Zattler
Hi Max,
* Max Görner  [2019-03-28; 13:24]:
> I wonder whether one could just configure mutt such as to save all send
> messages to Inbox again. Of course, that would clutter the inbox severely, but
>
>   a) I have a hook limiting the view to ~(~N|~F) already
>   b) the cluttering might be counteracted by Mutt's threading capabilities.
>
> Could some readers of this list please share their opinion/experiences with
> me? I am tempted to just try out, but I am also a bit afraid of bad
> consequences.

I do this since years and would not want handle email without.
It's so much easier to follow a thread if all messages are in the
same folder.

I send every email to me via Bcc: the incoming Bcc: copy is
handled by the same procmail scripts as all email and therefore
the email will go in the same folder(s).  Admittedly I get
duplicates this way, but I use procmail also as a duplicate
filter an anyway mutt is great in searching/deletung duplicates
too.


Ciao; Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: maildir-utils vs notmuch

2018-01-21 Thread Gregor Zattler
Hi Matthias,
* Matthias Apitz  [2018-01-19; 11:59]:
> I have around 4.2 GByte of mbox mail files:
>
> $ du -sh Mail
> 4,2G  Mail
> $ ls Mail | wc -l
> 1095
>
> can 'notmuch' index this and how big is the database after this?

notmuch does not work with mbox folders but with single message
per file storage as maildir and mh.


Ciao; Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



SOLVED (was: Re: how to escape complex pattern for folder-hook?)

2016-07-30 Thread Gregor Zattler
Hi Andre, mutt users,
* Andre Majorel <aym-t...@teaser.fr> [28. Jul. 2016]:
> On 2016-07-25 23:44 +0200, Gregor Zattler wrote:
> 
>> I get status emails in some mail folder which I occasionally
>> delete with delete-pattern (bound to "D") and this pattern: 
>> 
>> ~s"Cron <grfz@len> nice ionice -c 3 ~/bin/my-notmuch-new-and-tagging"   
>> ~b^"No new mail." !~b"^Processed"
>> 
>> 
>> I would like to do this via a folder-hook like this:
>> 
>> folder-hook +root 'push ~s"Cron <grfz@len> nice ionice -c 3 
>> ~/bin/my-notmuch-new-and-tagging"   ~b^"No new mail." !~b"^Processed"'
>> 
>> but I don't know how to quote or escape the second argument.  I
>> always get error messages "too many arguments".
>> 
>> Can anyone please explain what I'm doung wrong?
> 
> Ah, the joys of nested quoting. "push" takes only one argument

that's it!

> so you must find a way to make everything from « <delete » to
> « Processed" » look like one argument. You could try adding
> backslashes before every white space character therein.

I did so and had to also quote '"': 
folder-hook +root   'push ~s\"Cron\ <grfz@len>\ nice\ 
ionice\ -c\ 3\ ~/bin/my-notmuch-new-and-tagging\"\ ~b^"No\ new\ mail.\"\ 
!~b^Processed'

Thank you for your helpful explanation.
Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



how to escape complex pattern for folder-hook?

2016-07-25 Thread Gregor Zattler
Dear mutt users,

I get status emails in some mail folder which I occasionally
delete with delete-pattern (bound to "D") and this pattern: 

~s"Cron  nice ionice -c 3 ~/bin/my-notmuch-new-and-tagging"   ~b^"No 
new mail." !~b"^Processed"


I would like to do this via a folder-hook like this:

folder-hook +root 'push ~s"Cron  nice ionice -c 3 
~/bin/my-notmuch-new-and-tagging"   ~b^"No new mail." !~b"^Processed"'

but I don't know how to quote or escape the second argument.  I
always get error messages "too many arguments".


Can anyone please explain what I'm doung wrong?


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: mutt deletes temporary HTML file before I can view it

2016-06-22 Thread Gregor Zattler
Hi Xu Wang,
* Xu Wang  [22. Jun. 2016]:
> So I added & to detach. This is good in the sense
> that mutt now does not wait for the browser. However, by the time my
> browser opens, mutt has already deleted the .html temporary file
> because after adding & the command returned immediately?
> 
> Has any one come across this situation and has a similar desire?

Search for  mutt_bgrun

It's purpose is to start programms in background and keeps the
file till the background process exits.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: gpgme: ambiguous specification of secret key

2016-03-05 Thread Gregor Zattler
Hi Kevin, mutt users,
* Kevin J. McCarthy <ke...@8t8.us> [02. Mar. 2016]:
> On Wed, Mar 02, 2016 at 11:52:22PM +0100, Gregor Zattler wrote:
>> * Kevin J. McCarthy <ke...@8t8.us> [01. Mar. 2016]:
>>> Mutt is seeing more than one result when querying for secret keys
>>> matching that fingerprint.  When it gets the second result back from
>>> gpgme, it's aborting with that error.
>>> 
>>> What does `gpg2 --list-secret-keys 0xB55` show?
> 
> [output from two different keyrings]
> 
>> Urghs! The secret key is in public keyring!?
> 
> I believe that's normal for gpg2 output (although is certainly
> confusing).
> 
> What's probably causing the problem is the matches in both "pubring.gpg"
> and "import-zu-sortieren-keyring.gpg".  Are you intentionally using both
> keyrings?  If so, one solution would be to (carefully) remove your key
> from one of those keyrings.

Thanks a lot, I did as you said and now it works again.  


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: gpgme: ambiguous specification of secret key

2016-03-02 Thread Gregor Zattler
Hi Kevin,
* Kevin J. McCarthy <ke...@8t8.us> [01. Mar. 2016]:
> On Tue, Mar 01, 2016 at 11:45:50PM +0100, Gregor Zattler wrote:
>> Dear mutt users, I use mutt on debian stretch with gpgme and
>> recently gnupg2 was upgraded to version 2.1
>> 
>> Now when I want to send an signed and encrypted email mutt is
>> configured to
>> 
>> sign as: 0xB557830478789E7B98D7FEABF2EB825AD25307CA
>> 
>> and says so in the send menu.  But in the last line of the screen
>> it states:
>> 
>> ambiguous specification of secret key
>> `0xB557830478789E7B98D7FEABF2EB825AD25307CA'?
> 
> Mutt is seeing more than one result when querying for secret keys
> matching that fingerprint.  When it gets the second result back from
> gpgme, it's aborting with that error.
> 
> What does `gpg2 --list-secret-keys 0xB55` show?



$ gpg2 --list-secret-keys 0xB557830478789E7B98D7FEABF2EB825AD25307CA
gpg: keyserver option 'include-disabled' is unknown
gpg: keyserver option 'honor-http-proxy' is unknown
gpg: Oops: keyid_from_fingerprint: no pubkey
gpg: Oops: keyid_from_fingerprint: no pubkey
gpg: key 0x occurs more than once in the trustdb
gpg: Oops: keyid_from_fingerprint: no pubkey
gpg: key 0x occurs more than once in the trustdb
gpg: Oops: keyid_from_fingerprint: no pubkey
gpg: key 0x occurs more than once in the trustdb
gpg: Oops: keyid_from_fingerprint: no pubkey
gpg: key 0x occurs more than once in the trustdb
gpg: Oops: keyid_from_fingerprint: no pubkey
gpg: key 0x occurs more than once in the trustdb
Keyring: /home/grfz/.gnupg/pubring.gpg
------
sec   dsa1024/0xF2EB825AD25307CA 2001-09-29 [SC]
uid   [ultimate] Gregor Zattler (do not use g...@uni.de any 
more) <g...@gmx.de>
uid   [ultimate] Gregor Zattler <tex...@uni.de>
uid   [ultimate] Gregor Zattler <g...@uni.de>
uid   [ultimate] Gregor Zattler (do not use tex...@uni.de any 
more) <telegr...@gmx.net>
ssb   elg4096/0xAD8A61F5F877E5F0 2001-09-29 [E]

Keyring: /home/grfz/.gnupg/import-zu-sortieren-keyring.gpg
------
sec   dsa1024/0xF2EB825AD25307CA 2001-09-29 [SC]
uid       [ultimate] Gregor Zattler (do not use g...@uni.de any 
more) <g...@gmx.de>
uid   [ultimate] Gregor Zattler <tex...@uni.de>
uid   [ultimate] Gregor Zattler <g...@uni.de>
uid   [ultimate] Gregor Zattler (do not use tex...@uni.de any 
more) <telegr...@gmx.net>
ssb   elg4096/0xAD8A61F5F877E5F0 2001-09-29 [E]

Urghs! The secret key is in public keyring!?

> Also, are you seeing the problem with the classic interface?

I'll test this with this email.  The classic interface uses gpg
version 1.4.20.  It's not possible to set the signing key via
fingerprint, but when I give the short key id the long key id is
shown in the send menu.

If this email is signed, then there was no problem with the
classic interface.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


signature.asc
Description: PGP signature


gpgme: ambiguous specification of secret key

2016-03-01 Thread Gregor Zattler
Dear mutt users, I use mutt on debian stretch with gpgme and
recently gnupg2 was upgraded to version 2.1

Now when I want to send an signed and encrypted email mutt is
configured to

sign as: 0xB557830478789E7B98D7FEABF2EB825AD25307CA

and says so in the send menu.  But in the last line of the screen
it states:

ambiguous specification of secret key 
`0xB557830478789E7B98D7FEABF2EB825AD25307CA'?


The key specification via fingerprint is not ambigous.  I'm not
able to send the email, but instead mutt again leads me through
the key selection process only to show the same message again.


Any ideas how to handle this?


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



how to limit/filter on a fixed set of adresses (group)

2015-10-12 Thread Gregor Zattler
Dear mutt users,

I would wish to limit/search etc. emails which are addressed to a
group of 6 email addresses.  But %C matches if one of the
addresses in the emails header matches one of the groups email
addresses.  This does not check if all addresses match nor if
there are addresses which are not part of the group.

The limit/search should not be triggered if only one or some of
the addresses match but all of them and none else.  Is this
doable? if so, how?

If it's not doable, is it possible to match:

- if only addresses from the group match (none else)?

- if all addresses of the group match (and perhaps additional
  others)?



Thanks, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: header cache annoyance [Was: save in current folder?]

2015-09-19 Thread Gregor Zattler
Hi Ian, mutt users,
* Ian Zimmerman  [18. Sep. 2015]:
> On 2015-09-19 12:21 +1000, Cameron Simpson wrote:
> Yeah.  Another annoying thing about the header cache is the hashed file
> names.  It means when I delete/archive a folder (such as after
> unsubscribing from a list) I apparently have no way of knowing which
> file to delete from the header cache directory.  The best I can do is
> delete all of them and regenerate the cache on demand.

Force a write on the folder, then delete the folder, then sort
the cache files according to mtime, delete the newest one.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: Yet another 'duplicate' thread

2013-11-14 Thread Gregor Zattler
Hi Jonas,
* Jonas Petong jonas.pet...@web.de [13. Nov. 2013]:
 On 13.Nov 2013, 13:01, Nathan Stratton Treadway wrote:
 On Wed, Nov 13, 2013 at 18:50:44 +0100, Jonas Petong wrote:
 Cameron, you were right, the message id's are the same. From the matter of 
 fact
 that limiting my Inbox by ~= did not work led me to the conclusion that 
 their
 IDs have been different. Seems like you've teached me wrong so.
 
 What happens when you try to limit by ~= ?  
 
 (Note that as I understand this limit only works when the sort order is
  thread.  That is, with no limit applied you should be seeing the
  duplicate messages marked with an = character your mailbox index
  listing, and then those marked messages will be selected by the ~=
  filter.)
 
 solved... 

but then, why limit the view?  Delete the duplicate message
right away:

1) open mailfoder in question
2) switch to threaded view (per default the key binding is ot)
3) delete-pattern ~= (per default the key-binding is D~=RETURN
4) carefully examine if the right messages are flagged with a D
5) expunge the messages via sync-messages (default key-binding
   in index is $).

Done.

HTH, Gregor


mutt shows wrong key generation date in key selection menu

2013-03-10 Thread Gregor Zattler
Dear mutt users,

since a few days mutt shows wrong PGP key generation dates.  Does
anyone have the same problem?


If  setting pgp_entry_format  is set to

%4n %t%f %4l/0x%k %-4a %2c %u %[%F]

mutt shows the key generation date in iso
format as the last entry in each listted key.

I configured mutt to show the dates and present the keys sorted
according to date, in order to easily find the newest key.

But since a few days mutt shows wrong dates.  See attached screen
shot which clearly show key generation dates which predate public
key encryption.  You may download the shown keys from a key
server and check there dates...

This is strange since mutt extracts these infos from gpg
--with-colons --list-keys command which shows the dates as
seconds since the epoch.  I checked the output of the gpg
command: the dates seem fine (there is a date for every uid but
none of the dates is form 1954 or 1963).  Therefore I conclude
that mutt misinterprets the output of gpg.  But I don't have a
clue why?


Any ideas/help?

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: Highlight treads related to me

2013-02-18 Thread Gregor Zattler
Hi Marco,
* Marco net...@lavabit.com [18. Feb. 2013]:
 Since I use folding by default, I would like to highlight entire
 threads as well. I only see the highlighted messages when I unfold
 the thread.
 
 Is is possible to highlight each message in a thread - or
 alternatively highlight the first message in a thread - where a
 certain condition (e.g. ~p | ~b 'Marco|netuse') holds true?

Search for `~(' in the manual.  The condition would be 
something like:


~(~p | ~b 'Marco|netuse') 

This is untested.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: Sent-folder to display SEND TO address instead SEND FROM

2013-02-07 Thread Gregor Zattler
Hi Torsten,
* Torsten Flammiger nos...@netfg.net [07. Feb. 2013]:
 I use for my regular inbox:
  set index_format=%4C %Z [%-25.25n] [%d] (%?M?C%3M%4c?) %s
 
 and I try to use this for my Sent folder to display the TO address
 in my Sent folder instead of my FROM address.
 
  folder-hook Sent 'set index_format=%4C %Z [%-25.25t] [%d] \
(%?M?C%3M%4c?) %s'
 
 However, this does not work. As soon as I jump back from my
 Sent folder into any other folder, mutt starts to
 display the FROM value the same way as it displays the TO
 value in 'Sent' folder: there is now a prefix 'To ' in front of
 each %...n format string. I.e. it looks now like
 '... [To here comes the sender or recipient] ...'
 
 I don't even understand why there is a 'To ' in front of
 each message indicated by [%-25.25t] - but why does mutt
 now format every display index like the folder hook I applied
 to 'Sent' only? This is boring. I know that I am the recipient
 in all folders but SENT - and in SENT I am the only sender,
 don't need to remind me ;)
 
 Perhaps I did something wrong.

You'll have to teach mutt to switch back to your normal index
format, when switchin mailboxes:

folder-hook . 'set index_format=%4C %Z [%-25.25n] [%d] (%?M?C%3M%4c?) %s'





Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: Threads / View

2012-07-22 Thread Gregor Zattler
Hi Guy,
* Guy Gold guy1g...@gmail.com [22. Jul. 2012]:
 All seems to be working fine, as
 long as I keep my newest emails on the bottom of the list (and that's sort of
 counter-intuitive for me )  .

I have the same setup and it does not feel counter-intuitive too
me since I use this:

folder-hook . 'push last-entrycurrent-bottomnext-new' #when changing to 
a mail folder go to its newest or last entry 

This way when changing to a mail folder the cursor or location
bar stays at the very last OR the oldest new message.  I don't
have to scroll/jump to the end of the index.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: set different index_format for mails

2011-11-08 Thread Gregor Zattler
Hi stardiviner,
* stardiviner numbch...@gmail.com [08. Nov. 2011]:
 
 I try to set different *index_format* for maials. like this:
 
 message-hook ~g set index_format = ' A %H %C| +%N [%4Z] %-13L  %s % 
 %4c'  # signed
 message-hook ~g set index_format = ' B %H %C| %N [%4Z] %-13L  %s % 
 %4c'  # replied

The patterns are the same.

 This does not work. But folder-hook can set different *index_format*. like 
 this:
 
 folder-hook .   set index_format = ' %H %C| [%4Z] %-13L » %s  %  
 %4c'
 folder-hook =INBOX  set index_format = ' %H %C| %N [%4Z] %-13L  %s  % 
  %4c' # for macro gi
 
 Is there other way to set different *index_format* for mails ?

index_format describes the format of your index which shows
(normally) several emails at once while message-hook deals with
individual emails.  What should your index look like if there are
different emails for which you want to have different
index_formats?



Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: set different index_format for mails

2011-11-08 Thread Gregor Zattler
Hi stardiviner,
* stardiviner numbch...@gmail.com [08. Nov. 2011]:
 = On [2011-11-08 11:40:18 +0100]:
 * stardiviner numbch...@gmail.com [08. Nov. 2011]:
 Is there other way to set different *index_format* for mails ?
 
 index_format describes the format of your index which shows
 (normally) several emails at once while message-hook deals with
 individual emails.  What should your index look like if there are
 different emails for which you want to have different
 index_formats?
 
 So it is impossible to set different index_format for messages ?

It's not possible to change the index format for individual
emails in the index but you can colour different email entries
differently.

For instance with:
folder-hook . 'color index green default ~P'

emails from me are coloured green.  I do this with a folder-hook
because for some specific folders I do not want this setting and
override for these folders.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


signature.asc
Description: Digital signature


Re: Limit to full threads of interest?

2011-11-04 Thread Gregor Zattler
Hi Edward,
* Edward Morbius dredmorb...@gmail.com [04. Nov. 2011]:
 Is there a trick to filtering to /full threads/ which have a specific
 search term (or, say, mentions of yrs,trly) in them?

Search the manual for thread reveals:

Pattern modifier  Description
~(pattern)  messages in threads containing messages
  matching PATTERN, e.g. all threads
  containing messages from you: ~(~P))

Quite nice.

HTH, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: Help with multiple emails

2011-10-29 Thread Gregor Zattler
Hi Robert,
* Robert Dyer 42possibletr...@googlemail.com [28. Oct. 2011]:

   I have now successfully set up mutt as my email client, but have three
 issues remaining. They are listed below in order of increasing
 seriousness.
   1) I have successfully set up macros for limiting the number of emails
 I see, but would like to be able to have a default limiting expression
 for when I first start mutt.

how about (untested)
push limit~Aenter see all
in your muttrc?

   2) I have placed all my emails in one maildir structure but would like
 to back them up independently. I.e. 'cp'ing them only if the sender or
 receiver had a particular address. This would have to be
 scriptable.

Uhhh.  That's problematic since it's not easy to catch all cases.
I'd do this on the level of the MDA (procmail).  Therefore I'd
match on the Delivered-To: header.

   3) I have set up several configuration files and made a maildir
 structure but feel uncomfortable leaving my emails settings, e.g.
 passwords, and messages in plain text files that anyone could read. I
 have nothing to hide but feel this is insecure.

See other answer, I don't have experience with this.
Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: Help with multiple emails

2011-10-25 Thread Gregor Zattler
Hi 42possibletrash,
* 42possibletr...@googlemail.com 42possibletr...@googlemail.com [23. Oct. 
2011]:
 Thank you for your replies Gregor Zattler and Jostein Gogstad. I have
 followed Gregor's advice and moved all my emails into one folder,
 /data/mail. This is my current .muttrc:
 http://ompldr.org/vYXh6ZQ]http://ompldr.org/vYXh6ZQ. 

ATM I cannot access this website.  

 The current problem I am having is setting up mutt to my liking
 in terms of composing emails. This may not be a crucial
 problem, but I hope you don't mind helping me out all the
 same. On eudora and previous email clients I was able, albeit
 with some work, to get them to let me compose new emails with
 no 'From' information by default. This helped as it meant that
 I had to consider which account I should be sending emails from
 on an individual basis, hence less mistakes. However as you can
 probably see from my .muttrc I have been having trouble
 configuring this. Ideally I would like mutt to prompt for a
 from address every time I compose a new email, rather than
 having to use a macro which can properly function only once
 (subsequent attempts brings up a list of every alias
 entry). 

3.299. use_from

Type: boolean
Default: yes

When set, Mutt will generate the “From:” header field when
sending messages. If unset, no “From:” header field will be
generated unless the user explicitly sets one using the “my_hdr”
command.

So set use_from.  And:

3.74. from

Type: e-mail address
Default: (empty)

When set, this variable contains a default from address. It can
be overridden using “my_hdr” (including from a “send-hook”) and
$reverse_name. This variable is ignored if $use_from is unset.

This setting defaults to the contents of the environment variable
$EMAIL.

And explicitly set from to an empty string.

I don't have the time to test this, but I assume it gives you an
empty from header.  If you also set

3.57. edit_headers

Type: boolean
Default: no

This option allows you to edit the header of your outgoing
messages along with the body of your message.

Note that changes made to the References: and Date: headers are
ignored for interoperability reasons.

You are able to edit all email header within your editor.


 Also I note that currently my alternate addresses seem
 to have no function, as the index limiting macros have the
 addresses input as literal strings anyway. Any help would be
 appreciated :-) .

Still no access to your settings.  I described in my previous
email how to set alternate email addresses.  What happens if you
hit `l' (for limit) when you are seeing your folder index (the
emails in your folder) and give `~P' as the limiting pattern?

Should show all emails from all your email addresses.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: Help with multiple emails

2011-10-22 Thread Gregor Zattler
Hi 42possibletrash, mutt users,
* 42possibletr...@googlemail.com 42possibletr...@googlemail.com [22. Oct. 
2011]:
 My problem is the lack of obvious support for someone
 with several email addresses. I have four email accounts, for which
 mutt will work well with one at a time, but I have no method of
 swaping. 

Mutt supports various using several email addresses in a generic
way.  It is for instance not necessary to separate emails from
different accounts in different mail folders.

First you have to tell mutt about the email addresses you
use -- as opposed to every other email address in emails you
receive. Read 3.11 Alternative Addresses in the fine manual.

The minimum configuration is like this:
alternates ^m...@home.info$
alternates ^m...@work.com$
alternates ^roleacco...@organisation.org$

Then you may for instance limit the index of a mail folder to
only show emails which originate from you with the search pattern
~P or to only show mails which are from you or addressed to you.  

While in the one-email-folder-per-account organisation you for
instance will not find an email from a working colleague because
it's not in the work related mail folder since s/he emailed your
private address...  If you keep all your emails in one folder
then you can limit the index to only show emails from you to
em...@example.com ore from em...@example.com to you respectively
with ~L em...@example.com.

Then there are a few variables to control how mutt reacts in case
you reply to an email.  If for instance reverse_name is set
(default is not set) and the email you are replying to originates
or is addressed to one of your email addresses, mutt uses this
email address in replies, otherwise it will use your email
address as indicated by your OS.

Normally, if you reply to an email the resulting new
email is addressed to the address in the From: header field.  But
if mutt knows which addresses are yours it will arrange to
address the new email to the address in the To: header field if
the original email originated from you (if you for instance want
to ask a person why s/he did not respond to your earlier email).  

If you separate specific emails in specific mail folders then you
can trigger certain settings specific to this mail folders via
folder-hooks.

You may also specify settings for sending and replying via
send-hooks and reply-hooks and mix them.

And last not least you may bind macros to keys.  The macros may
set settings according to what you now are used to as account
settings.

For me a dynamic configuration which automatically chooses
certain settings based on the mail folder I'm viewing and/or the
email I'm replying to is much more comfortable than always having
to remember to press a key first.  But none the less I also have
macros like this:
macro generic \e8 enter-command source 
$HOME/.mutt/profiles/telegr...@gmx.net/settings\n be Gregor Zattler 
telegr...@gmx.net


which stitches all dynamic configuration off and sets things for
a specific role of mine.

 Please note that at this time I have not configured any
 program to receive my emails and am only concerned with moving my
 emails over to be viewed on mutt. My .muttrc:
 http://ompldr.org/vYXUxZQ. When researching this problem I came to
 the conclusion it should be possible to write a macro to swap from
 one email to another, e.g. F1-4. However I am not convinced this
 would be possible now as I am aware each email has it's own mailbox,
 e.g. '/Main', with it's own subdirectories, e.g. '/Inbox'. This
 complicates matters as the script used to find mailboxes is static
 and does not rely on mutts own internal vars, e.g. '$folder'. I am at
 a lose, and would desperately appreciate any help possible.
   I have looked for an answer online but failed. To clarify what I
 want is to be able to swap email accounts within one session of mutt,
 possibly using a set of macro bound keys. I was using mbox format
 within Eudora, but have decided to move to maildir, the conversion
 seems to work perfectly. I have also started this thread online, but
 unfortunately did not get a lot of help:
 http://forums.gentoo.org/viewtopic-t-898276.html. Once I have mutt
 viewing each account properly I will then configure it to receive and
 send emails. Thank you in advance to anyone who can help me. :-)

For this to achieve it's best to use folder-hooks.  you enter a
folder and your settings are set up accordingly.


Mutt is extremely flexible and customisable but you will have to
read the fine manual.

HTH, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: save the index ?

2011-10-04 Thread Gregor Zattler
Hi José,
* J J swft1...@yahoo.com [04. Oct. 2011]:
 It could be useful for me to process the message list as it
 appears in the index with flags information. Is there a way to
 save the message index buffer, or to generate it some how?

You could run in gnu screen and use its hardcopy feature.  You
would get only a hardcopy of the visible parts of the index
though.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: automatic switch mailbox for mairix Search

2011-08-03 Thread Gregor Zattler
Hi stardiviner,
* stardiviner numbch...@gmail.com [03. Aug. 2011]:
 I find that press c to switch mailbox to .Search ( This folder is for
 mairix Search result ) is not easy and cheap enough.
 I hope to set a bind or macro for this, when I type *,f* to:some...@gmail.com 
 then press Enter, and mutt will automatic switch to .Search mailbox.
 But it almost impossible to set a macro or key-bind for operation after
 pressing Enter.
 There is another way a little simple is set a macro like :
 macro index cs change-folder=.Searchenter switch to mairix Search 
 result
 But I do not think this is simple enough.
 So, 
 A WAY TO AUTOMATIC AFTER ENTER !!!


How about
macro index f8 sync-mailboxtoggle-writeshell-escapemairix 
\$@\enterchange-folder=findexentersorttdelete-pattern~=entersync-mailbox
macro pager f8 sync-mailboxtoggle-writeshell-escapemairix 
\$@\enterchange-folder=findexentersorttdelete-pattern~=entersync-mailbox
   
 

?

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: automatic switch mailbox for mairix Search

2011-08-03 Thread Gregor Zattler
Hi stardiviner,
* stardiviner numbch...@gmail.com [03. Aug. 2011]:
 - On [2011-08-03 13:26:11 +0200]:
  Gregor Zattler Said: 
 * stardiviner numbch...@gmail.com [03. Aug. 2011]:
 I find that press c to switch mailbox to .Search ( This folder is for
 mairix Search result ) is not easy and cheap enough.
 I hope to set a bind or macro for this, when I type *,f* 
 to:some...@gmail.com 
 then press Enter, and mutt will automatic switch to .Search mailbox.
 But it almost impossible to set a macro or key-bind for operation after
 pressing Enter.
 There is another way a little simple is set a macro like :
 macro index cs change-folder=.Searchenter switch to mairix Search 
 result
 But I do not think this is simple enough.
 So, 
 A WAY TO AUTOMATIC AFTER ENTER !!!
 
 
 How about
 macro index f8 sync-mailboxtoggle-writeshell-escapemairix 
 \$@\enterchange-folder=findexentersorttdelete-pattern~=entersync-mailbox
 macro pager f8 sync-mailboxtoggle-writeshell-escapemairix 
 \$@\enterchange-folder=findexentersorttdelete-pattern~=entersync-mailbox

  
 I Have tested yours. It can not input for mairix. ( this is not important: 
 Maildir
 will change into not-writable mode )

Your right, it does not work.  I really use this on a daily
basis:


macro index f8 
sync-mailboxtoggle-writeshell-escape~/bin/mymairixenterchange-folder=findexentersorttdelete-pattern~=entersync-mailbox

with 
~/bin/mymairix

as shown below.


HT really H this tima, gregor

~/bin/mymairix:

#!/bin/sh
#set -x

if test $# -eq 0 ; then 
echo -n   
 
read FIRST REST
else 
FIRST=$1
shift
REST=$@
fi


BIGNUM=500

if test ${FIRST} != -Ffmm ; then 
MATCH=${FIRST} ${REST}
else 
MATCH=${REST}
fi

test x${MATCH}x = xx  exit 0
test x${MATCH}x = x x  exit 0

if test x${FIRST}x != x-Ffmmx ; then
MATCHES=$(mairix -r ${MATCH} | wc -l)
test ${MATCHES} -gt ${BIGNUM}  { echo More than ${BIGNUM} matches.  
Force display with first Parameter -Ffmm. ; exit ; } 
test ${MATCHES} -eq 0  { echo No hits.  Search something else. ; exit ; 
} 
fi

mairix ${MATCH}


exit 0




Re: Problem with Fcc: saved mailbox

2010-12-28 Thread Gregor Zattler
Hi Jeffery,
* Jeffery Small j...@cjsa.com [27. Dec. 2010]:
 I have looked over the manual and I am still confused as to how to use
 send2-hook in this case.  When I edit my message and change the From:
 line while leaving the To: line alone, I do not understand why mutt is
 then failing to set the appropriate Fcc: box based upon the fcc-save-hook
 entries in my hook file.  Why does mutt care if the From: line is altered
 since the fcc-save-hook should be matching on the To: line?  In my
 hook file I have hundreds of fcc-save-hook patterns for different email
 addresses and I don't actually see how I would use send2-hook to address
 this problem because it seems like I would need a send2-hook entry for
 every pattern, and I don't know what command I would execute anyway
 in order to get the hook file reread.

My mistake.  The hooks don't get re-evaluated while editing the
email. 

 However, after looking through an updated version of the manual, I did
 notice the alternates command and gave that a try.  I set it to a list of
 all the addresses I am using and then tested out mutt doing the procedure I
 described above, and that seems to take care of the problem!  I'm still not
 clear why changing the From: line confuses mutt, but I guess, after editing
 the message, mutt no longer remembers who I am, so it no longer knew where
 to look for the appropriate config and hook files until I informed it of
 my identity with the alternates command.  Please feel free to clarify my
 understanding of this if I am wrong.

Sorry I have no clue, I tested with a simple setup but do not
encounter your problem.  Difficult to know without knowing your setup.  

But perhaps this helps:

  3.48. default_hook

   Type: string
   Default: “˜f %s !˜P | (˜P ˜C %s)”

   This variable controls how “message-hook”, “reply-hook”,
   “send-hook”, “send2-hook”, “save-hook”, and “fcc-hook” will be
   interpreted if they are specified with only a simple regexp,
   instead of a matching pattern. The hooks are expanded when
   they are declared, so a hook will be interpreted according to
   the value of this variable at the time the hook is declared.

   The default value matches if the message is either from a user
   matching the regular expression given, or if it is from you
   (if the from address matches “alternates”) and is to or cc'ed
   to a user matching the given regular expression.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: Problem with Fcc: saved mailbox

2010-12-26 Thread Gregor Zattler
Hi Jeffery, mutt users,
* Jeffery Small j...@cjsa.com [26. Dec. 2010]:
 When composing a normal message in mutt (1.5.21), after exiting the text
 editor and returning to the header/attachment page prior to sending,
 the Fcc: box is properly set based upon value in the hook file for the
 recipient.
 
 However, in some circumstances while editing the original message, I alter
 the From: line to an alternative address I use with a different domain
 name.  In this situation, when I exit the text editor, mutt apparently does
 not scan the hook file and simply sets Fcc: to the default value.

From the manual:

19. Change Settings Based Upon Message Recipients
[...]
   reply-hook [!]pattern command
   send-hook [!]pattern command
   send2-hook [!]pattern command
[...]
   send2-hook is matched every time a message is changed, either
   by editing it, or by using the compose menu to change its
   recipients or subject.  send2-hook is executed after
   send-hook, and can, e.g., be used to set parameters such as
   the $sendmail variable depending on the message's sender
   address.


-- use send2-hook.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: moving to Mutt from Gmail

2010-12-26 Thread Gregor Zattler
Hi Dale, mutt users,
* Dale A. Raby daler...@gmail.com [25. Dec. 2010]:
 Why not use Gmail's own spam filter to eliminate the spam?  It
 works pretty well and doesn't require you to use or maintain
 SpamAssassin.  Use Mutt with IMAP and the messages will stay on
 the practically limitless storage space of Gmail's server.

He'll then loos control over *his* emails...  On his computer he
has physical controll over them.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: moving to Mutt from Gmail

2010-12-26 Thread Gregor Zattler
Hi Scott,
* Scott Jones sanch...@gmail.com [25. Dec. 2010]:
 I have MUTT set up and working on my system. I don't use it though
 because 1) the inbox is stuffed with several THOUSAND message through
 which I need to sort and delete the spam and 2) I haven't yet figured
 out how to set up SpamAssassin to filter the junk out. My question:
 can I just copy the current inbox to a backup file and start fresh,
 after getting SA set up and trained, so that I can get all my mail
 from MUTT? 

Yes.  You could tag all messages T ~A and save ;s them in a backup
file (folder).  Then your inbox will be empty.

But if you want to use spamassassin effectively you will have to
constantly train it's filter.  Thus you should have a mechanism
to tell spammassassin if emails which were classified as spams
are actually ham (emails you want to receive) and vice versa.

This can quite easyly done with macros within mutt.


But first the spamassassin setup:

If you use mutt on a recent Linux system you could install
procmail and spamassassin/spamc.  I use spamassassins daemon mode
and filter emails like this in ~/.procmailrc:


   MAILDIR=$HOME/Mail
[other variables]
[other recipes]

   # let spamassassin work on a copy of the mail to determine its
   # exit value
   :0fwc
   *  256000
   |env LANGUAGE=de spamc  -x
   
   ## Small e says on error 
   :0 e   
   ${MAILDIR}/procmailrcerror/

This way, if something goes wrong with spamd/spamc, the email
gets saved in ${MAILDIR}/procmailrcerror/ (which a cron job
processes, but this can also done manual).

   :0
   * ^X-telegraph-Spam-Status:.*Yes, hits=
   ${MAILDIR}/spam/ 
[other recipes]
   :0
   ${MAILDIR}/inbox/



When your spamassassin setup works you can filter your backup of
emails trough it (depends on your spamassassin setup).



Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


set help=no (was: Re: Removing menu bar)

2010-12-15 Thread Gregor Zattler
Hi Jose,
* Jose M Vidal jmvidal...@gmail.com [15. Dec. 2010]:
 I am tying to find how to remove the top menu bar, as far as I aleady
 know all the commands and I really dontt need it.

set help=no

# Name: help
# Type: boolean
# Default: yes
# 
# 
# When set, help lines describing the bindings for the major
# functions provided by each menu are displayed on the first line
# of the screen.
# 
# Note: The binding will not be displayed correctly if the function
# is bound to a sequence rather than a single keystroke.  Also, the
# help line may not be updated if a binding is changed while Mutt
# is running.  Since this variable is primarily aimed at new users,
# neither of these should present a major problem.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: GPG - Mailing list encryption

2010-09-19 Thread Gregor Zattler
Hi mutt users,
* the.real.ka...@gmail.com the.real.ka...@gmail.com [19. Sep. 2010]:
 * christoph christ...@kluenter.de [Fri, Sep 17, 2010 at 10:53:55PM +0200]
 * Am Do, Sep 16, 2010 at 11:51:38 +0200 , schrieb the.real.ka...@gmail.com:
 Some mailing lists I'm on are using encryption too, in order to
 not have to re-encode the mails on the sever, the admins configured the
 mailing list in a way that you send an email to one address:
 secur...@foo.edu.fi for example, but the mail should be encrypted to all
 the users (which I know) on that list. 
 
 I didn't figure out a way to manage that kind of lists. How would
 you do it? I prefer to ask before I start writing my own wrapper for
 GPG, maybe I miss something easy.
 
 In ~/.gnupg/gpg.conf:
   group 0x=KEYID1
   group 0x=KEYID2
   group 0x=KEYID3
 
 in muttrc:
   crypt-hook secur...@foo.edu.fi 0x
 Hey,
 thx, looks very promising. Somehow it is not working, and I don't find
 much information about this crypto-hook. What version is it working
 with? 

It's standard mutt at least since v 1.5.20 but I don't know how
long this feature exists.

 Do you have more information about that hook, maybe a link to the
 documentation, which I couldn't find? So I could investigate why it is
 not running on my own.

This is the documentation from the mutt manual:
http://www.mutt.org/doc/devel/manual.html#crypt-hook

21.Choosing the Cryptographic Key of the Recipient

   Usage:

   crypt-hook pattern keyid

   When encrypting messages with PGP/GnuPG or OpenSSL, you may
   want to associate a certain key with a given e-mail address
   automatically, either because the recipient's public key can't
   be deduced from the destination address, or because, for some
   reasons, you need to override the key Mutt would normally
   use. The crypt-hook command provides a method by which you can
   specify the ID of the public key to be used when encrypting
   messages to a certain recipient.

   The meaning of keyid is to be taken broadly in this context:
   You can either put a numerical key ID here, an e-mail address,
   or even just a real name.


This is the documentation from the gpg man page:
http://www.gnupg.org/documentation/manuals/gnupg-devel/GPG-Key-related-Options.html

   --group name=value1
  Sets up a named group, which is similar to aliases
  in email pro‐ grams.  Any time the group name is a
  recipient (-r or --recipient), it will be expanded
  to the values specified. Multiple groups with the
  same name are automatically merged into a single
  group.

  The values are key IDs or fingerprints, but any key
  description is accepted. Note that a value with
  spaces in it will be treated as two different
  values. Note also there is only one level of expan‐
  sion --- you cannot make an group that points to
  another group.  When used from the command line, it
  may be necessary to quote the argument to this
  option to prevent the shell from treating it as
  multiple arguments.


So basically you tell mutt to call gpg with an group name as
recipient and gpg expands the group name to a list of recipients.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: How to re-procmail emails without modifying read/unread status

2010-08-06 Thread Gregor Zattler
Hi Yue,
* Yue Wu vano...@gmail.com [06. Aug. 2010]:
 On Thu, Aug 05, 2010 at 03:45:48PM +0100, Christian Ebert wrote:
 * Erik Christiansen on Friday, August 06, 2010 at 00:38:37 +1000
 On Thu, Aug 05, 2010 at 09:18:45PM +0800, Yue Wu wrote:
  I don't only want to redeliver my emails, but also not let all redelivered
  mails become into the unread status. I'm using maildir format, and tried 
  with
  the following script:
  
 for j in $(find $2 -type d | grep cur) ; do (
 cd $j ;
 for i in * ;
 do cat $i | formail -ds procmail ;
 done) ;
 done
  
  But after redeliverd, all emails are new, i.e. unread in mutt, that's not 
  what
  I want.
 
 Since they have been redelivered, it's hard to blame mutt for indicating
 that. Since you are running a script over each one anyway, you could
 perhaps remember the value of the Status: header in each email, and
 restore it after redelivery.
 
 While formail will munge headers for you, I haven't tried fighting mutt
 to set the Status: header. You might need to do that faking post-delivery.
 
 As Erik is using Maildir even that wouldn't help much as the
 messages would be delivered to Maildir/new/ .
 
 
 But if I want to re-orgnize my emails with a different rule, how do you do it
 in such case? Orgnizing all mails to be unread then mark the old ones to be
 read is very tedious if mails is many.

I think there are three possible solutions:

a) don't refile with procmail, refile with mutt instead.  The
   pattern matching capabilities of mutt are very powerful but
   naturally limited to a single folder if you want zu refile
   from several folders this would be a problem.  But this is
   also scriptable.

b) refile with procmail *and* tag emails as refiled, for instance
   using the X-Label: -Header. 
   - The unread them 
 - in mutt 
   - manually: does not scale when many mail folders are
 involved
   - via a folder-hook and pattern matching.  May be slow for
 large mail folders and happens even when no refiling
 - once via a shell script

c) don't refile them use searching strategies on your emails via
   mairix and don't bother with the location of the emails.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: Using Find, Exclude one mailboxes folder

2010-07-15 Thread Gregor Zattler
Hi rogerx, mutt-users,
* rog...@sdf.org rog...@sdf.org [14. Jul. 2010]:
 How can I exclude one folder from my mailbox list using a find
 pipe?
 
 muttrc:
 mailboxes `find ~/.maildir/ -type d -name cur -printf '%h '`
 
[...]
 To clarify, I only want to omit my /home/roger/.maildir/.roger folder
 and not my other folders such as /home/roger/.maildir/.rog...@isp.net
 folder(s).

How about 
mailboxes `find ~/.maildir/ -type d -name cur -printf '%h\n'|grep -v 
'/home/roger/.maildir/.roger$'|tr \n  `



Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: mutt 1.5.20 problem changing mailboxes

2010-07-06 Thread Gregor Zattler
Hi Robert,
* Robert Holtzman hol...@cox.net [06. Jul. 2010]:
 When I was running Ubuntu 8.04 mutt 1.5.17 ran flawlessly. Just upgraded
 to Ubuntu 10.04 which installs mutt 1.5.20 and now I'm having a problem
 changing mailboxes with the c command. When I try it keeps wanting to
 open INCOMING, my default mailbox for everything not routed by procmail.
 Using tab to try to cycle thru mailboxes doesn't work. 

I cycle trough the mailboxes with space/blank

 I have to close 
 mutt, reopen it and use the y command and search the list for the next 
 mailbox with new mail.   

You don't have to close mutt in order to get this list:
c^a^k\t\t
does it (change-folder, beginning-of-line, kill-to-end-of-line,
tab, tab).

 Any pointers would be greatly appreciated.

Your mutt package most porbably provides a file
/usr/share/doc/mutt/examples/Tin.rc
which enables lynx / tin like movement with cursor keys.  I use
it, it's great.



Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: unable to use send2-hook / group pattern for automatic

2007-11-07 Thread Gregor Zattler
Hi Kyle,

thank you very much for your help especially with respect to
infinite loops (I was traped in one).

* Kyle Wheeler [EMAIL PROTECTED] [05. Nov. 2007]:
 Don't trigger the hook except on messages that are not already 
 signed/encrypted:
 
  send2-hook '!~g !~G ^%C gpg-full' 'push pgp-menub'
 
 Then, of course, you want to disable things if you have other non-pgp 
 recipients, so you need another hook:
 
  send2-hook '(~G|~g) !~%C gpg-full' 'push pgp-menuf'
^ ^
The ~ in the second hooks pattern is a typo: ^ is what I
need.  I now have:

   send-hook . set crypt_autosign=no
   
   send-hook . set crypt_autoencrypt=no
   send-hook ^%Cgpg-full set crypt_autosign=yes
   send-hook ^%Cgpg-full set crypt_autoencrypt=yes
   
   send2-hook '!~g !~G ^%C gpg-full' 'push pgp-menub'
   send2-hook '(~G|~g) !^%C gpg-full' 'push pgp-menuc'

in my muttrc.  

 But that's relatively easy. The REALLY fancy stuff comes when you have 
 friends who are pine users and thus CANNOT use PGP-MIME and so require 
 *inline* pgp all the dang time. This is tough to do in mutt because 
 there's no pattern to match messages that use inline pgp signatures, 
 but it can be done. Any guesses how it's done? ;)
 
 (hint: think $my_* variables)

Puh! That's over my head.  My correspondents have to cope with my
PGP/MIME formatted emails or I'll have to tweak this with
per-user settings for now.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


unable to use send2-hook / group pattern for automatic encryption

2007-11-05 Thread Gregor Zattler
Dear Mutt users,

I configured a group gpg-full which matches all emailaddresses
to which a valid gpg key exists in my keyring.  I'm able for
instance to search for emails matching %Cgpg-full in the index
and the scroll bar jumps to the next message which is addressed
to somebody who's gpg key I trust.

I want to use this group feature to switch encryption on and off
depending on emailaddresses:

send2-hook . set crypt_autosign=no
send2-hook . set crypt_autoencrypt=no
send2-hook ^%Cgpg-full set crypt_autosign=yes
send2-hook ^%Cgpg-full set crypt_autoencrypt=yes

Accroding to the fine manual [...] patterns matching 'lists' of
addresses (notably c,C,p,P and t) match if there is at least one
match in the whole list. If you want to make sure that all
elements of that list match, you need to prefix your pattern with
^.  Therefore the pattern should only match emails which are
adressed only to fully trusted recipients.

The manual states: send2-hook is matched every time a
message is changed, either by editing it, or by using the compose
menu to change its recipients or subject.  Therefore the
encryption status should be evaluated every time I edit the email.

But this does not happen: When I compose a new email with this
configuration encryption is enabled when I enter a adress which
is a member of the group gpg-full at the prompt.  But it is *not*
disabled when I add the address of a non-member later.  It is
also not enabled when I address an email to a non-member and
later exchange this non-member with the address of a member.

Could someone please enlight me what's wrong with this
send2-hooks?

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Re: mutt sucks...

2002-10-19 Thread Gregor Zattler
Hi Jacek,
* Jacek Wojaczynski [EMAIL PROTECTED] [19. Okt. 2002]:
[...]
 3. In The Bat! I had a filter which colored all replies to my mails.
 It based on References: header and my unique Message-ID.
 Possible in mutt?

color index default color7 '~h 
^references:[[:blank:]].*pit.id-43118.user.dfncis.de$'
 ^^^
this colors all messages which are direct replies to mine.
pit.id-43118.user.dfncis.de is the local part of my
message-ids. 

 4. Folders - it really sucks! I even cannot see how many read/unread
 messages there are in a particular folder if I don't enter it...

notwendig way...
 
 5. Using up/down arrows I scroll through messages (index view).
 Why it skips whole page? I'd like it to work same as in slrn.

try set menu_scroll=yes in .muttrc.

 6. What's the default shortcut for Mark all tagged messages as
 read?

when the messages are already tagged, it's thre key strokes:
;wo

or you write a macro.

 7. C - copies messages to a different folder. What key moves them?

s


 9. Au! There is no address book built in. What would you suggest?
 Abook or sth else?

lbdb is great.
 

 12. How do I create multiple identities? Different from, attribute
 line and language settings for different mailing lists.
 Possible? How? Folder-hooks or only send-hooks?

read http://www.acoustics.hut.fi/~mara/mutt/profiles.html

 
 13. How can I move old mail to a different folders? Automatically of
 course. For example for this list? How?

you could rewrite the following:

## Move messages to trash rather than delete, unless
## we're in the trash folder.
folder-hook .   'macro index d enter-commandset 
confirmappend=noentersave-message=trashenterenter-commandset 
confirmappend=yesenter'
folder-hook .   'macro pager d enter-commandset 
confirmappend=noentersave-message=trashenterenter-commandset 
confirmappend=yesenter'
folder-hook trash   'macro index d delete-message'
folder-hook trash   'macro pager d delete-message'
## Delete old, non-flagged, non-new mail
folder-hook trash   'push delete-pattern~r10d!(~F|~N)enter'



Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



which 7 other common list headers? (was: Re: .procmailrc)

2002-10-06 Thread Gregor Zattler

Hi Thomas,
* Thomas Hurst [EMAIL PROTECTED] [02. Okt. 2002]:
[mailing list filter]
 Nice generalised solution:
 
 :0:
 * ^Sender: owner-\/[^@]+
 lists/`echo $MATCH | sed -e 's/[\/]/_/g'`
 
 Repeat for the 7 other common mailing list headers, and you're all
 done, assuming you don't want to get more fancy with determining the
 target mailspool.

Hmm, i have: 

Sender

and:

X-Mailing-List
X-BeenThere
Delivered-To
X-Loop

which 7 other ml headers did you mean?



Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



Re: a folder-hook question

2002-10-01 Thread Gregor Zattler


Hi Isaac,
* Isaac Claymore [EMAIL PROTECTED] [27. Sep. 2002]:
 It seems that folder-hook is executed whenever a folder is entered,
 but is there a 'leave-folder-hook'? 

Notwendig, but there is hope:

 I need to reset something back to normal upon leaving a folder,
 after setting it to folder-specific value in a folder-hook.

folder-hooks are evaluated in the order they appear in the muttrc.
You can use more than only one folder-hook when changing folders.
So you *first* declare a default hook which matches every folder
and produces your normal behavior:

   #by default sort messages according their date of arrival:
   folder-hook . set sort=date-received

and then you declare the specific behavior you want in case you
enter this specific folder:

   # in folder with copys of the emails i wrote sort according date
   folder-hook . set pgp_verify_sig=yes
   # in folders which are in my mailing list directory sort as threads:
   folder-hook +~ml/ set sort=threads

So every time you enter a new folder first of all the default
behavior is established and the specific behaviro only in the
specified case(s).

Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



Re: mutt and gnupg setup

2002-08-28 Thread Gregor Zattler

Hi Markus,
* Markus Nißl [EMAIL PROTECTED] [27. Aug. 2002]:
 On Sun, Aug 25, 2002 at 06:21:52PM +0200, Gregor Zattler wrote:
   Well, do I have to use that gpg-2comp in order to use gpg
   with mutt?
  
  You need this wrapper script if and only if you want to
  communicate signed+encrypted with a person who uses pgp2.6.x
  
 So, in order to be able to communicate with anybody who uses any
 version of pgp or gnupg, I have to use that script.

No.

pgp version 2 (=pgp2) uses RSA keys in key format version 3. 
pgp2 is neither able to use other public key cryptography algorithms
nor to use newer key formats.

gpg is able to handle old (=pgp2) RSA format 3 keys 
-- to a certain degree:
it is able to encrypt a message to such a key
it is able to decrypt a message for such a key
it is able to sign a message to such a key
it is able to to verify a signature of a message for such a key
it is able to decrypt and then verify the signature of an
  signed+encrypted message

but it is *not* able to sign+encrypt a message to such a key in a
way which pgp2 can operate succesfully on.

This is where gpg-2comp comes in.  You use it solely to
sign a message with your old-style key and encrypt this signed
message to an old-style key for a pgp2 user.


In other cases you do not need gpg-2comp.

  Note that you can not communicate with this setup with a user
  who does not use RSA v3 keys...

and if you do not use one.


My advise: Take this gpg.rc *without* the gpg-2comp lines and use
it happily until you run into problems.  Perhaps you don't
because you do not communicate with persons who use old keys.


Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



Re: mutt and gnupg setup

2002-08-25 Thread Gregor Zattler

Hi Markus,
* Markus Nißl [EMAIL PROTECTED] [25. Aug. 2002]:
 Hi mutt experts!
 
 I have recently installed gnupg-1.0.7 and I'd like to use it with
 mutt. But I can't use gnupg with mutt out of the box: the muttrc
 has to modified to tell mutt explicitely the different commands
 to sign and encrypt, etc. Where can I find such a setup for
 gnupg?
 
 I know, mutt-1.4 comes along with a gpg.rc in its contrib
 directory, but at the beginning of the file, it says:
 
 # This version uses gpg-2comp from
 #   http://muppet.faveve.uni-stuttgart.de/~gero/gpg-2comp.tar.gz
 
 Well, do I have to use that gpg-2comp in order to use gpg with
 mutt?

You need this wrapper script if and only if you want to
communicate signed+encrypted with a person who uses pgp2.6.x 

If so you must remove the comment hashes '#' on lines which use
gpg-2comp and set hashes '#' on the correspioning lines without
gpg-2comp usage.

Note that you can not communicate with this setup with a user who
does not use RSA v3 keys...

But you can switch between different settings via macros.


Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



how to view -hook list was not: hook-list menu but: how to view -hook list -- show-hook-list

2002-08-16 Thread Gregor Zattler

Hi Sven,
* Sven Guckes [EMAIL PROTECTED] [16. Aug. 2002]:
 * Vikram Goyal [EMAIL PROTECTED] [2002-08-16 12:34]:

 Vikram - can you answer these questions for me?

I can -- i was the original poster.


  of-course not but an added functionality.
[...]
 i suppose there you would use it to list the rules,
 show sublists by pattern, add and remove entries,
 and rearrange the order of them, and then maybe
 write out the current list to some file.
[...] 
 then again, should there be a menu foer each kind of hook?
 what about mixed hook commands?

You are the one who mentioned menus with editing functionality. I
would be perfectly satisfied if i could see a dump of hooks, so i
can debug my configuration. That's all.

I don't even think such a menu would be very useful: Hooks are
for automated mail handling, so there is notwendig much sense in
setting, moving, editing them ... exept ... if you could save the
hook-lists and load them on startup.


Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



how to view -hook list

2002-08-12 Thread Gregor Zattler

Hi,

I can see the current value of an variable with
set ?variable

but is there a possibility to list currently active hooks?


Ciao, Gregor
-- 
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D3F204445524F42snlbxq'|dc



Re: how to fcc my gpg/pgp-mails UNencrypted?

2002-07-24 Thread Gregor Zattler


Hi Viktor,
* Viktor Rosenfeld [EMAIL PROTECTED] [24. Jul. 2002]:
 David T-G wrote:
  ...and then Phil Gregory said...
  % encrypt-to your key ID
  % 
  % to your ~/.gnupg/options file.  This leaves them encrypted on disk but
  % still allows you to go back and look at them.
  
  ... and allows anyone who knows your keyid to know that the message has
  been encrypted to your key as well, thereby making the message very
  not-anonymous.  Just so you're aware...
 
 Hmm, good point.  Then again, I almost always sign my messages anyway,
 so the key id is there in any case.  But the idea with a secred,
 unpublished key is nice.

Pgp/gpg first sign then encrypt. So only the repicient can check
the sig (after encrypting the message).

With gnupg you may even use

   --throw-keyid
 Do not put the keyid into encrypted packets.
 This option hides the receiver of the message and
 is a countermeasure against traffic analysis.  It
 may slow down the decryption process because all
 avail- able secret keys are tried.



So it is possible to send messages encrypted, signed and anonymously.

Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



Re: mutt + pgp + many repicients

2002-07-22 Thread Gregor Zattler

Hi David,
* David T-G [EMAIL PROTECTED] [22. Jul. 2002]:
 Please don't just reply to any random message to start a new thread on
 the mailing list.  

Sorry, i forgot to delete the reply-to: -header.

[...]
 % every email address there is a pgp-hook. But mutt continues bothering
 % me n times with questions 
 % Use keyID = 0x12345678 for [EMAIL PROTECTED]? ([yes]/no):
 % I hit return and it shows me all UIDs belonging to this key, even
 % if there is only one. I have to hit return.
[...]
 There's a patch by Dale Woolridge which enhances the pgp-hook
 functionality and helps a lot with this problem.  You can pick 
 it up from the archives, from his page, or from my cocktail page at
 
   http://mutt.justpickone.org/mutt-build-cocktail/

Thanx a bundle, i will have a look.


Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



Re: mailboxes w/ human readable file sizes

2002-07-19 Thread Gregor Zattler

Hi Jens,
* Jens Porup [EMAIL PROTECTED] [19. Jul. 2002]:
 
 I'd like to configure my mutt so that when I change mailboxes,
 it gives me the mailbox sizes in human readable format, like
 the -h flag in ls, for example. Size in bytes isn't particularly
 meaningful.
 
 Any suggestions? Is this possible in mutt?

I have:
set index_format=%4C|%Z|%-2.2[%a]-%[%d.%m.%y-%H:%M]|%-20.20n|%4c|%s
  ^^^

in my .muttrc. By default mutt is configured with a %4l which
gives the number of lines.

Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



emacs-goodies (was: Re: Emacs and line wrapping)

2002-05-09 Thread Gregor Zattler

Hi Jussi,
* Jussi Ekholm [EMAIL PROTECTED] [09. Mai. 2002]:
 Rob Reid [EMAIL PROTECTED] wrote:
 
  I recommend filladapt.
 
 Some other person recommended me filladapt, too. But the fact is, that
 the GNU Emacs that comes along with my GNU/Linux distribution, doesn't
 have that package by default. And I've, of course, forgot where to get
 those elisip files... :-P

In Debian Gnu/Linux the packages name is emacs-goodies-el

Ciao, Gregor
-- 
Kommunikation benoetigt gemeinsame /\ASCII Ribbon Campaign   
Standards -- unformatierter Text  \ /Respect for open standards
in E-Mails, als Anhaenge nur offene X No HTML/RTF in email 
Standards, keine Micro$oft-Dateien / \No M$ Word docs in email



SOLVED (was: Re: lbdb-fetchaddr for outgoing mail)

2002-04-26 Thread Gregor Zattler

Hi David,
* David T-G [EMAIL PROTECTED] [Mit 24 Apr 2002 07:47:36 GMT]:
 Gregor --
[ ... ]
 % set sendmail=tee (lbdb-fetchaddr -a)|/usr/lib/sendmail -oem -oi
 % in muttrc. But when I send mail, there is an exec error 127.
 % 
 % On the command line 
 % cat email | tee (lbdb-fetchaddr -a)|/usr/lib/sendmail -oem -o -- addr@domain
 % works fine.
 
 What shell are you using?  What shell is mutt using?  
[ ... ] 
 I suspect that you're using bash for your interactive shell but that mutt
 is using sh (perhaps bash in Bourne mode) for its shell, and the () is
 not a Bourne thing.
 

You were right. In muttrc I now
set sendmail=~/bin/mysendmail
and ~/bin/mysendmail executes via bash:

#!/bin/bash
tee (lbdb-fetchaddr -a)|/usr/lib/sendmail -oem -oi $@


This works fine.

Thanks, Gregor
-- 
Kommunikation benoetigt gemeinsame /\ASCII Ribbon Campaign   
Standards -- unformatierter Text  \ /Respect for open standards
in E-Mails, als Anhaenge nur offene X No HTML/RTF in email 
Standards, keine Micro$oft-Dateien / \No M$ Word docs in email



lbdb-fetchaddr for outgoing mail

2002-04-24 Thread Gregor Zattler

Hi everybody,

i want ldbd-fetchaddr to collect email addresses from outgoung
email. Therefore I 
set sendmail=tee (lbdb-fetchaddr -a)|/usr/lib/sendmail -oem -oi
in muttrc. But when I send mail, there is an exec error 127.

On the command line 
cat email | tee (lbdb-fetchaddr -a)|/usr/lib/sendmail -oem -o -- addr@domain
works fine.

Any ideas?


Ciao, Gregor
-- 
Kommunikation benoetigt gemeinsame /\ASCII Ribbon Campaign   
Standards -- unformatierter Text  \ /Respect for open standards
in E-Mails, als Anhaenge nur offene X No HTML/RTF in email 
Standards, keine Micro$oft-Dateien / \No M$ Word docs in email



Re: Announcing an Emacs mode for mutt configuration files

2002-04-19 Thread Gregor Zattler

Hi Dave,
* Dave Pearson [EMAIL PROTECTED] [Fre 19 Apr 2002 10:37:54 GMT]:
[...]
 I use:
 
 ,
 | davep@hagbard:~$ head -7 /usr/local/share/emacs/site-lisp/muttrc-mode.el
 | ;;; muttrc-mode.el --- Major mode to edit muttrc under Emacs
 | 
 | ;;; Copyright (C) 2000 Laurent Pelecq
 | ;;;
 | ;;; Author: Laurent Pelecq [EMAIL PROTECTED]
 | ;;;
 | ;;; $Id: muttrc-mode.el,v 2.12 2000/11/29 01:18:21 laurent Exp $
 `
 
 but, annoyingly, I can't remember where I got it from and I can't locate it
 in the ELL or via Google.

Could you please post it?


Ciao, Gregor
-- 
Kommunikation benoetigt gemeinsame /\ASCII Ribbon Campaign   
Standards -- unformatierter Text  \ /Respect for open standards
in E-Mails, als Anhaenge nur offene X No HTML/RTF in email 
Standards, keine Micro$oft-Dateien / \No M$ Word docs in email



Re: setting 'From' header

2002-04-19 Thread Gregor Zattler

Hi Michael et al.,
* Michael Elkins [EMAIL PROTECTED] [Fre 19 Apr 2002 11:06:27 GMT]:
 you need to use
   ./configure --enable-exact-address
 if you want this functionality.  be aware it will use more memory this way
 because mutt has to store the string it both the usable internal form, and
 the display form.

The documentation file INSTALL states:

 --enable-exact-address
 By default, Mutt will rewrite all addresses in the form
 Personal Name [EMAIL PROTECTED]
 regardless of the input.  By enabling this option, Mutt will write
 addresses in the same form they are parsed.  NOTE: this requires
 significantly more memory.
 
 WARNING: DO NOT USE THIS OPTION, IT IS BROKEN.

Do you think it isn't broken?



Ciao, Gregor
-- 
Kommunikation benoetigt gemeinsame /\ASCII Ribbon Campaign   
Standards -- unformatierter Text  \ /Respect for open standards
in E-Mails, als Anhaenge nur offene X No HTML/RTF in email 
Standards, keine Micro$oft-Dateien / \No M$ Word docs in email



Re: Viewing only mailboxes with 'N'

2002-03-06 Thread Gregor Zattler

Hi darren,
* darren chamberlain [EMAIL PROTECTED] [Mit 06 Mär 2002 10:01:56 GMT]:
 Quoting David Collantes [EMAIL PROTECTED] [Mar 06, 2002 09:52]:
  I have a very long list of mailboxes. When I get into the
  mailbox list, I can see at the top I have 3 mailboxes with new
  messages, but I have to scroll down looking for those 3 one's.
  If there a way to mask and show only the mailboxes with new
  messages in it?
 
 My (imperfect) solution is to reverse sort by modification time
 (Oz in the file browser).  Since I keep mutt open all day, and
 change mailboxes pretty often, it offers a simple way to sort
 folders.  All the ones with new mail (usually) end up on or near
 the top.

If you start your mutt more often another solution could be to to
only mailboxes mailboxes which are recently modified.

My mailboxes command in muttrc is:

mailboxes `find $HOME/.procmail/backup $HOME/.procmail/duplicates $MAIL 
$HOME/Mail/root $HOME/Mail/spam $HOME/Mail/~ml/* -mtime -9|tr \n  `

so mutt sees only mailboxes which are modified in the last 9
days.  Mailinglists are in $HOME/Mail/~ml/

Ciao, Gregor



OT: grepm and mbox indexing (was: Re: searching across mailboxes)

2002-02-26 Thread Gregor Zattler

Hi,
* Knute [EMAIL PROTECTED] [Fre 22 Feb 2002 13:00:00 GMT]:
 On Fri, 22 Feb 2002, Thomas Baker wrote:
  On Fri, 22 Feb 2002, Adam Byrtek wrote:
   On Fri, Feb 22, 2002 at 09:43:42AM -0800, Carl B. Constantine wrote:
Is there a way in mutt to search across all my local mailboxes for a
message that is from a specific person and then display the list of
matches so I can go through and look for the message I want?
   
   You should try grepm at
   http://www.barsnick.net/sw/grepm.html
 
[...]
 grepm is a wrapper for grepmail.
 It works well, but grepm only searches one mailbox for matches.

No. grepm hands all options to grepmail and therefor is abel to
scan multiple mboxes or whole directory structures:

 Grepmail -- according to the manpage has the option for recursion
 though.
 
 When I've used grepm,  it works great, and is easier to find matches
 than searching thru the index to find it.

Yes, ist's great. Does anybody knows a mbox full text indexing
and searching package?


Ciao, Gregor



Re: Good vim configuration?

2001-12-31 Thread Gregor Zattler

Hi Thomas,
* Thomas Hurst [EMAIL PROTECTED] [Die 25 Dez 2001 12:14:19 GMT]:

[ ... reformating paragraphs in replys ... ]
 I use par(1), http://www.cs.berkeley.edu/~amc/Par/

How (with which parameters) do you use it? I saw it a few months ago
but got confused with parameters...

Ciao, Gregor



Re: how to display messages on the last line

2001-12-18 Thread Gregor Zattler

Hi René,
hi mutt users,
* René Clerc [EMAIL PROTECTED] [Son 16 Dez 2001 23:49:44 GMT]:
 * Gregor Zattler [EMAIL PROTECTED] [16-12-2001 22:30]:
 
 | Hi mutt users,
 | 
 | is there a way to display a message on the last line (below the status
 | bar if status_on_top=no)? 
 | 
 | I would like to display a message when a special hook gets triggered.
 
 Please give some more information what it is exactly what you want. I,
 for instance, have no idea whatsoever.

Sorry for my english...

I use different personalities or profiles: different email
adresses, pgp-keys, attributions and the like. To switch these i
source different (pro)files. I switch using macros, message hooks folder
hooks and send hooks.

Either way when sourcing a profile i would like to display a message
which informs me which omne is the current personality. I. e.:

Beeing John User

or: formal attribution

I would like to see this on the last line of the screen where mutt
displays its messages.


Another subcriber of this list sent me a mutt-echo-lm.patch written
by Lorenzo Martignoni. I didn't try it, but soon i will.

Ciao, Gregor



process substitution (was: Re: Searching big gobs of e-mail)

2001-12-18 Thread Gregor Zattler

Hi Peter,
hi mutt users,
* Peter Poeml [EMAIL PROTECTED] [Mon 10 Dez 2001 20:04:17 GMT]:
[...]
 As mentioned before, grepmail can jump in because mutt works on single
 mail boxes. Now I was curious and figured out the command for your real
 example:
 
 mutt -f (grepmail -huqd between 2001-09-01 and 2001-10-01 \
   ^From.*frob@(foo|bar).net mbox1 mbox2 mbox3)

This seems cool but when i gave it a (much more simppler) try:

mutt -f (grepmail -h cco@ *)

i see mutt reading messages from /dev/fd/63, a few messages from
grepmaiol and then: 

the mutt index which first looks fine but when I hit enter to read a
message the pager was empty...

also 

ae (ls)
emacs (ls)
jed (ls)

did not work.


Any hints?


Ciao, Gregor

P.S.: The problem the thread was involved with (searching on multiple
mailboxes) can be easily solved with a shell script called grepm. It
simply redirects grepmails output in a temorary file, starts mutt with
this and deletes the temorary file when mutt is exited.








how to display messages on the last line

2001-12-16 Thread Gregor Zattler

Hi mutt users,

is there a way to display a message on the last line (below the status
bar if status_on_top=no)? 

I would like to display a message when a special hook gets triggered.

Ciao, gregor




Which grepmail little mutt front-end ? (was: Re: [ Update ] List of 3rd party apps for Mutt)

2001-11-26 Thread Gregor Zattler

Hi Cliff,
hi mutt users, 

Cliff mentioned a frontend to grepmail:

* Cliff Sarginson [EMAIL PROTECTED] [Fre., 23. Nov. 2001; 17:36:09 +0100]:
[...]
 But I see no mention of grepmail, and it's little mutt front-end
 friend.

I'm interested in such thing. Where can i get this? 


Ciao, gregor



Sorting by date-received (was: Removing date)

2001-03-13 Thread Gregor Zattler

Hi, 

* Irwan Hadi [EMAIL PROTECTED] [Mon 12 Mär 2001 01:37:25 GMT]:

 I want to know how do I strip the Date: line from the header of
 messages coming to me using procmail, and after that procmail should
 generate a new Date: based on the date at my computer.

 I want to do this, because there are some users whose date on their
 computer is not correct, so I will find some difficulties in sorting
 the messages.

Try
set sort=date-received
in your .muttrc  instead. This will sort according your computers clock.

Ciao, Gregor



Re: IMAP blues

2000-12-26 Thread Gregor Zattler

Hi there, 

* Mikko Hänninen [EMAIL PROTECTED] [Wed 08 Nov 2000 18:27:36 GMT]:
[Header rewriting tips for sendmail]
 IMHO, instead of using header rewriting, it's better to get the headers
 right at the source (use "set [EMAIL PROTECTED] envelope_from").
 You will still need to configure sendmail (or whatever the MTA is) to
 use a smarthost.

"set [EMAIL PROTECTED] envelope_from"
   ^
I use "set from=Real Name [EMAIL PROTECTED]" what is the "envelope_from"
good for?

Ciao, Gregor



Re: from lines on lists

2000-09-06 Thread Gregor Zattler

Dear mutt users,
hello Mostly Harmless :-)

* Mostly Harmless [EMAIL PROTECTED] [Die 05 Sep 2000 23:14:11 GMT]:
 How can I get the from line displayed in the message index for lists I
 have defined as lists?

i understand you want to see the names of the persons how wrote the
messages instead of "To:" which list the messages are adressed?

Try:

folder-hook mutt-users  set index_format="%4C|%Z|%[%d.%m.%y]|%-20.20n|%4l|%s"
    
^
^
in your .muttrc

It shows up to 20 chars of the senders real name or email address if
no real name is given.


Ciao, Gregor



Re: [dave@pixelhammer.com: Re: Two addresses, one laptop, and Mutt]

2000-07-28 Thread Gregor Zattler


* Michael Tatge [EMAIL PROTECTED] [Fre 28 Jul 2000 11:42:09 GMT]:

 Always use the my_hdr command instead and use send-hooks or
 set reverse_name to switch between your addresses.

This did'nt work for me. I now use 'set from=' and 'set
reverse_name=yes' and send-hooks (but *no* 'set envelope_from=yes'
because I did this in sendmail.mc).

When I used the 'my_hdr From:' command 'set reverse_name=yes' did'nt
do anything.

Ciao, Gregor




Re: sendhook

2000-07-12 Thread Gregor Zattler

Dear mutt-users,

* Marius Gedminas [EMAIL PROTECTED] wrote:
 (If I used fcc-hooks, I'd
 want to have four copies of the message saved in folders for all four
 recipients).

Me too. Does anybody have a hint how to do this?

Ciao, Gregor






Re: some extensions

2000-07-12 Thread Gregor Zattler

Dear mutt users,

* Lukasz Stelmach [EMAIL PROTECTED] wrote:

 quote_chars in
 those programs may contain initials of person who wrote the letter i
 am replying. For example when you answer this letter it should be
 quoted with "LS". But when something is alredy quoted only '' is
 added at the end of "quotation mark" (LS, LS and so on). I'have
 done this in slrn using S-Lang scripts.
 
 what do you think about it?

I'm a user of 'Crosspoint' a "german" mail/news offline reader and
know this useful feature. I would be happy if somebody had a hint how
to do this with mutt.

Ciao, gregor



file browser status bar formatable?

2000-05-16 Thread Gregor Zattler

Dear 'mutters',

i have a problem using the file browser (e.g. when choosing an
attachment). I'm generally happy with the 'folder_format' default
settings showing all the detailed stuff about rights, owner,
group, lenght etc.[1] But the files i have to deal with have
fairly long filenames and differ only in their extensions (part
after the last dot in filename). The filenames are truncated, so
i can't see the extension and therefor can't choos the right file
to attach.

This would be no problem if i could customize the file browser
status bar format to show the filename of the marked file. 

But i don't know how to do this, nor any other way to get sight
of the whole filename.

Any suggestions?

Ciao, Gregor 'struggling with english' Zattler


[1] I allready made a macro for viewing the folder list because
for a while i used folder names with full realnames + email
adress:

folder-hook . 'set folder_format="%3C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"'
macro index c "enter-commandset folder_format=\"%3C%t%N%7s 
%f\"\renter-commandset 
index_format="%4C|%Z|%[!%y%m%d]|%-17.17L|%4l|%s"\rchange-folder" 'lean file menue 
for xxl folder names'
macro pager c "enter-commandset folder_format=\"%3C%t%N%7s 
%f\"\renter-commandset 
index_format="%4C|%Z|%[!%y%m%d]|%-17.17L|%4l|%s"\rchange-folder" 'lean file menue 
for xxl folder names'

but in case of attachments i want to see all the stuff the
default settings let show.









Trouble with fcc-save-hook . +%F

2000-03-20 Thread Gregor Zattler

Dear mutt-users,

i try to migrate from an german mail+news reader "CrossPoint" (runs on
pure DOS) to mutt. With CrossPoint i'm used to save mails i got from a
user and copys of emails i sent her (the whole correspondence) in one
location (aka folder).  Now i tried hard configuring mutt to fcc and
save emails in folders with users realnames.

But if i setfcc-save-hook . +%Femails i send go to a folder 
'To Firstname Lastname' whereas emails i got and save go to folder
'Firstname Lastname': The correspondence is splitt in two folders and
as a result i can not read it without changing folders all the time.

Any suggestions?

Ciao, Gregor