Raspberrypi.mail
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 chmod 777 /home/user touch /var/mail/user chown user /var/mail/user chgrp postfix /var/mail/user chmod 0660 /var/mail/user