[SOLVED] PMG Mailrealying über SMTP Server des Providers

dudu79194

New Member
May 10, 2019
6
2
3
41
Kann der PMG V5.2.1 senden über einen Smarthost bei welchem man sich authentifizieren muss?

Zum Beispiel über einen Provider welcher Mailservice anbietet und die DNS Domain hostet.

Grund dafür ist, dass ein Standort keine Statische IP hat und somit das Senden nicht geht weil der Empfänger die IP als dynamisch identifiziert und dadurch blockiert.

Vielen Dank
 
Das geht - allerdings nicht über die GUI:
* PMG verwendet postfix als MTA - configs für authentifiziertes relayen finden sich im Netz [0,1]
* Die config wird bei PMG ueber das templating system angepasst - https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_service_configuration_templates
* Das file das kopiert und adaptiert werden muss ist wohl die 'main.cf.in'

Hoffe das hilft!

[0] http://www.dnsexit.com/support/mailrelay/postfix.html
[1] https://www.linode.com/docs/email/postfix/postfix-smtp-debian7/
 
Danke dir für deine Hilfe. Bin erst jetzt dazu gekommen.

Ich konnte es wie folgt lösen und habe mich an diesen beiden Blog Posts bedient:
https://www.thomas-krenn.com/de/wiki/TKmon_Relayhost_mit_SMTP_AUTH
https://www.caretech.io/2018/10/06/how-to-use-proxmox-mail-gateway-with-an-authenticated-smarthost/

PW Datei:
[smtp.example.com] username:password

relayhost = smtp.example.com smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd smtp_sasl_security_options = noanonymous

Danach nicht vergessen das ganze im Template noch zu hinterlegen.

LG Manuel
 
Freut zu hoeren, dass du eine Loesung gefunden hast!
Bitte markiere den Thread als 'SOLVED' (dann finden sich andere user leichter zurecht :)

Danke!
 
Hatte bei einem Kunden ein Problem mit dem Port 465, habe dann als Alternative den Port 587 benutzt und dann funktionierte das Versenden ohne Probleme. Der Port 465 ist der Standardport bei dem Provider des Kunden. Der funktionierte auf einmal nicht mehr.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!