Moin,
da ich keine Mail von Proxmox bzw. Postfix bekomme, hatte ich dort etwas rumkonfiguriert. Hatte erst Probleme mit IPv6, nach Umstellung auf IPv4 kam ich zumindest weiter.
Er soll von meiner Domain [email protected] die Mails an mich versenden. Scheiter da aber aktuell etwas dran.
Er scheint trotzdem zu versuchen die Mails von root@ zu verschicken.
Hat jemand einen Tipp?
libsas12-modules habe ich installiert.
main.cf sieht so aus:
Code
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
myhostname=Proxmox.local
#smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#mydestination = $myhostname, localhost.$mydomain, localhost
#relayhost =
mynetworks = 127.0.0.0/8
inet_interfaces = loopback-only
recipient_delimiter = +
inet_protocols = ipv4
relayhost = [smtp.strato.de]:587
smtp_use_tls = yes
smtp_enforce_tls = yes
smtp_tls_security_level = may
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
compatibility_level = 2
Alles anzeigen
sasl_passwd:
Code
smtp.strato.de:587 [email protected]:passwort
echo Test und log:
Code
Feb 3 23:26:07 Proxmox postfix/qmgr[362489]: B135E18541: from=<[email protected]>, size=405, nrcpt=1 (queue active)
Feb 3 23:26:07 Proxmox postfix/smtp[369513]: B135E18541: to=<xxxxx>, relay=smtp.strato.de[81.169.145.133]:587, delay=0.16, delays=0.01/0.01/0.13/0.01, dsn=5.7.0, status=bounced (host smtp.strato.de[81.169.145.133] said: 530 5.7.0 User not authenticated (in reply to MAIL FROM command))
Feb 3 23:26:07 Proxmox postfix/cleanup[369512]: DABFF18542: message-id=<[email protected]>
Feb 3 23:26:07 Proxmox postfix/bounce[369514]: B135E18541: sender non-delivery notification: DABFF18542
Feb 3 23:26:07 Proxmox postfix/qmgr[362489]: DABFF18542: from=<>, size=2376, nrcpt=1 (queue active)
Feb 3 23:26:07 Proxmox postfix/qmgr[362489]: B135E18541: removed
Feb 3 23:26:07 Proxmox postfix/local[369515]: error: open database /etc/aliases.db: No such file or directory
Feb 3 23:26:07 Proxmox postfix/local[369515]: warning: hash:/etc/aliases is unavailable. open database /etc/aliases.db: No such file or directory
Feb 3 23:26:07 Proxmox postfix/local[369515]: warning: hash:/etc/aliases: lookup of 'root' failed
Feb 3 23:26:07 Proxmox postfix/local[369515]: DABFF18542: to=<[email protected]>, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=4.3.0, status=deferred (alias database unavailable)
So wie ich es sehe, versucht er mit root@proxmox die mail zu verschicken, obwohl er meine erstelle Domain nutzen soll.