Great Mirko... two hopefully minor details... - how do I ascertain the location of my maildroprc (my system is installed in /usr/lib/courier, with an /etc under that hierarchy...)
- what ownership and permissions have to be on the maildroprc file (from previous experience, the users .mailfilter files won't operate unless they are 600 and owned by the user) Thanks. -----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
