[vchkpw] Block a mail for a user

2004-06-07 Thread wael . ellouze

I have qmail + vpopmail installed in my server and i want to block a mail from
an external domain ([EMAIL PROTECTED]) only for the user [EMAIL PROTECTED]

How can i do this ?







TUNET
www.tunet.tn



Re: [vchkpw] Block a mail for a user

2004-06-07 Thread Jeremy Kitchen
On Monday 07 June 2004 10:37 am, [EMAIL PROTECTED] wrote:
 I have qmail + vpopmail installed in my server and i want to block a mail
 from an external domain ([EMAIL PROTECTED]) only for the user [EMAIL PROTECTED]

 How can i do this ?

cat EOF  `~vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]/.qmail
|bouncesaying no mail from you ifaddr from : [EMAIL PROTECTED]
./Maildir/
EOF

the ifaddr program is from the qtools package
http://www.superscript.com/qtools/ifaddr.html

bouncesaying is from the qmail package.

hope this helps.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail