Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Imail Forum
Ipswitch list for Imail
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Imail :
product's home
product's list home
 
  Archived TallyList / Imail Forum: 
Subject: Re: user-filter@domain
Andrew SNOWDEN (16p/+1r)     Posted: Thursday 07 Dec 2000
This post: 116 views, +1 rating

Problem - user-filter mailbox created when filtering

Solution- 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" <cmacias@lottolatino-ve.com> >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 executable file,have to be send to an specific mailbox,lets call it >mailto:filter@lottolatino-ve.com,and not to the user mailbox, but instead of doing that ,they are being send to the user mailbox ,for example cmacias-filter@lottolatino-ve.com .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 >


Similar Subject Line Posts (+/- two weeks of this post)
Re: Filtering user-filter@domain  07 Dec 2000   (44 v/ +0 r)
Re: user-filter@domain  07 Dec 2000 (this post)   (116 v/ +1 r)
 

Send a reply to the Imail Forum list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000