Raspberrypi.mail: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Root (Diskussion | Beiträge) |
|||
Zeile 56: | Zeile 56: | ||
# adduser --no-create-home --ingroup postfix --disabled-login <b><i>user</i></b> | # adduser --no-create-home --ingroup postfix --disabled-login <b><i>user</i></b> | ||
useradd --gid postfix --create-home --shell /bin/ | useradd --gid postfix --create-home --shell /bin/false <b><i>user</i></b> | ||
echo "<b><i>user</i></b>:***" | chpasswd | echo "<b><i>user</i></b>:***" | chpasswd |
Version vom 25. September 2018, 20:22 Uhr
Konzept
Internet | Raspi | :25 (smtp) -> [ Postfix ] -> Filesystem "/var/mail/user" | -> dovecot User API | :110 (pop3) -> [ dovecot ] -> Filesystem "/var/mail/user" | -> Linux User API
Vorarbeiten
chmod 777 mail
postfix
http://www.postfix.org/features.html
apt-get install postfix
main.cf virtual_maps = hash:/etc/postfix/virtual smtpd_sasl_auth_enable = yes smtpd_sasl_type = dovecot
Test
- https://www.thomas-krenn.com/de/wiki/TCP_Port_25_(smtp)_Zugriff_mit_telnet_%C3%BCberpr%C3%BCfen
- https://www.ndchost.com/wiki/mail/test-smtp-auth-telnet
dovecot
apt-get install dovecot-pop3d
10-ssl.conf
10-master.conf
10-logging.conf
auth-system.conf.ext
10-auth.conf
10-mail.conf
Test
eMail-Konten anlegen
# adduser --no-create-home --ingroup postfix --disabled-login user useradd --gid postfix --create-home --shell /bin/false user echo "user:***" | chpasswd