Koozali.org: home of the SME Server

how to reject unknown sender address

veoroj

how to reject unknown sender address
« on: January 10, 2007, 05:44:07 AM »
There are spams coming into my server which after thorough investigation, I found out that the sender address from the sender domain does not exist. Im aware that smeserver has the capability of rejecting email to invalid recipient but what about rejecting emails from invalid senders? Is there any method on how to do this?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: how to reject unknown sender address
« Reply #1 on: January 10, 2007, 03:54:36 PM »
Quote from: "veoroj"
There are spams coming into my server which after thorough investigation, I found out that the sender address from the sender domain does not exist. Im aware that smeserver has the capability of rejecting email to invalid recipient but what about rejecting emails from invalid senders? Is there any method on how to do this?


Not easily. There is no global list of valid email addresses. The only way to determine if an address is valid is to try to send email to it.

SME7 already verifies that the domain name part of the sender address is valid.

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: how to reject unknown sender address
« Reply #2 on: January 10, 2007, 04:16:52 PM »
Quote from: "veoroj"
...what about rejecting emails from invalid senders? Is there any method on how to do this?

As Charlie mentioned there is currently no qpsmtpd plugin available to automatically confirm if a senders e-mail address is valid. However there is a plugin called check_badmailfrom that is available to manually reject invalid senders. It reads defined /var/qmail/control/badmailfrom entries.

I'm currently working on an alpha (read HIGHLY EXPERIMENTAL) server-manager panel (smeserver-wbl) for administering white/black lists. Development is being discussed on devinfo.

Darrell

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: how to reject unknown sender address
« Reply #3 on: January 10, 2007, 09:01:54 PM »
Quote from: "dmay"

However there is a plugin called check_badmailfrom that is available to manually reject invalid senders.


Just to clarify, note that it does not "reject invalid senders", it will reject a specified list of senders or sender patterns.

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
how to reject unknown sender address
« Reply #4 on: January 11, 2007, 02:21:34 AM »
My whole quote said the same thing:
Quote
However there is a plugin called check_badmailfrom that is available to manually reject invalid senders. It reads defined /var/qmail/control/badmailfrom entries.

Darrell

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
how to reject unknown sender address
« Reply #5 on: January 11, 2007, 03:09:20 AM »
Quote from: "dmay"
My whole quote said the same thing:
Quote
However there is a plugin called check_badmailfrom that is available to manually reject invalid senders. It reads defined /var/qmail/control/badmailfrom entries.

Darrell


The first statement is ambiguous. It becomes unambiguous if you change it to read:

Quote

However there is a plugin called check_badmailfrom that is available to manually reject specified invalid senders.


But in fact, that is incorrect. What it should say is:

Quote

However there is a plugin called check_badmailfrom that is available to manually reject specified senders.

Offline kruhm

  • *
  • 680
  • +0/-0
how to reject unknown sender address
« Reply #6 on: January 11, 2007, 05:51:37 AM »
my /var/qmail/control/badmailfrom seems to have disappeared after the recent upgrade.

i know, i know... it's already there... 2279...