Questions about Mail Gateway

Linksoft

New Member
Feb 15, 2022
3
0
1
45
Dear team,

Good day!

Customer has set a role to block mails with blank subject, and they noticed it doesn’t work these days.
Customer is using Proxmox mail Gateway 6.4-4, please kindly see below screenshots and help us fix it.
Roles:
 

Attachments

  • 1.png
    1.png
    24.6 KB · Views: 24
  • 2.png
    2.png
    47.3 KB · Views: 24
  • 3.jpg
    3.jpg
    17 KB · Views: 24

Linksoft

New Member
Feb 15, 2022
3
0
1
45
Dear team,

Good day!

Customer has set a role to block mails with blank subject, and they noticed it doesn’t work these days.
Customer is using Proxmox mail Gateway 6.4-4, please kindly see below screenshots and help us fix it.
Roles:
Any update for this project?
Thanks in advance.
 

mira

Proxmox Staff Member
Staff member
Aug 1, 2018
1,762
191
83
Please provide the headers, including the subject, of such a mail.
 

Linksoft

New Member
Feb 15, 2022
3
0
1
45
Dear Mira,

Please attached file, thank you !
 

Attachments

  • Mail.zip
    2.3 KB · Views: 2

mira

Proxmox Staff Member
Staff member
Aug 1, 2018
1,762
191
83
The issue in this case seems to be the space after `Subject:` -> `Subject: `.
You could rewrite the regex to match any space (^\s*$) instead.
 

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!