FWIW - copying a file or whatever to all users' folders Here's what i schedule to run once a day (to pick up any new users) where the file spambox.fwd in d:\imail contains the single line : spambox
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rem spamboxcopy.bat rem batch to copy spambox.fwd to ALL users folders rem this way to collect all the junk in under one mailbox viz spambox d: cd \imail dir /b /ad d:\imail\users > d:\imail\userdirs.txt for /F "eol=,tokens=1" %%i in (userdirs.txt) do copy .\spambox.fwd .\users\"%%i" del d:\imail\users\spambox\spambox.fwd rem last line gets rid of .fwd in spambox folder ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rules.ima has lines like S~(blahblah|viagra|v1agra)+:spambox -----Original Message----- From: Pasquale Viscione - Dial S.p.A. [mailto:[EMAIL PROTECTED] Sent: 10 February 2004 15:07 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 - and any files and attachments transmitted with it are confidential and/or privileged. They are intended solely for the use of the intended recipient. Any views and opinions expressed are those of individual author/sender and are not necessarily shared or endorsed by The Irish Times Limited or any associated or related company. The content of this e-mail and any file or attachment transmitted with it may have been changed or altered without the consent of the author. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify the sender by return e-mail or contact The Irish Times Limited at 11-15 D'Olier Street, Dublin 2 or by phoning 6758000. *********************************************************************** ********************************************************************** This e-mail - and any files and attachments transmitted with it are confidential and/or privileged. They are intended solely for the use of the intended recipient. Any views and opinions expressed are those of individual author/sender and are not necessarily shared or endorsed by The Irish Times Limited or any associated or related company. The content of this e-mail and any file or attachment transmitted with it may have been changed or altered without the consent of the author. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify the sender by return e-mail or contact The Irish Times Limited at 11-15 D'Olier Street, Dublin 2 or by phoning 6758000. *********************************************************************** 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/
