You need to put a file "filter.fwd" into each users mail directory that contains the 
line "filter". This will forward all mail going to the mailbox fliter to the user 
filter@domain and thus prevent the creation of the mail box user-filter@domain 

To make things easier, I have a batch file that will copy the file filter.fwd into 
each users mail driectory. 

On the server, go to the Imail folder, create a folder "master". 
Create the file "filter.fwd" (see above) in the "master" folder. 
Copy the following code into notepad and save it as "rulecopy.bat" 

@echo off 
echo. 
echo This batch copies the file .\master\filter.fwd 
echo into all subdirectories. It has to be started from 
echo the root of any of your mail domain's directories. 
echo. 
pause 

rem building userlist based on directory only 
dir /B /AD users>dirlist.txt 
echo.>rulecopy.log 
echo Please wait while the file is copied ... 

rem copy the source file to each directory 
rem Note that this command must all be on one single line: 
FOR /F "eol= tokens=1,* delims=/" %%i in (dirlist.txt) do echo %%i>>rulecopy.log && 
copy .\master\filter.fwd .\users\"%%i" >>rulecopy.log 
type rulecopy.log 
echo. 
echo Check file rulecopy.log for details. 
echo. 
:END 

Now, on the server, at a dos prompt, go to the imail directory and type in 
"rulecopy.bat", press enter, follow instructions on screen. 

Every user should now have the file "filter.fwd" in their mail directory. 

I hope this helps. 

Andrew Snowden, ICT Co-ordinator 
Cheadle Hulme School, UK 

---------- Original Message ---------------------------------- 
From: "Carlos Macias" <[EMAIL PROTECTED]> 
Date: Wed, 6 Dec 2000 11:15:20 -0400 

>Hi.everyone. 
>I have a question about setting a rule in the Imail server. 
> 
>I set a rule which consist that all the incoming mail that have an . E X E file,have 
>to be send to an specific mailbox,lets call it 
>mailto:[EMAIL PROTECTED],and not to the user mailbox, but instead of doing 
>that ,they are being send to the user mailbox ,for example 
>[EMAIL PROTECTED] .I read somewhere that it is possible to send them 
>to a specific mailbox but I could not do it.I did what the help file says but it did 
>not work.Any help will be appreciated. 
>By the way Len,I would like it to give you the winners numbers but that is another 
>network that is not under my care. 
> 
>Thanks in advance 
> 
> 
>Carlos Macias 

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to