PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mutt + fetchmail + procmail



uTaNG
28.04.04, 15:09
hi, ich habe hier sowohl

- mutt
- fetchmail
- procmail

eingerichtet aber immoment scheint da etwas nicht zu funktionieren.

Die Mails die durch die Filterregeln schlüpfen landen alle in der Datei:

/home/malibu/Mail/.incoming

"/home/malibu/Mail" enthält Sub-Ordner worin die gefilterten Mails landen.


Dem entsprechen sieht auch "Muttrc" folgendermaßen aus:

Muttrc


set mbox_type=Maildir
set folder=~/Mail
set spoolfile=~/Mail/.incoming
set record=~/.maildir-sent/
unset mbox
set move=no
set index_format="%4C %Z %{%b %d} %-16.16L %s"


Jedoch wenn ich "mutt" starte, erscheint folgender Meldung:


/home/malibu/Mail/.incoming is not a mailbox.


Hat wer irgendeine schicke Idee?

core
28.04.04, 21:52
Was sagt denn
file /home/malibu/Mail/.incoming?

uTaNG
28.04.04, 22:30
HI, erstmal danke fürs helfen....
Wenn ich sie editiere, sehe ich den Inhalt sämtlicher Mails.

*grübel*

core
29.04.04, 01:43
Ahja, also.. scheint im mbox Format zu sein. Das war eigentlich eher als Shell Befehl gedacht..

user@host:~$ file /var/spool/mail/user
/var/spool/mail/user: ASCII mail text


Einen Fehler sehe ich in der muttrc nicht. Ich bin aber auch kein mutt Experte. Hier mal meine Konfig - evtl. hilft's ja... Procmail sortiert bei mir nur von Spamassassin markiertes nach ~/Mail/spam, und zwei Mailinglisten nach ~/Mail/listenname. Der Rest bleibt in /var/spool/mail/user. Mutt verschiebt's dann nach dem Lesen nach Mail/inbox. Alles im mbox Format.



set envelope_from = yes
set from = "blabla <foo@bar.org>"

# new mail is here
mailboxes /var/spool/mail/meinlogin | +liste1 +liste2 +spam

# mailfolder
set folder = ~/Mail

# read mails from /var/spool.. go to ~/Mail/inbox
set mbox = +inbox

# default type is mbox
#set mbox_type = Maildir

# send mails go to ~/Mail/sent-mails
set record = +sent-mails

# sorting of mails
set sort=threads # Zuerst in Threads sortieren
set sort_aux=date-sent # Innerhalb der Threads nach Absendedatum

# fav. editor
set editor = "/usr/local/bin/nano"

# mailinglists
subscribe liste1
subscribe liste2.bla.org

# display mails in charset
set charset = iso-8859-15

# locale for date format
set locale = "de_DE@Euro"

# configure send charset
set send_charset = "iso-8859-15:us-ascii:iso-8859-1:utf-8"
set use_8bitmime
set allow_8bit
charset-hook US-ASCII ISO-8859-15


################# colors.. ##############
color header yellow black Subject:
color header brightcyan black .
color body red black [_a-z\.A-Z0-9-]+@[a-zA-Z0-9\./\-]+
color body yellow black (http|ftp)://([a-zA-Z0-9]*:)?([a-zA-Z0-9]*@)?[_a-zA-Z0-9\./~\-]+
color signature brightblue black
color attachment yellow black
# Die Zeichen des Threading-Baumes
color tree red black
# Der Indicator ist der Menübalken
color indicator black cyan
color status brightyellow blue
# Zeilen hinter dem Nachrichtenende (ala vi,less)
color tilde blue black

# colorize quoting levels
color quoted blue black
color quoted1 magenta black
color quoted2 red black
color quoted3 green black
color quoted4 cyan black
color quoted5 blue black
color quoted6 magenta black
color quoted7 red black