Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: damjan on July 05, 2006, 07:48:15 AM

Title: Transfer all of spam to one account only
Post by: damjan 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
Title: Re: Transfer all of spam to one account only
Post by: gordonr 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.