Raspberrypi.mail: Unterschied zwischen den Versionen

Aus OrgaMon Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
== Konzept ==
== Konzept ==


  Internet | Raspi  
  Internet     |   Raspi  
              |
  smtp     ->  [ Postfix ]  
  :25 (smtp->  [ Postfix ] -> Filesystem "/var/mail/user"
                |
              |               -> dovecot User API
                v
              |
  pop3     ->  [ dovecot ] -> slasl-Auth -> System
  :110 (pop3->  [ dovecot ] -> Filesystem "/var/mail/user"
              |              -> Linux User API


== Vorarbeiten ==
== Vorarbeiten ==

Version vom 25. September 2018, 15:41 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

dovecot

https://dovecot.org/

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/bash user
echo "user:***" | chpasswd