procmail
[Top] [All Lists]

trouble with shell in passwd

2002-04-04 05:57:32
Hello,

It is necessary for me to use procmail for copying messages in files.
Has made procmailrc:

---------------------------------------------
LOGFILE=/var/log/procmail.log
VERBOSE=yes

NFI=`formail -xFrom:`
MFI=`expr "$NFI" : '.* <*\((_dot_)*(_at_)(_dot_)*\(_dot_)[A-z,0-9]*\)>*.*'`
NTI=`formail -xTo:`
MTI=`expr "$NTI" : '.* <*\((_dot_)*(_at_)(_dot_)*\(_dot_)[A-z,0-9]*\)>*.*'`

:0c
* ! 
^From:MAILER_DAEMON.*|root.*|postmaser.*|operator.*|uucp.*|daemon.*|informix.*
* ^To:.*infonet.uz.*
| /bin/cat > /tmp/mI.`date +%y-%b-%d-%H%M`-$MTI-$MFI; \
/usr/local/rar/rar m -m5 -rr -ep -ag /var/log/MAIL.ARCHIVE/mail_in_`date 
+%y-%b`.rar /tmp/mI.*
---------------------------------------------

And procmail does not handle those users for whom is /bin/false in passwd.

--------------------------------------
akay142:x:814:814:Akay Akkurt:/home/users/inet/akay142:/bin/false
...
...
--------------------------------------

But the matter is that I forbid to users shell.

How to me to make what it handled users with /bin/false?

Excuse for my bad English language. =)

-- 
==============================================================
  System Administrator    ||            mailto:lost(_at_)infonet(_dot_)uz
    -=InfoNET ISP=-       ||             http://www.InfoNET.uz
 (tm) 2000-01 -=InfoNET=- ||               Tashkent/Uzbekistan
==============================================================

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>