ok - scratch that last post... maildroprc should be 644. Seems to work if owned by courier, but still required 644, not 600.
I've figured out the proper location, and have a line: SHELL=/bin/sh Thanks again. m/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mirko Zeibig Sent: Friday, March 07, 2003 12:43 AM To: [EMAIL PROTECTED] Subject: Re: [courier-users] per user mailfilter files without shell access? What do I have to do? Mitch (WebCob) said the following on 03/07/2003 06:47 AM: > I'm using mysql from the auth daemon for virtual domains. > > I have REAL unix accounts per user. > > I want to run maildrop. > > In most cases, I don't want the users to have shell access. > > but when I create .courier: > |/usr/lib/courier/bin/maildrop /home/useraccount/.mailfilter > > AND .mailfilter (owned by useraccount and chmod'd 600) > > it fails to run unless the user has an operating shell. I guess you have to set the shell explicitly in .mailfilter or in /etc/maildroprc ala: SHELL=/bin/ash I use ash as I do not really need all the bells and whistles of bash in mailfilter-scripts. You may even consider using sash, which comes with a lot of included builtin commands, where the builtin ones are preceded with a -. This could allow you to write "-mkdir /tmp/foobar" without forking. Notice that I did not check sash for usability, ash I use on some computers for mailfiltering. Regards Mirko ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
