nishit forced the electrons to say:
> server and if I also do the forwarding on my Linux server through '.forward'
> file then that particular user receives 2 mails of one mail sent to him.

Procmail is your friend - use it!

put in the user's .procmailrc a recipe like:

:0:
* ^From.*your.local.domain
{
   :0 c
      ! [EMAIL PROTECTED]

   :0
   /var/spool/mail/name
}

Handling mail looping etc. left as an exercise to the reader :-)

See procmail(1) and procmailex(5) for more details.

Binand

-- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to