ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] mutt mailbox setup
@ 2001-09-20 16:05 lenya
  2001-09-20 16:12 ` [mdk-re] " Michael Orlov
  2001-09-20 16:17 ` Alexander Bokovoy
  0 siblings, 2 replies; 3+ messages in thread
From: lenya @ 2001-09-20 16:05 UTC (permalink / raw)
  To: mandrake-russian

Здравствуйте,

Как задать в mutt директорию, в которой хранится
почта и ящики? Судя по man muttrc:
set mbox=/path/to/maildir
set mailboxes=mailbox1 mailbox2 mailbox3...

Так нет же, ругается при запуске на неправильный
синтаксис. Как правильно?
mailto:lenya@linux.yaroslavl.ru



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [mdk-re] Re: mutt mailbox setup
  2001-09-20 16:05 [mdk-re] mutt mailbox setup lenya
@ 2001-09-20 16:12 ` Michael Orlov
  2001-09-20 16:17 ` Alexander Bokovoy
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Orlov @ 2001-09-20 16:12 UTC (permalink / raw)
  To: mandrake-russian

Hello lenya@chemsell.yaroslavl.ru,

Once you wrote about "[mdk-re] mutt mailbox setup":
> Здравствуйте,
> 
> Как задать в mutt директорию, в которой хранится
> почта и ящики? Судя по man muttrc:
> set mbox=/path/to/maildir
> set mailboxes=mailbox1 mailbox2 mailbox3...
> 
> Так нет же, ругается при запуске на неправильный
> синтаксис. Как правильно?
[harley@michael harley]$ cat .muttrc | grep mbox
set mbox=~/Mail/in-inbox
[harley@michael harley]$ cat .muttrc | grep mail
# Listing all my mailboxes is really boring...
mailboxes `echo ~/Mail/in*`

У меня вот так ;-)

-- 
+----------------------------------+
| Michael Orlov  aka   Harley      |    
+----------------------------------+
| LRN Team     harley@linux.ru.net |
| Work         harley@enformia.com |
+----------------------------------+

Was written on:
20 Сентября, Четверг, 15:15:25



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [mdk-re] Re: mutt mailbox setup
  2001-09-20 16:05 [mdk-re] mutt mailbox setup lenya
  2001-09-20 16:12 ` [mdk-re] " Michael Orlov
@ 2001-09-20 16:17 ` Alexander Bokovoy
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Bokovoy @ 2001-09-20 16:17 UTC (permalink / raw)
  To: mandrake-russian

On Fri, Sep 21, 2001 at 04:22:58PM +0400, lenya@chemsell.yaroslavl.ru wrote:
> Здравствуйте,
> 
> Как задать в mutt директорию, в которой хранится
> почта и ящики? Судя по man muttrc:
> set mbox=/path/to/maildir
> set mailboxes=mailbox1 mailbox2 mailbox3...
> 
> Так нет же, ругается при запуске на неправильный
> синтаксис. Как правильно?
У меня стоит так:
set	mbox=+mbox

А для mailboxes так:

source `~/.mutt/generate-mailboxes-list`

Где скрипт ~/.mutt/generate-mailboxes-list` смотрит в ~/Mail и перечисляет
все почтовые ящики оттуда:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#!/bin/sh

echo "# Mail boxes for $USER" >$HOME/.mutt/folder
echo "mailboxes !" >$HOME/.mutt/folder
	    
for i in `find $HOME/Mail -type f -print | \
	sort -u|egrep -v '/(archive|news)/' | \
	grep -v 'sent-mail' | \
	sed -e "s@$HOME/Mail/@=@"` ; do
   echo "mailboxes $i" >>$HOME/.mutt/folder
done
echo "$HOME/.mutt/folder"
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Этот скрипт игнорирует ~/Mail/archive/* и ~/Mail/news/*, а также
~/Mail/sent-mail, куда у меня помещаются копии отправленных писем.

В результате, при каждом запуске Mutt файл с описанием mailboxes
(~/.mutt/folder) перегенерируется и отражает текущую ситуацию.

-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
YOW!!  Up ahead!  It's a DONUT HUT!!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-20 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20 16:05 [mdk-re] mutt mailbox setup lenya
2001-09-20 16:12 ` [mdk-re] " Michael Orlov
2001-09-20 16:17 ` Alexander Bokovoy

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git