Koozali.org: home of the SME Server

Transfer all of spam to one account only

damjan

Transfer all of spam to one account only
« on: July 05, 2006, 07:48:15 AM »
Hi,

-----
In SME7, the default processing consists in the forwarding the offensive email to the junkmail folder of relevant users.
-----

Is there any way to forward all spam mail to only one account (aka. allofspam@company.com)?

How to do it and keep the functionality of deleting all spam older then 90 days?

Thank you

Damjan

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Transfer all of spam to one account only
« Reply #1 on: July 07, 2006, 03:13:04 AM »
Quote from: "damjan"

Is there any way to forward all spam mail to only one account (aka. allofspam@company.com)?


The sorting to a user's junkmail folder is done by /etc/e-smith/templates-user/.qmail-junkmail/10deliver_to_junkmail

You should be able to create an equivalent file in templates-user-custom to override the default behaviour.

As usual, as this is a custom template, all bets are off for future upgrades.

BTW: This might be worth raising as a New Feature Request in SME Server Future once you have it working.
............