Results 1 to 4 of 4
I'd like to block inbound email messages that appear to be from our domain, but which are not in our password file. For instance, suppose a message arrives from spammer ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-31-2009 #1
Postfix: Blocking inbound messages with fake addresses
For instance, suppose a message arrives from spammer (at) ourdomain.com, and we have no such user... that message should be rejected without further processing, since we know they cannot exist.
Is there a Postfix guru in the house who knows how to do this? Is it even possible without writing a plugin of some sort?
(I had to mangle the imaginary address to get the forum to let me post this.)
- 08-31-2009 #2
- 09-01-2009 #3
We're blocking unknown local recipients now; it's unknown local senders I want to block.
The logic I'm wanting goes like this:
IF an email is from a user apparently local to the server, AND that user does not exist, REJECT the message.
Even better would be this (in addition to that):
IF the email is from a user apparently local to the server, AND the message arrived on the external interface/from the outside network, REJECT the message.
These two rules would block a mess of spam.
- 09-04-2009 #4