Koozali.org: home of the SME Server

~/.qmail mods

Offline mark

  • **
  • 34
  • +0/-0
    • http://webcoda.com
~/.qmail mods
« on: September 14, 2006, 08:31:23 AM »
Hi

I want to sort spam to the junkmail folder and send the rest to tmda so can I have the following in my .qmail file?

| condredirect username-junkmail /bin/grep -q -i 'X-Spam-Status: Yes'
|preline /usr/bin/tmda-filter
./Mailbox

and if so how do I create custom templates in /etc/e-smith/templates-user-custom/.qmail to apply the above to certain users only?

all help appreciatd


Mark

Offline JonB

  • *
  • 351
  • +0/-0
~/.qmail mods
« Reply #1 on: September 14, 2006, 04:03:52 PM »
Mark,

That should work in .qmail.

To get it to work for certain users take a look at /etc/e-smith/templates-user/.qmail/15sortspam

You will need to add a database property for each user, say TMDA, and enable or disable.

You can pretty much copy 15sortspam but make the necessary changes to use a different database property and a different output.

Or you could spend $90 and get the TMDA package from Stephen Noble at dungog.net. This will provide you with a Server Manager panel to enable or disable TMDA per user.

Have you taken into account the fact that confirmation emails will be blocked by the goodrcptto plugin of qpsmtpd. It will not like the tagged reply email address. The respondents may have to use the confirmation link in the challenge email (if you have tmda-cgi installed).

Personally I hate TMDA and refuse to respond to the challenge emails. If someone doesn't want my email the first time I am not going to go out of my way to make sure they get it. I know a lot of people who feel the same way. I also know a lot of people that started using Vanquish and stopped using it because no-one was responding.

Jon
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
~/.qmail mods
« Reply #2 on: September 14, 2006, 05:15:59 PM »
Quote from: "JonB"

Personally I hate TMDA and refuse to respond to the challenge emails.


I'd very strongly discourage anyone from using challenge-response software. It just shift the spam burden from you to lots of other innocent parties, and increases the total amount of unwanted email.

http://tardigrade.net/challengeresponse.html
http://kmself.home.netcom.com/Rants/challenge-response.html
http://www.politechbot.com/p-04746.html
http://www.businessweek.com/magazine/content/03_27/b3840044.htm
http://www.templetons.com/brad/spam/challengeresponse.html

Offline mark

  • **
  • 34
  • +0/-0
    • http://webcoda.com
tdma
« Reply #3 on: September 14, 2006, 10:01:41 PM »
I have some users who have other important but spam ridden pop accounts which are collected via fetchmail and therefore seem to miss out on being filtered by qpsmtpd.

tmda seemed like a solution to their problem - but I would be keen to hear any other sugestions.

spam levels for other users who recieve all their mail direct to the server are fine because qpsmtpd kills off so much off it with its initial checks.

cheers

Mark