Re: Conditional configuration

2016-01-28 Thread Gabriel Philippe
On Thu, Jan 28, 2016 at 3:35 AM, martin f krafft  wrote:
> Hi,
>
> I have two machines with mutt, one has the sidebar patch, while the
> other does not. I'd like to use the same config on both, but
> obviously the one without the patch falls over the sidebar keywords,

I use one main conffile, and another dedicated for each machine.

In ~/.mutt/muttrc:
source ~/.mutt/muttrc_`hostname`

-- 
Gabriel


Re: Timeout surpassed, mailbox closed on sync

2016-01-28 Thread Chris Bannister
On Tue, Jan 26, 2016 at 03:01:09PM -0500, Nathan Lee wrote:
> Greetings. This is my first post on the list, and I'm new to Mutt.
> I've searched the mailing list, and didn't see anything quite like
> this. Maybe someone can tell what's happening.

Just as an aside, you might want to set the textwidth variable or equiv
your editor.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


mutt does not more purge deleted messages

2016-01-28 Thread Michelle Konzack
Good evening,

I do not know, what I have done, but since arround 6  hours,  mutt  does
not purge deleted messages IF I access a "Maildir" localy without IMAP!

set delete=ask-yes

is unchanged for ages and it works perfectly with GMail my Intranet- and
public Mail-Server.

"$" does not work anymore for local directories...

Any suggestions what I could have doen wrong?

Note:   I accidentally deleted a backup of mu ~/.mutt/ folder,
hence no recovery possibel.

Thanks in avance

-- 
Michelle KonzackITSystems
GNU/Linux Developer 0033-6-61925193


Re: Conditional configuration

2016-01-28 Thread martin f krafft
also sprach Lukasz Szczesny  [2016-01-28 21:42 +1300]:
> I keep my sidebar configuration in a separate file and source it when
> sidebar is enabled with the following `source` command:
> 
> source `FILE=$HOME/.mutt/sidebar; mutt -v | grep -Fq sidebar || 
> FILE=/dev/null; echo $FILE`

Unfortunately, mutt-kz does not export this info in -v output:

  http://bugs.debian.org/812953

It's also quite a hack ;)

But thanks for sharing!

-- 
@martinkrafft | http://madduck.net/ | http://two.sentenc.es/
 
time wounds all heels.
 -- groucho marx
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: mutt does not more purge deleted messages

2016-01-28 Thread Jostein Berntsen

On 29.01.16,00:08, Michelle Konzack wrote:

Good evening,

I do not know, what I have done, but since arround 6  hours,  mutt  does
not purge deleted messages IF I access a "Maildir" localy without IMAP!

   set delete=ask-yes

is unchanged for ages and it works perfectly with GMail my Intranet- and
public Mail-Server.

"$" does not work anymore for local directories...

Any suggestions what I could have doen wrong?

Note:   I accidentally deleted a backup of mu ~/.mutt/ folder,
   hence no recovery possibel.



Have some updates happened on your system recently? Some things to check:

- Do you use mutt with the trash patch? 
http://cedricduval.free.fr/mutt/patches/#trash

- Upgrade mutt to v. 1.5.23 to get a version with man bug fixes
- Restart your mail server?
- Check your system/mail logs if anything happened around 6 hours ago


Jostein


Re: Conditional configuration

2016-01-28 Thread Lukasz Szczesny

Hi!

On Thu, Jan 28, 2016 at 03:35:05PM +1300, martin f krafft wrote:
> I have two machines with mutt, one has the sidebar patch, while the
> other does not. I'd like to use the same config on both, but
> obviously the one without the patch falls over the sidebar keywords,
> e.g.:
> 
>   Error in /home/madduck/.mutt/sidebar, line 4: sidebar-prev: no
>   such function in map
> 
> Short of writing a script to print out the sidebar config depending
> on the output of mutt -v (ew!), I was wondering if there's another
> way in mutt to support different versions from the same config, e.g.
> a soft-fail mode, or a way to test for existence of certain
> variables before starting a configuration block?

I keep my sidebar configuration in a separate file and source it when
sidebar is enabled with the following `source` command:

source `FILE=$HOME/.mutt/sidebar; mutt -v | grep -Fq sidebar || 
FILE=/dev/null; echo $FILE`

-- 
pozdrawiam,
Łukasz Szczęsny