PMG: Mail Gateway 8.1.2
Having a problem creating an auto responder for user@email.domain <-- kept generic for this post.
Action Objects: sales_test
Receiver: __SENDER__
Notification: __SUBJECT__
Body:
Order received notification:
Dear __SENDER__,
Thank you for your order, we have...
Update:
I think I figured this out.
Regex:
^.+\[EXTERNAL SENDER\]:.*
Test Sring:
RE: [EXTERNAL SENDER]: Yo yo ma dkddkd _ dkad
As it turns out, the system isn't doing what I thought it was anyway. When users reply back and forth I thought they were seeing the subject rewritten multiple...
Striking out here...I tried looking up regex help like at a site regex101.com and others to help me write one but they pass on those sites and fail on a pmg test. Any ideas?
Passes on the site:
All I really want is to match the string: '[EXTERNAL SENDER]:' in any part of the subject...
All,
I figured the one out.
1 - Make a "who" objects in: Mail Filter > Who Objects
2 - Add the domain or email address you want to have the bypass
3 - Click "Mail Filter" and add, the direction I had was "in" and put it as a priority higher than the subject rewrite
4 - Click on your new rule...
Hi All,
In PMG I have a subject rewrite that rewrites the subjects of an email from outside of the organization.
The first problem with it is that it works great BUT if someone has a conversation, you have it continually adding in a new [EXTERNAL SENDER] to the email subject. Is there any...
Yowza...I needed google to yield the results form this post LOL: https://forum.proxmox.com/threads/add-external-to-the-subject-line-of-all-email-from-outside-of-my-domain.71924/
Leaving here for anyone else looking for this. I'm trying this now.
Hi,
In an attempt to notify the users of possible spam I'd like to rewrite the subject from ANY email that originates from a domain we don't host.
Example:
External spammer / phishing attempt uses the name of someone in the company (CEO or CFO). They then send an email "from" said "CEO" and...
Hi - I'm not sure how to do that. I could probably flesh it out a bit with more information too. I was struggling with spam coming in and going through the logs I was like...I have no hits on my RBL's...hmmmm. Then I remembered what I had written on Whackers for Hackers. I wrote that. I had...
Anyone not having DNSBL's work correctly returning results on your PMG that uses a Windows DNS server you may need to run these commands on your Windows DNS Servers.
Reference: Whackers For Hackers
Command:
dnscmd your_dns_server_hostname_or_IP_here /zoneadd b.barracudacentral.org /forwarder...
Oh boy...so, I added all the rules with capitals...AAA, TOP, etc. right...and, I don't think it's blocking ".top" for example in emails because it's not ".TOP".
Now I've got to delete all those entries but can't figure out the -delete syntax for the entries.
Manual deleting hundreds of these...
Thanks for the assist but I can't see it in the "TLD Blocking" list I created...I did get output from the command though.
pmgsh create /config/ruledb/who/2/regex --regex '.*\.test1'
200 OK
118
So...it says "OK"...I'm just not sure where it went LOL.
Edit: I see, it went to the "who objects"...
I am trying to figure out how I can programatically add TLD's to the:
mail filter > what objects > TLD blocking > value
I saw you can use pmgsh in commands like "pmgsh create /config/ruledb/who/2/domain -domain blacklistdomain.example" to block domains but I wanted to block TLD's first.
There...
Well I had a backup so I simply installed the latest version then restored from backup. That worked :)
Thank you for your feedback. It just wasn't worth putting my time into it to resolve but I see I used the wrong deb update url per Tom. Thanks.
Can anyone help me? I've now got a borked install after running through the 5 > 6 pmg in place upgrade.
root@pmail01:/etc/apt/sources.list.d# apt update
Hit:1 http://security.debian.org buster/updates InRelease
Get:2 http://download.proxmox.com/debian buster InRelease [3,051 B]...
This may or may not help someone. I find the forums don't literally spelling things out well enough for potential noobs. When you document it document it well and this is how.
cd /etc/postfix
nano main.cf
ctl + w (brings up "find") and type in: dnsbl <-- hit enter on your keybaord
Brings you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.