final delivery log

rranieri

New Member
May 25, 2022
5
0
1
Is possible On Web Tracking Center see remote delivery ?

for example:

May 30 14:08:48 pmg relay4/smtp[32664]: 4488621F05: to=<xxxx@xxxx.com.br>, relay=mx.core.locaweb.com.br[177.153.23.241]:25, delay=0.28, delays=0.09/0/0.13/0.05, dsn=5.7.1, status=bounced (host mx.core.locaweb.com.br[177.153.23.241] said: 550 5.7.1 <xxxxx@xxxx.com.br>: Recipient address rejected: SPF MAIL FROM check failed (in reply to RCPT TO command))
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
6,968
1,080
164
Is possible On Web Tracking Center see remote delivery ?
I don't completely understand the question - please describe what you want to acheive

else - the log line you posted says that PMG could not send the mail to <xxxx@xxxx.com.br> because its mail-server mx.core.locaweb.com.br[ rejected it - since PMG's IP is not listed in the SPF record for xxxx.com.br
 

rranieri

New Member
May 25, 2022
5
0
1
Hi, on the web tracking center we only see the log lines referring to the incoming email, the outgoing connection and delivery to the recipient appears only by accessing /var/log/mail.log.
Sorry if it wasn't clear.
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
6,968
1,080
164
could you share the complete log and a screenshot of the tracking center?

also - it seems you've made some modifications to the postfix config - please share those as well (the log-tracker is highly efficient, but not too flexible in the format it expects the logs to be in)
 

rranieri

New Member
May 25, 2022
5
0
1
Captura de Tela 2022-05-31 às 09.23.03.png

in this example we only have the email log coming in but not the sending error to the remote server

May 30 15:11:19 pmg relay4/smtp[36005]: AA6E4220AC: to=<jonimar.radtke@tulio.com.br>, relay=mx-ha.skymail.net.br[168.0.133.10]:25, delay=0.29, delays=0.06/0/0.15/0.07, dsn=5.7.23, status=bounced (host mx-ha.skymail.net.br[168.0.133.10] said: 550 5.7.23 <jonimar.radtke@tulio.com.br>: Recipient address rejected: Message rejected due to: SPF fail - not authorized. Please see http://www.openspf.net/Why?s=mfrom;...p=200.170.82.74;r=jonimar.radtke@tulio.com.br (in reply to RCPT TO command))
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
6,968
1,080
164
as said please share your postfix conifig modifications (relay4 is not a postfix service name afaik)
 

rranieri

New Member
May 25, 2022
5
0
1
Yes, of course, we configure sending over multiple IPs due to receiving policies of some providers

main.cf

sender_dependent_default_transport_maps = randmap:{relay1,relay2,relay3,relay4,}
smtp_connection_cache_on_demand=no

master.cf


relay1 unix - - n - - smtp
-o smtp_bind_address=200.170.82.71
-o smtp_helo_name=pmg1.sili.com.br
-o syslog_name=relay1
relay2 unix - - n - - smtp
-o smtp_bind_address=200.170.82.72
-o smtp_helo_name=pmg2.sili.com.br
-o syslog_name=relay2
relay3 unix - - n - - smtp
-o smtp_bind_address=200.170.82.73
-o smtp_helo_name=pmg3.sili.com.br
-o syslog_name=relay3
relay4 unix - - n - - smtp
-o smtp_bind_address=200.170.82.74
-o smtp_helo_name=pmg4.sili.com.br
-o syslog_name=relay4
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
6,968
1,080
164

rranieri

New Member
May 25, 2022
5
0
1
Hi, Solved by removing the syslog line, it's working fine now.
Thank You very mutch.
 

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 your own in 60 seconds.

Buy now!