Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: alt-network on October 13, 2006, 06:50:14 PM

Title: spam email forwarded to junkmail
Post by: alt-network on October 13, 2006, 06:50:14 PM
I am running sme 7.0 with the spam filtering on and set to forward spam to junkmail folder for the user.

The question I have is this. One of the users does not want email forwarded to the junkmail and wants them to go into the inbox.

How do I set one user to have spam email not forward to the junkmail folder?

Thanks
Title: spam email forwarded to junkmail
Post by: mmccarn on October 14, 2006, 03:30:46 PM
[guess]
Looking at /etc/e-smith/templates-user/.qmail/15sortspam it looks as though

db accounts setprop <username> SortSpam disabled
signal-event email-update

(replace <username> with the one you want to modify, without the brackets)

may do what you want...

[/guess]
Title: spam email forwarded to junkmail
Post by: alt-network on October 14, 2006, 08:02:24 PM
It did not work. The settings are in the .qmail for the user see attached:

dpg .qmail
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://wiki.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------


| condredirect dpg-junkmail /bin/grep -q -i '^X-Spam-Status: Yes' <NOTE
# TMDA not set
# Vacation Message not set
# Procmail/Maildrop disabled for this user
&dpg@alt-networking.com
# No local delivery

This is what I am tring to bypass.
Title: spam email forwarded to junkmail
Post by: pfloor on October 14, 2006, 10:24:41 PM
Quote from: "alt-network"

| condredirect dpg-junkmail /bin/grep -q -i '^X-Spam-Status: Yes' <NOTE
# TMDA not set
# Vacation Message not set
# Procmail/Maildrop disabled for this user
&dpg@alt-networking.com
# No local delivery

This is what I am tring to bypass.


The above commands that mmccarn posted do indeed work.  It looks like you have a couple of contribs installed and these might be causing you some problems.

What email and/or user related contribs do you have installed?
Title: spam email forwarded to junkmail
Post by: alt-network on October 15, 2006, 12:16:18 AM
I am using

dungog-email-1.2-4.noarch.rpm
smeserver-mailsorting-0.9-5.noarch.rpm

Sorry, I tried again with the command and it did work. It also worked with the current contribs.

Thank you all for the help!!!!!