Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
POSTFIX - header checks not working as expected.
« previous
next »
Print
Pages: [
1
]
Author
Topic: POSTFIX - header checks not working as expected. (Read 238 times)
dannyboy1121
Newbie
Posts: 1
Karma: 0
POSTFIX - header checks not working as expected.
«
on:
August 22, 2024, 02:42:02 pm »
Hello - I'm trying to get Postfix to do what I've done previously with the old Pfsense Postfix setup (when that was supported) by using header checks to block traffic claiming to be from certain locations.
What I'm seeing is that the regex works but Postfix isn't supporting REJECT
e.g:
/^From:.*hotmail.com/ REJECT
Gives log entry -
warning: unsupported command in smtp_header_checks map: REJECT
Then the mail passes rather than gets blocked. Same for DISCARD.
Is that right? The OPNsense implementation doesn't support it? The alternative is to reject specific senders, but that only appears to work with full addresses, not partial as above.
Any help / ideas would be appreciated.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
POSTFIX - header checks not working as expected.