Page 1 of 1

Postfix - maildir in ein zentrales Verzeichnis für alle User

Posted: 2006-02-13 14:33
by lambras
Mahlzeit,

bis jetzt verwende ich Postfix und mbox-Format. Da ich aber gerne zusätzlich zu pop3 auch imap auf der Maschine haben möchte, muss ich auf Maildir umstellen.

Mit dem Parameter
home_mailbox = Maildir/
werden die Mails im ~/Maildir/ von jedem User abgelegt. Ich hätte es aber lieber nach dem Prinzip /var/spool/mail/USERNAME/ für alle User.
Geht das einfach? Habe in der Postfix-Doku nichts gefunden.

Merci.

Re: Postfix - maildir in ein zentrales Verzeichnis für alle User

Posted: 2006-02-13 14:41
by lambras
Edit:
Bis jetzt liefere ich mit procmail aus:
mailbox_command = procmail -a "$EXTENSION"

Ggf. kann man das ja auch einfach mit Procmail machen?

Re: Postfix - maildir in ein zentrales Verzeichnis für alle User

Posted: 2006-02-13 15:22
by niemand

Code: Select all

man 5 postconf

Code: Select all

home_mailbox (default: empty)
       Optional pathname of a mailbox file relative to a local(8) user's home directory.

       Specify a pathname ending in "/" for qmail-style delivery.

       The  precedence  of  local(8)  delivery  features from high to low is: aliases, .forward files, mailbox_transport, mailbox_command_maps, mailbox_command,
       home_mailbox, mail_spool_directory, fallback_transport and luser_relay.

       Examples:

       home_mailbox = Mailbox
       home_mailbox = Maildir/
Sollte was für dich dabei sein ;)

cu