Relay access denied pmg/exchange

alexohneander

New Member
Apr 20, 2020
3
0
1
30
Hallo,

ich betreibe bei mir Zuhause einen Mail Server (Exchange 2016).
Zusätzlich habe ich das pmg auf meinem Hetzner Server laufen.

Die beiden Server sind via OpenVPN verbunden.
Eingehende Mails kommen sauber an, doch beim versenden erhalte ich immer:
Code:
Apr 20 13:33:12 mailgateway postfix/smtpd[10397]: connect from unknown[10.10.10.4]
Apr 20 13:33:12 mailgateway postfix/smtpd[10397]: NOQUEUE: reject: RCPT from unknown[10.10.10.4]: 554 5.7.1 <mail@gmail.com>: Relay access denied; from=<info@wellcom.rocks> to=<mail@gmail.com> proto=ESMTP helo=<mail.wellcom.rocks>
Apr 20 13:33:12 mailgateway postfix/smtpd[10397]: disconnect from unknown[10.10.10.4] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4

Das OpenVPN Netz steht im pmg auf der Whitelist.
Hat jemand einen Tipp?

Liebe Grüße Alex.
 
Die Whitelist ist in dem Fall der falsche Platz. Das müsste AFAIK unter Configuration -> Mail Proxy -> Networks gesetzt werden.
 
Versenden von Email erfolgen über den "internal SMTP" port.

Sieht so aus, als ob hier die ausgehnende Emails an den "external SMTP" port gesendet werden, der lehnt dann aber richtigerweise ab. (relay access denied)

=> port settings prüfen.
 
Okay danke!
Der Exchange schickt jetzt an den Port 26 (vorher 25).

Jetzt ist aber jeder Adressat (unknown user).


Apr 20 21:48:58 mailgateway postfix/smtpd[7416]: connect from unknown[10.10.10.4]
Apr 20 21:48:59 mailgateway postfix/smtpd[7416]: 023F7226BD: client=unknown[10.10.10.4]
Apr 20 21:48:59 mailgateway postfix/smtpd[7416]: 1BDDE226C9: client=unknown[10.10.10.4]
Apr 20 21:48:59 mailgateway postfix/cleanup[7424]: 1BDDE226C9: message-id=<22a6d7a897ba4dae8da23f3cb3098432@wellcom.rocks>
Apr 20 21:48:59 mailgateway postfix/qmgr[7110]: 1BDDE226C9: from=<info@wellcom.rocks>, size=1925, nrcpt=1 (queue active)
Apr 20 21:48:59 mailgateway pmg-smtp-filter[1081]: 226BD5E9DFCAB2B368: new mail message-id=<22a6d7a897ba4dae8da23f3cb3098432@wellcom.rocks>#012
Apr 20 21:48:59 mailgateway postfix/smtpd[7423]: connect from localhost.localdomain[127.0.0.1]
Apr 20 21:48:59 mailgateway postfix/smtpd[7416]: disconnect from unknown[10.10.10.4] ehlo=1 mail=2 rcpt=2 bdat=2 quit=1 commands=8
Apr 20 21:48:59 mailgateway postfix/smtpd[7423]: 33748226CF: client=localhost.localdomain[127.0.0.1], orig_client=unknown[10.10.10.4]
Apr 20 21:48:59 mailgateway postfix/cleanup[7418]: 33748226CF: message-id=<22a6d7a897ba4dae8da23f3cb3098432@wellcom.rocks>
Apr 20 21:48:59 mailgateway postfix/qmgr[7110]: 33748226CF: from=<info@wellcom.rocks>, size=2137, nrcpt=1 (queue active)
Apr 20 21:48:59 mailgateway pmg-smtp-filter[1081]: 226BD5E9DFCAB2B368: accept mail to <aw@domain.de> (33748226CF) (rule: default-accept)
Apr 20 21:48:59 mailgateway postfix/smtpd[7423]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Apr 20 21:48:59 mailgateway pmg-smtp-filter[1081]: 226BD5E9DFCAB2B368: processing time: 0.044 seconds (0, 0.016, 0)
Apr 20 21:48:59 mailgateway postfix/lmtp[7419]: 1BDDE226C9: to=<aw@domain.de>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.11, delays=0.06/0/0/0.05, dsn=2.5.0, status=sent (250 2.5.0 OK (226BD5E9DFCAB2B368))
Apr 20 21:48:59 mailgateway postfix/qmgr[7110]: 1BDDE226C9: removed
Apr 20 21:48:59 mailgateway postfix/local[7429]: 33748226CF: to=<aw@domain.de>, relay=local, delay=0.03, delays=0.01/0.02/0/0, dsn=5.1.1, status=bounced (unknown user: "aw")
Apr 20 21:48:59 mailgateway postfix/qmgr[7110]: 33748226CF: removed
 

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!