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

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



Maurice de Laat wrote:
Hi,

Curious problem:
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:
************************* Access Denied *************************
*                                                               *
* Sorry, you do not have telnet/shell access to this Cobalt     *
* server.                                                       *
*                                                               *
*****************************************************************
[snip]

Hi Maurice,

You're not setting the shell procmail should use in the .rc file, so it's using the user's default shell, which is often /bin/badsh.

Just put

SHELL=/bin/sh

at the top of the procmailrc file.

Regards,

	Richard