incoming mail rejected on my PMG server

ari.vicky

Member
Sep 17, 2020
5
0
21
32
Hello Guys,

We have installed the latest version of proxmox Mail Gateway but can not receive mail to work correctly ,we keep getting the following error:
PMG Ver 6.2-3

Log receive mail :

Nov 17 13:28:23 mail-gateway postfix/smtpd[18370]: Anonymous TLS connection established from mail.apotek-k24.net[202.169.239.179]: TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)
Nov 17 13:28:23 mail-gateway postfix/smtpd[18370]: NOQUEUE: reject: RCPT from mail.apotek-k24.net[202.169.239.179]: 554 5.7.1 <aristia.viki@apotek-k24.net>: Relay access denied; from=<aristia.viki@k24.co.id> to=<aristia.viki@apotek-k24.net> proto=ESMTP helo=<mail.k24.co.id>
Nov 17 13:28:23 mail-gateway postfix/smtpd[18370]: disconnect from mail.apotek-k24.net[202.169.239.179] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8

Log Send mail :

Nov 17 13:44:23 mail-gateway postfix/smtpd[19084]: connect from localhost.localdomain[127.0.0.1]
Nov 17 13:44:23 mail-gateway postfix/smtpd[19084]: 49B6A20819A2: client=localhost.localdomain[127.0.0.1], orig_client=unknown[192.168.1.69]
Nov 17 13:44:23 mail-gateway postfix/cleanup[19078]: 49B6A20819A2: message-id=<186730984.33.1605595458321.JavaMail.zimbra@apotek-k24.net>
Nov 17 13:44:23 mail-gateway postfix/qmgr[15934]: 49B6A20819A2: from=<aristia.viki@apotek-k24.net>, size=3197, nrcpt=1 (queue active)
Nov 17 13:44:23 mail-gateway postfix/smtpd[19084]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Nov 17 13:44:23 mail-gateway pmg-smtp-filter[15242]: CC2045FB371472D8FC: accept mail to <aristia.viki@k24.co.id> (49B6A20819A2) (rule: default-accept)
Nov 17 13:44:23 mail-gateway pmg-smtp-filter[15242]: CC2045FB371472D8FC: processing time: 0.156 seconds (0, 0.093, 0)
Nov 17 13:44:23 mail-gateway postfix/lmtp[19080]: 1D0D32081984: to=<aristia.viki@k24.co.id>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.25, delays=0.06/0.02/0/0.17, dsn=2.5.0, status=sent (250 2.5.0 OK (CC2045FB371472D8FC))
Nov 17 13:44:23 mail-gateway postfix/qmgr[15934]: 1D0D32081984: removed

Please help to resolve.

Thank you
 
Did you configure `apotek-k24.net` as a relay domain with a server downstream that will accept it?
 
Thanks for fast respon,

where i configure a relay domain with a server downstream ? on PMG or Mail server ?
 
This my configuration on relay domain and Transport, please check and tell me if wrong config.
 

Attachments

  • Screenshot from 2020-11-17 14-57-07.png
    Screenshot from 2020-11-17 14-57-07.png
    30.2 KB · Views: 59
  • Screenshot from 2020-11-17 14-56-49.png
    Screenshot from 2020-11-17 14-56-49.png
    18.5 KB · Views: 60
You have to add the actual domain you want to relay (apotek-k24.net) instead of mail.apotek-k24.net.
 

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!