Diese Seite (Version-22) wurde zuletzt am 13-Feb.-2021 16:51 von Administrator geändert.

Diese Seite wurde am 04-Feb.-2019 20:20 von Administrator erstellt.

Du bist nicht autorisiert, diese Seite umzubenennen.

Du bist nicht autorisiert, diese Seite zu löschen.

Versionsgeschichte der Seite

Version Zuletzt geändert Größe Autor Änderungen Kommentar
22 13-Feb.-2021 16:51 9 KB Administrator zur vorherigen
21 13-Feb.-2021 16:50 9 KB Administrator zur vorherigen | zur neuesten

Links

Eingehende Links Ausgehende Links

Versionsunterschiede

Unterschiede zwischen Version und .

Zeile 6: 23 Zeilen hinzugefügt.
!Postfix virtual users
Config {{{vi /etc/postfix/main.cf}}}
{{{
virtual_mailbox_maps = hash:/etc/postfix/vmailbox <= all mailboxes and locations
virtual_alias_maps = hash:/etc/postfix/virtual <= only for forwarding, mailboxes not needed here, too
}}}
If you want to use a local mail client (POP3/IMAP), you need to use Dovecot additionally to handle this.
Mailbox locations according to dovecot at {{{vi /etc/dovecot/conf.d/10-mail.conf}}}
{{{
mail_location = mbox:~/mail:INBOX=/var/mail/vhosts/inetone/%u
}}}
Authentication and ports at {{{vi /etc/dovecot/conf.d/10-master.conf}}}\\
{{{
service pop3-login [ ... }
service auth { unix_listener auth-userdb {...} }
}}}
Authentication Driver 10-auth.conf > {{{vi /etc/dovecot/conf.d/auth-system.conf.ext}}}
{{{
passdb { ... }
userdb { ... }
}}}
Zeile 51: 15 Zeilen hinzugefügt.
! New email
{{{
vi /etc/postfix/vmailbox <= add mail and mailbox location, will be at <virtual_mailbox_base> + location specified
postmap /etc/postfix/vmailbox <= recreate db file
postfix reload <= reload config
}}}
Postfix does not need a local user or home folder for an email account, but dovecot needs them, if you use PAM:
{{{
useradd <username> <= create user
passwd <username> <= set password
mkdir /home/markus.ebel <= create home folder
chown markus.ebel /home/markus.ebel <= change home folder owner
chgrp markus.ebel /home/markus.ebel <= change home folder group
}}}
Zeile 39: 4 Zeilen geändert.
## -o smtpd_recipient_restrictions=
## -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o smtpd_recipient_restrictions=
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject