PMG does not send spam report quarantine

mmisolution

Member
Apr 3, 2023
11
2
8
Hi to all,

We are testing PMG (subscription OK) since few days and we have an issue with the spam report; this one is simply.. not sent :/
I checked all the topics in the forum but we are still stuck with these


Here is our version
pmgversion -v
proxmox-mailgateway: 7.3-1 (API: 7.3-3/a3d66da0, running kernel: 5.15.102-1-pve)
pmg-api: 7.3-3
pmg-gui: 3.3-2
pve-kernel-helper: 7.3-8
pve-kernel-5.15: 7.3-3
pve-kernel-5.15.102-1-pve: 5.15.102-1
clamav-daemon: 0.103.8+dfsg-0+deb11u1
ifupdown2: 3.1.0-1+pmx3
libarchive-perl: 3.4.0-1
libjs-extjs: 7.0.0-1
libjs-framework7: 4.4.7-1
libproxmox-acme-perl: 1.4.4
libproxmox-acme-plugins: 1.4.4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-4
libpve-http-server-perl: 4.2-1
libxdgmime-perl: 1.0-1
lvm2: 2.03.11-2.1
pmg-docs: 7.3-2
pmg-i18n: 2.12-1
pmg-log-tracker: 2.3.2-1
postgresql-13: 13.9-0+deb11u1
proxmox-mini-journalreader: 1.3-1
proxmox-spamassassin: 4.0.0-2
proxmox-widget-toolkit: 3.6.4
pve-firmware: 3.6-4
pve-xtermjs: 4.16.0-1
zfsutils-linux: 2.1.9-pve1


I ran

pmgqm status
Count Spamlevel Mail
1 10.00 xxxxxxx@xxxxxx.tech (external address)

pmgqm send --receiver xxxxxxx@xxxxxx.tech
returns nothing

pmgqm send -debug 1
returns nothing



I tcpdump either on the interfaces of the proxmox, nothing out there

..and also tcpdump on our firewall to be sure: same result ! nothing....:eek:



Can you help us out ?
Thanks !
Michael
 
hi,
what do you mean with :

(external address)
?
normally pmg should not send a spamreport to external email adresses?

also what is set as the spam report style (configuration -> spam detector -> quarantine -> user spamreport style)
 
Hi Dominik,

Thanks for reading us

PMG is installed front-end for testing purpose in our datacenter for our different customers.

Our customers have their own mailserver on prem' in their own infrastructure (and often are equipped with 2 different internet access)

Each customer have internally one mail server (mainly MS Exchange) with several domain names inside.

-> So the customer's MX are pointing to "our PMG", which relays to these different customer's infra (with LDAP verification for sure).
(with the use of a FQDN englobing the IP of their 2 different internet access)
This is the simpliest picture.



So, we have the MX of a domain called (example) "domain123.com" pointing to our PMG.

This "domain123.com" is configured in Configuration/Mail Proxy/ Relay Domains
Then in Configuration/Mail Proxy/ Transports, this domain is configured to send via SMTP/25 to the FQDN of the customer (which englobes their 2 different internet access)

The thing is, the email address of the customer for the domain we try to protect (let's say michael.jackson@domain123.com) does have different aliases in his Exchange Server
...and the primary one is not michael.jackson@domain123.com but michael.jackson@domain000.com (again, example)


So, in the Tracking Center, I can see emails for michael.jackson@domain123.com (accepted / rejected/ ...) which is fine
but in Administration / Spam Quarantine in the Email field, I see SPAMS in the list but the addresses are michael.jackson@domain000.com or michael.jackson@domain001.com, not michael.jackson@domain123.com

If I select a SPAM in the list of michael.jackson@domain000.com (example) , I can see Receiver the is correct: michael.jackson@domain123.com

So, in Administration / Spam Quarantin /Email Field, I do not have michael.jackson@domain123.com in the drop down list

Weird but that's it

Maybe should I configure the transport or relay domains with all the domains owned by our customers, but not (yet) protected by the PMG ?

Thanks again for your help, very appreciated
Michael
 
Hi,
I think that's the missing point ;)

-> all the domains owned by our customer should be configured in the relay domains section (but not (yet) protected by the PMG)
 
yes you have to enter *all* domains into the relay domains for which you want to receive and forward mail