Re: Mailserver, Postfix dovecot
Am Thu, 22 Mar 2007 23:21:08 +0100
schrieb Jochen Schulz:
Hallo Jochen,
> postconf -n
pinguinstall:/home/dirk# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
fallback_transport = dovecot
home_mailbox = Mail/
inet_interfaces = loopback-only
mailbox_command = procmail -a "$EXTENSION" DEFAULT=$HOME/Mail/
mailbox_size_limit = 0
mailbox_transport = dovecot
mydestination = pinguinstall, localhost.localdomain, localhost
myhostname = pinguinstall
mynetworks = 127.0.0.0/8
recipient_delimiter = +
relayhost =
smtp_sasl_auth_enable = no
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = pinguinstall, ESMTP Mailserver
smtpd_helo_required = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/mail.cert
smtpd_tls_key_file = /etc/postfix/mail.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
>
> > Fetchmail holt ab, procmail verfrachtet die Mail in mein ~/Mail.
>
> Also schon mbox.
Dachte das ist Maildir. MailBox ist doch eine Datei und nicht je eine
Datei je Mail?
> > Dazu kommt, das dovecot Mailordner mit /.test anlegt. Aber auch die
> > Verzeichnisstruktur ist anders als SC oder KMail sie lesen kann.
>
> Das ist Maildir (die Alternative zu mbox). Du mußt Dich entscheiden.
> Mit mb2md kannst Du mboxen in Maildirs umwandeln. Würde ich aber
> vorher erstmal sortieren.
>
> > Wie muss ich Procmail konfigurieren das es Mails abliefert die
> > dovecot kann?
>
> Dovecot kann beides. Es macht aber nur eines zur Zeit. Einen Ordner,
> der wie Maildir aussieht, wird es als Maildir behandeln. Wenn da noch
> mboxen drin liegen, werden die offenbar ignoriert.
>
> Wenn procmail in Maildirs liefern soll, mußt Du die Mailboxen
> entsprechend notieren, z.B.
>
> DEFAULT=$HOME/Maildir/
>
> :0
> * From: foo@invalid
> .meinfreund/
>
> Ist aber im Netz hundertfach dokumentiert.
Danke Dir. Nun geht es mit Procmail.
>
> > Was muss ich machen, damit meine alten Mail in das Imap Format
> > gewandelt werden?
Ich lege mit SC einfach unter dem Imap alle Verzeichnisse an und
kopiere die Mails. Geht, glaube ich, am einfachsten.
Dirk
Reply to: