mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread martin f krafft
Dear list, our E-mail-Server uses dovecot, which delivers mail to and from a folder containing subfolders names e.g. ~/Maildir/.lists.mutt-users. There are good reasons to use mutt directly on the machine from time to time. Unfortunately, these folder names aren't exactly suitable for mutt use.

Re: change profile on the fly

2012-08-16 Thread Marco Giusti
On Wed, Aug 15, 2012 at 09:50:15AM -0300, Marcelo Laia wrote: Hi, How I would change the current profile on the fly? I have 3 account and I would like to send mails with my username according to current account. maybe this approach is a bit rude, but: macro compose H

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Nicolas KOWALSKI
On Thu, Aug 16, 2012 at 01:07:36PM +0200, martin f krafft wrote: Do you have alternative approaches? I do not want to use mutt's IMAP for localhost access, nor do I want to set up offlineimap on localhost. My home server runs a dovecot server, and I always use Mutt's IMAP to access folders

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread martin f krafft
also sprach Nicolas KOWALSKI nicolas.kowal...@gmail.com [2012.08.16.1757 +0200]: Is there a special reason to not use this combination? I find it slow and cumbersome to work with. -- martin | http://madduck.net/ | http://two.sentenc.es/ sobald man über niveau spricht ist man längst darüber

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Nicolas KOWALSKI
On Thu, Aug 16, 2012 at 06:11:26PM +0200, martin f krafft wrote: also sprach Nicolas KOWALSKI nicolas.kowal...@gmail.com [2012.08.16.1757 +0200]: Is there a special reason to not use this combination? I find it slow and cumbersome to work with. For the slowness I activated the header

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread martin f krafft
also sprach Nicolas KOWALSKI nicolas.kowal...@gmail.com [2012.08.16.1823 +0200]: For the slowness I activated the header cache feature (one file per folder): set header_cache=~/.hcache With this setup, on this server (Athlon XP 1500, 512M RAM), opening a 15k mails folder takes from 3

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread martin f krafft
also sprach martin f krafft madd...@madduck.net [2012.08.16.1829 +0200]: and once I authenticated, it all seems to work. (except for change-folder tab-completion) -- martin | http://madduck.net/ | http://two.sentenc.es/ no, 'eureka' is greek for 'this bath is too hot.'

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Thomas Wallrafen
Hi, On Thu, Aug 16, 2012 at 06:29:42PM +0200, martin f krafft wrote: also sprach Nicolas KOWALSKI nicolas.kowal...@gmail.com [2012.08.16.1823 +0200]: For the slowness I activated the header cache feature (one file per folder): set header_cache=~/.hcache With this setup, on this

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Nicolas KOWALSKI
On Thu, Aug 16, 2012 at 06:29:42PM +0200, martin f krafft wrote: What do you do about the password? I don't want to store that in .muttrc! I enter it manually. Thanks to screen, my mutt session never ends (until server reboot), so this is not a problem. -- Nicolas

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Luis Mochan
I used to have my password in the .muttrc file; bad mistake (I found out after mailing my rc file to this list). After introducing it manually for awhile, I wrote it in a small file with restricted permissions (set imap_pass='my_password') which I source from the rc file (source

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Thomas Wallrafen
Hi, On Thu, Aug 16, 2012 at 11:50:24AM -0500, Luis Mochan wrote: I used to have my password in the .muttrc file; bad mistake (I found out after mailing my rc file to this list). After introducing it manually for awhile, I wrote it in a small file with restricted permissions (set

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread martin f krafft
also sprach Luis Mochan moc...@fis.unam.mx [2012.08.16.1850 +0200]: Would this be considered unsafe? To store the password clear-text in a file? Yes. -- martin | http://madduck.net/ | http://two.sentenc.es/ one should never do anything that one cannot talk about after dinner.

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Mark H. Wood
On Thu, Aug 16, 2012 at 06:29:42PM +0200, martin f krafft wrote: What do you do about the password? I don't want to store that in .muttrc! Well, what *I* do is use Kerberos so I authenticate once when I login. Mutt (suitably configured) picks this up and gets the necessary ticket. But I'm

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Christian Brabandt
Hi martin! On Do, 16 Aug 2012, martin f krafft wrote: also sprach Luis Mochan moc...@fis.unam.mx [2012.08.16.1850 +0200]: Would this be considered unsafe? To store the password clear-text in a file? Yes. What exactly is the problem with entering the password manually? regards, Christian

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Luis Mochan
What exactly is the problem with entering the password manually? Laziness. Not a very strong reason, but I just wondered if restricting the permissions of the file would be enough protection. From the answers so far, I gather not. Related to my previous question, I have a text file,

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Andre Klärner
Hi Martin, On Thu, Aug 16, 2012 at 01:07:36PM +0200, martin f krafft wrote: our E-mail-Server uses dovecot, which delivers mail to and from a folder containing subfolders names e.g. ~/Maildir/.lists.mutt-users. There are good reasons to use mutt directly on the machine from time to time.

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread martin f krafft
also sprach Christian Brabandt cbli...@256bit.org [2012.08.16.1937 +0200]: To store the password clear-text in a file? Yes. What exactly is the problem with entering the password manually? I don't know my password. I use asymmetric authentication everywhere, including IMAP, using a

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Tim Gray
On Aug 16, 2012 at 08:29 PM +0200, martin f krafft wrote: also sprach Christian Brabandt cbli...@256bit.org [2012.08.16.1937 +0200]: I don't know my password. I use asymmetric authentication everywhere, including IMAP, using a preauth-SSH-tunnel. Out of curiosity, how do you implement this?

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Patrick Ben Koetter
* martin f krafft madd...@madduck.net: also sprach Christian Brabandt cbli...@256bit.org [2012.08.16.1937 +0200]: To store the password clear-text in a file? Yes. What exactly is the problem with entering the password manually? I don't know my password. I use asymmetric authentication

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread martin f krafft
also sprach Tim Gray lists+m...@protozoic.com [2012.08.16.2040 +0200]: Out of curiosity, how do you implement this? http://git.madduck.net/v/etc/offlineimap.git/blob/HEAD:/.offlineimaprc#l45 -- martin | http://madduck.net/ | http://two.sentenc.es/ consciousness: that annoying time between

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread martin f krafft
also sprach Patrick Ben Koetter p...@state-of-mind.de [2012.08.16.2044 +0200]: Putting passwords in configs isn't something I like, so I pull them from the Gnome keyring: Not a bad idea, but now an attacker with access to the filesystem doesn't have to run 'cat ~/.muttrc' but

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Tim Gray
On Aug 16, 2012 at 08:58 PM +0200, martin f krafft wrote: http://git.madduck.net/v/etc/offlineimap.git/blob/HEAD:/.offlineimaprc#l45 I see. Not something you'd probably be able to do if you didn't have login access to the IMAP server. Off topic - you must be the same Martin Krafft who went

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Patrick Ben Koetter
* martin f krafft madd...@madduck.net: also sprach Patrick Ben Koetter p...@state-of-mind.de [2012.08.16.2044 +0200]: Putting passwords in configs isn't something I like, so I pull them from the Gnome keyring: Not a bad idea, but now an attacker with access to the

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Andre Klärner
Hi Patrick, On Thu, Aug 16, 2012 at 09:10:18PM +0200, Patrick Ben Koetter wrote: * martin f krafft madd...@madduck.net: also sprach Patrick Ben Koetter p...@state-of-mind.de [2012.08.16.2044 +0200]: Putting passwords in configs isn't something I like, so I pull them

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Andre Klärner
Hi Martin, On Thu, Aug 16, 2012 at 09:01:16PM +0200, martin f krafft wrote: also sprach Patrick Ben Koetter p...@state-of-mind.de [2012.08.16.2044 +0200]: Putting passwords in configs isn't something I like, so I pull them from the Gnome keyring: Not a bad idea, but now

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Patrick Ben Koetter
* Andre Klärner kan...@ak-online.be: Hi Patrick, On Thu, Aug 16, 2012 at 09:10:18PM +0200, Patrick Ben Koetter wrote: * martin f krafft madd...@madduck.net: also sprach Patrick Ben Koetter p...@state-of-mind.de [2012.08.16.2044 +0200]: Putting passwords in configs isn't

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Cameron Simpson
On 16Aug2012 13:07, martin f krafft madd...@madduck.net wrote: | I have a complex shell script to maintain a symlink farm, but it's | suboptimal and hackish. I have a not very complex script; it uses the mutt tree as reference and makes symlinks for dovecot:

Re: mutt on an IMAP-Server (dovecot): folder names and structure

2012-08-16 Thread Cameron Simpson
On 16Aug2012 20:23, Andre Klärner kan...@ak-online.be wrote: | I also use dovecot and this line in 10-mail.conf: | | | mail_location = maildir:%h/Maildir:LAYOUT=fs Oh. Oh! -- Cameron Simpson c...@zip.com.au Motorcycles are like peanuts... who can stop at just one? - Zebee Johnstone