You should be able to setup inbound rule on the domain for this.  You
have to build the rule to identify the spam depending on how you are
sorting.  The final action of the rule should be to move the message to
the mail box spambox and each time a new messages comes in Imail will
examine it, if it matches your rule, it will automatically create eh
spambox.mbx file for you and move that message there.  Then the script
below will delete all message in the box that are 1 day old.  I don�t
use the built in spam system I use Declude for Imail.  I have it Mark in
the subject line a SPAM: in front of each message that has a certain
score or higher.  I then created an inbound rule on our domains as
described above.  I then use a similar script as seen below but I set
the days to 30, instead of 1.  We are already killing most of the spam
with by deleting it with Declude, but the ones that score in the range
that we have set as less certain simply tag them.  Then when this script
is schedule to run nightly it deletes all the messages that are more
than 30 days old in any box named spambox on the server.  This allows
the customer to use webmail to check their spambox if they think they
are missing any messages.  They can check back as for as 30 days.

Good luck.

-Jeff Cox
www.onlinemac.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pasquale
Viscione - Dial S.p.A.
Sent: Tuesday, February 10, 2004 7:07 AM
To: [EMAIL PROTECTED]
Subject: R: [IMail Forum]Delete msg in a spam.mbx


Thanks; It work!

Now, I have to create a file called "spam.mbx" in every mailbox for each
user. What can I do??


-----Messaggio originale-----
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Tripp Allen
Inviato: marted� 10 febbraio 2004 14.01
A: [EMAIL PROTECTED]
Oggetto: Re: [IMail Forum]Delete msg in a spam.mbx


Trying changing your command to 

immsgexp -tE:\Mailhosts -d1 -mspam.mbx

That should look at all the spam.mbx files. 

Tripp

----- Original Message ----- 
From: "Pasquale Viscione - Dial S.p.A." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 7:36 AM
Subject: [IMail Forum]Delete msg in a spam.mbx


Hi,

I use this script for removing a message in a submailbox "spam.mbx"

immsgexp -tE:\Mailhosts\antispam\users\pasquale -d1 -mspam.mbx

This script works only for a single users.
What can I do for do this for every use of a mailhosts or for all the
users of all mailhosts.

I don't want to this manually for single users.

Please help me.

Pasquale.




To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/




To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
---
[This E-mail Scanned for viruses by Onlinemac.com]




---
[This E-mail Scanned for viruses by Onlinemac.com]


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to