Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: veoroj on January 10, 2007, 05:44:07 AM

Title: how to reject unknown sender address
Post by: veoroj 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?
Title: Re: how to reject unknown sender address
Post by: CharlieBrady 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.
Title: Re: how to reject unknown sender address
Post by: dmay 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
Title: Re: how to reject unknown sender address
Post by: CharlieBrady 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.
Title: how to reject unknown sender address
Post by: dmay 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
Title: how to reject unknown sender address
Post by: CharlieBrady 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.
Title: how to reject unknown sender address
Post by: kruhm 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...