Koozali.org: home of the SME Server

spam email forwarded to junkmail

Offline alt-network

  • ***
  • 47
  • +0/-0
    • http://www.alt-networking.com
spam email forwarded to junkmail
« 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

Offline mmccarn

  • *
  • 2,656
  • +10/-0
spam email forwarded to junkmail
« Reply #1 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]

Offline alt-network

  • ***
  • 47
  • +0/-0
    • http://www.alt-networking.com
spam email forwarded to junkmail
« Reply #2 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.

Offline pfloor

  • *****
  • 889
  • +1/-0
spam email forwarded to junkmail
« Reply #3 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?
In life, you must either "Push, Pull or Get out of the way!"

Offline alt-network

  • ***
  • 47
  • +0/-0
    • http://www.alt-networking.com
spam email forwarded to junkmail
« Reply #4 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!!!!!