https:// IP :8006 (Dauert ca. 3 Minuten bis erreichbar)
nano /etc/postfix/main.cf: (edit the postfix config file)
relayhost=[Address]:port
https://wallabag.wieser.myhome-server.de
Original Artikel: https://www.caretech.io/2018/10/06/how-to-use-proxmox-mail-gateway-with-an-authenticated-smarthost/
Update:
apt-get update
apt-get install libsasl2-modules
Create Password file:
touch /etc/postfix/relay_passwd
chmod 0600 /etc/postfix/relay_passwd
nano /etc/postfix/relay_passwd: (set relay password)
[relay.provider.com]:587 username:password
Hash the password file:
postmap /etc/postfix/relay_passwd
cp /etc/postfix/main.cf /etc/postfix/main.cf.bk
nano /etc/postfix/main.cf: (edit the postfix config file)
relayhost=[smtp.example.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd
smtp_sasl_security_options =
Restart postfix:
systemctl restart postfix
Für dauerhafte Konfiguration:
/var/lib/pmg/templates/main.cf.in gleiche änderungen wie in /etc/postfix/main.cf
Tracking Center shows logs from a year ago
Es muss nesting (in PVE) aktiviert sein (unpreviligiert) damit die logrotation funktioniert.
Mailgateway akzeptiert Mails aus /24 aber nicht /23 trotz Mail Proxy Whitelist
/etc/network/interface
zu /23 ändern