[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] systemwide procmailrc corrupts mailboxes on raq4



On Tue, 18 Mar 2003, Maurice de Laat wrote:

> If I enable a systemwide procmail file (/etc/procmailrc) on a raq4, this
> sometimes corrupts the mailboxen in /home/spool/mail. The text below will
> appear in the spoolfile, this gives an error if the user wants to pop their
> mail:

Hello Maurice,

	It appears as if you have shell access shut down for the root
account. That's good. Procmail, however, requires a shell and since no
shell is available the error is generated.

	I've only messed with this problem once and I didn't keep notes
so take what follows with a grain of salt however the clues should help
you correct this.

	You can tell procmail what shell to use by adding a line similar
to the following to your /etc/procmailrc file:

	SHELL=/bin/sh

	I believe that adding a shell to your /etc/procmailrc file will do
the trick. I'm not sure though. You did, however, mention that the
procmail rules you are trying to use work fine when included in a user's
procmailrc file. Thus, if the above does not work, try adding the
following command to your /etc/procmailrc file:

	DROPPRIVS=yes

	This command causes procmail to execute the command on behalf of
the recipient (their priveleges). See man procmailrc for details.

	Again, take this with a grain of salt but using one or both of the
above listed options will most likely eliminate the error.

	Brent