Find the answer to your Linux question:
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.
  1. #1
    Just Joined! Solomoriah's Avatar
    Join Date
    Aug 2009
    Posts
    3

    Postfix: Blocking inbound messages with fake addresses


    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 (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.)

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    how are you handling that now?
    Rejecting Unknown Local Recipients with Postfix

  3. #3
    Just Joined! Solomoriah's Avatar
    Join Date
    Aug 2009
    Posts
    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.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! Solomoriah's Avatar
    Join Date
    Aug 2009
    Posts
    3
    Evidently, nobody knows how to do it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •