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

[cobalt-users] systemwide procmailrc corrupts mailboxes on raq4



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.                                                       *
*                                                               *
*****************************************************************

The procmailfile is functioning ok.
If I use the same file as a personal procmailfile, there's no error.

The procmailfile is used to change the subjectline when a message from a
blacklisted server has arrived, I have listed it below.

Any help welcome.
Thank you.


:0
* ^X-rbl-3:.*SpamHaus
{
     :0 f
     * ^Subject:\/.*
     | /usr/bin/formail -i "Subject: [Spam] [SpamHaus] $MATCH"
     :0 Ef
     * ! H ?? ^Subject:
     | /usr/bin/formail -i "Subject: [Spam] [SpamHaus]"
}
:0 E
* ^X-rbl-2:.*ORDB
{
     :0 f
     * ^Subject:\/.*
     | /usr/bin/formail -i "Subject: [Spam] [ORDB] $MATCH"
     :0 Ef
     * ! H ?? ^Subject:
     | /usr/bin/formail -i "Subject: [Spam] [ORDB]"
}
:0 E
* ^X-rbl-1:.*SpamCop
{
     :0 f
     * ^Subject:\/.*
     | /usr/bin/formail -i "Subject: [Spam] [Spamcop] $MATCH"
     :0 Ef
     * ! H ?? ^Subject:
     | /usr/bin/formail -i "Subject: [Spam] [Spamcop]"
}

-- 
Maurice de Laat