Relay SMTP from postfix to Proxmox?

killmasta93

Renowned Member
Aug 13, 2017
958
56
68
30
Hi,
I was wondering if someone could shed some light on configuring postfix server to proxmox to smtp relay?
On my main.cf (postfix email server) i have this

Code:
relayhost = 192.168.3.141:26
192.168.3.141 is proxmox email gateway
but im getting a mail delivery failture

Code:
Diagnostic-Code: X-Proxmox; unknown user: "sistemas"

I checked the manual but there is not really much information about this

Thank you
 
Thanks for the reply, im getting this

Code:
: connect from hermes.casa.local[192.168.3.150]
Aug 07 21:02:04 pmg postfix/smtpd[11142]: 9FDB3101210: client=hermes.casa.local[192.168.3.150]
Aug 07 21:02:04 pmg postfix/cleanup[11145]: 9FDB3101210: info: header From: <sistemas@mydomain.com> from hermes.casa.local[192.168.3.150]; from=<sistemas@mydomain.com> to=<sistemas@clientdomain.com> proto=ESMTP helo=<mail.mydomain.com>
Aug 07 21:02:04 pmg postfix/cleanup[11145]: 9FDB3101210: info: header To: <sistemas@clientdomain.com> from hermes.casa.local[192.168.3.150]; from=<sistemas@mydomain.com> to=<sistemas@clientdomain.com> proto=ESMTP helo=<mail.mydomain.com>
Aug 07 21:02:04 pmg postfix/cleanup[11145]: 9FDB3101210: info: header Subject: test from hermes.casa.local[192.168.3.150]; from=<sistemas@mydomain.com> to=<sistemas@clientdomain.com> proto=ESMTP helo=<mail.mydomain.com>
Aug 07 21:02:04 pmg postfix/cleanup[11145]: 9FDB3101210: message-id=<000001d42ebb$cd6000d0$68200270$@mydomain.com>
Aug 07 21:02:04 pmg postfix/smtpd[11142]: disconnect from hermes.casa.local[192.168.3.150] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Aug 07 21:02:04 pmg postfix/qmgr[7846]: 9FDB3101210: from=<sistemas@mydomain.com>, size=64600, nrcpt=1 (queue active)
Aug 07 21:02:04 pmg pmg-smtp-filter[2401]: 2018/08/07-21:02:04 CONNECT TCP Peer: "[127.0.0.1]:36926" Local: "[127.0.0.1]:10023"
Aug 07 21:02:04 pmg pmg-smtp-filter[2401]: 1012295B6A4F1CC89CE: new mail message-id=<000001d42ebb$cd6000d0$68200270$@mydomain.com>
Aug 07 21:02:04 pmg postfix/smtpd[11150]: connect from localhost.localdomain[127.0.0.1]
Aug 07 21:02:04 pmg postfix/smtpd[11150]: D6BBF10134A: client=localhost.localdomain[127.0.0.1], orig_client=hermes.casa.local[192.168.3.150]
Aug 07 21:02:04 pmg postfix/cleanup[11145]: D6BBF10134A: message-id=<000001d42ebb$cd6000d0$68200270$@mydomain.com>
Aug 07 21:02:04 pmg postfix/qmgr[7846]: D6BBF10134A: from=<sistemas@mydomain.com>, size=66677, nrcpt=1 (queue active)
Aug 07 21:02:04 pmg pmg-smtp-filter[2401]: 1012295B6A4F1CC89CE: accept mail to <sistemas@clientdomain.com> (D6BBF10134A)
Aug 07 21:02:04 pmg postfix/smtpd[11150]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Aug 07 21:02:04 pmg pmg-smtp-filter[2401]: 1012295B6A4F1CC89CE: processing time: 0.136 seconds (0, 0.035)
Aug 07 21:02:04 pmg postfix/lmtp[11146]: 9FDB3101210: to=<sistemas@clientdomain.com>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.32, delays=0.12/0/0.04/0.15, dsn=2.5.0, status=sent (250 2.5.0 OK (1012295B6A4F1CC89CE))
 

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!