[SOLVED] Spam Quarantine E-Mail Adressen mit Anführungszeichen

sb-jw

Famous Member
Jan 23, 2018
1,843
288
128
32
Hallo zusammen,

durch einen kleinen Scriptfehler habe ich leider nun in der Spam Quarantine E-Mail Adressen mit Anführungszeichen drin, wenn ich versuch die E-Mails in der Spam Quarantine für diese E-Mail zu löschen, erhalte ich immer eine Fehlermeldung. Auch per API kann ich diese nicht entfernen, in der Datenbank finde ich auch keine Einträge dazu. Die mir vorliegenden IDs aus dem Trackingcenter werden auch nicht von PMG akzeptiert.

Code:
root@spam01:~# pmgsh get /quarantine/spamusers
200 OK
[
   {
      "mail" : "\"body:dear\"@spam01.domain.tld"
   },
   {
      "mail" : "\"from:no-reply\"@domain.tld"
   },
   {
      "mail" : "\"spam01.domain.tld:26\"@spam01.domain.tld"
   },
   {
      "mail" : "\"subject:potential\"@spam01.domain.tld"
   }
]

Code:
root@spam01:~# pmgsh get /quarantine/spam --pmail \"body:dear\"@spam01.domain.tld
400 Parameter verification failed.
pmail: invalid format - value does not look like a valid email address

get quarantine/spam  [OPTIONS]
Hier habe ich auch bereits verschiedenste Variationen ausprobiert, die Zeichen mal konvertiert, mal escaped mal nicht usw.

Code:
root@spam01:~# pmgsh create /quarantine/content --action delete --id 1423875CDF09D507F15
400 Parameter verification failed.
id: value does not match the regex pattern
create quarantine/content --action <string> --id <string> [OPTIONS]

Jemand eine Idee, wie man das gelöst bekommt?

Danke!
 
Ich habe gestern mal die beiden Gateways aktualisiert und heute morgen auf dem Smartphone noch mal versucht, nun ging es ohne Probleme.

Ich vermute weniger, dass es am Smartphone lag wohl mehr an dem Update :)
 

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!