Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wie funzt das mit postfix und mutt ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
gsf
n00b
n00b


Joined: 07 Jul 2002
Posts: 46

PostPosted: Thu Oct 31, 2002 8:43 pm    Post subject: Wie funzt das mit postfix und mutt ? Reply with quote

Hallo , kann mir mal jemand erklären ,wie ich
postfix und mutt konfiguriere , so das das mbox Format
benutzt wird. ?

Also ich bin nach der Desktop Konifiguration vorgegegangen , bin da an
einer stelle aber nicht schlau draus geworden.

Quote:

Important: sendmail- und postfix-Veteranen sollten es gewohnt sein, dass Mails in /var/spool/mail anstatt
im Home-Verzeichnis sowie im mbox- anstatt dem maildir-Format gespeichert werden.
Trotzdem ist es nicht wirklich kompliziert, postfix und mutt entsprechend zu konfigurieren.
Editieren Sie die /etc/postfix/main.cf und entkommentieren Sie home_mailbox ???? und mail_spool_directory = /var/spool/mail.
Das mail spool- Verzeichnis erstellen Sie mit mkdir -p /var/spool/mail,
danach starten Sie postfix neu. Danach müssen Sie noch Ihr Mailprogramm anpassen,
für mutt müssen Sie nur die Datei /etc/mutt/Muttrc ändern, sodass mbox
mit set mbox_type = mbox benutzt wird und das /var/spool/mail-Verzeichnis
mit set spoolfile=/var/spool/mail gesetzt wird.

In der englschen steht ...comment out home_mailbox and uncomment mail_spool_directory=/var/spool/mail

Also ich lese daraus , das ich alle "home_mailbox" auskommentieren , also ein # davor setzen, soll.

bei mir sieht das so aus:

Quote:

/etc/postfix/main.cf

...
..
# DELIVERY TO MAILBOX
#
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user. Specify
# "Maildir/" for qmail-style delivery (the / is required).
#
home_mailbox = Mailbox
#home_mailbox = Maildir/
##home_mailbox = .maildir/

# The mail_spool_directory parameter specifies the directory where
# UNIX-style mailboxes are kept. The default setting depends on the
# system type.
#
# mail_spool_directory = /var/mail
mail_spool_directory = /var/spool/mail
...
...



Quote:

/etc/mutt/Muttrc

...
..
##set mbox_type=Maildir
set mbox_type=mbox
set folder=~/.maildir
##set spoolfile=~/.maildir/
set spoolfile=/var/spool/mail
set record=~/.maildir-sent/
unset mbox
set move=no



Jedenfalls starte ich mutt und es erscheint Fehlermessage : /var/spool/mail ist keine Mailbox

Benutze ich das Maildirformat klappt es.

Was mach' ich falsch ?

Danke und bye

UPDATE

OK , hab' mir dbzgl. schon selber geholfen.

/etc/postfix/main.cf :
Quote:

#home_mailbox = Mailbox
#home_mailbox = Maildir/
#home_mailbox = .maildir/

mail_spool_directory = /var/mail
# var/mail ist verlinkt mit /var/spool/mail


dann noch eine .muttrc im Homeverzeichnis , Mailboxverzeichnis und die
Mailboxdateien mit z.B.: "touch Empfangen" "touch Gesendet" ..etc. im
Mailboxverzeichnis angelegt.

/home/user/.muttrc :
Quote:

# Mail Folder
set folder = ~/Maildir # Directory that contains all mail files (mailboxes)
set spoolfile = /var/mail/djoi # Default spoolfile
set mbox = +Empfangen # Where mail is appended to from spoolfile
set mbox_type = mbox # Type of mail files
set postponed = +Ungesendet # Where to save postponed mail
set copy = yes # Save copies of outgoing mail?
set record = +Gesendet # Where to save copies of outgoing mail

# Personal options
set hostname = "hostname"
set realname = "Djoi"
#set signature = ~/.signature

# Aliases (address book)
set alias_file = ~/.mutt-aliases
source ~/.mutt-aliases
set reverse_alias # Show real name instead of e-mail address in index
set sort_alias = alias # Sort aliases by alias name not email address

# Prune the headers!
##ignore *# Ignore all header info
##unignore subject
##unignore to
##unignore from:
##unignore date
##unignore CC

hdr_order Date: From: To: CC: Subject:

# Mailboxes
mailboxes =Empfangen
mailboxes =Mailing-Lists/Gfx
mailboxes =Mailing-Lists/Gentoo-User
mailboxes =Mailing-Lists/Fastreport
mailboxes =Mailing-Lists/VDR

set pop_host =[popaccount]
set pop_user =[username]
set pop_pass =[abce]
set pop_delete =yes # Save mail on server or not


Naja ,lokal funzt das soweit aber mit dem Pop Postfach
noch nicht . Das wird wohl auch wonders dran liegen.
Schaun wer mal , vielleicht nutzt es ja jemanden dies hier zu lesen

Greetz
_________________
...to be or wannabe.......
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum