[exim] procmail on read-only fs returns success?

Top Page
Delete this message
Reply to this message
Author: Axel Thimm
Date:  
To: exim-users
Subject: [exim] procmail on read-only fs returns success?
Hi,

I recently got my NFS mount tunred read-only. Exim delivers mails over
NFS on this system using procmail. Unfortunately procmail seems to not
notice that the append operations fail, it only nozices the failure of
the logging operations.

Mar 22 05:41:43 junior exim[26604]: 1HUF7I-0006v6-MY <= fedora-list-bounces@??? H=hormel.redhat.com [209.132.177.30] P=esmtp S=3758 id=Pine.LNX.4.64.0703221440290.5901@???
Mar 22 05:41:43 junior procmail[27630]: Error while writing to "/home/athimm/.var/procmail/log.init"
Mar 22 05:41:43 junior procmail[27630]: Error while writing to "/home/athimm/.var/procmail/spool.log"
Mar 22 05:41:43 junior procmail[27636]: Error while writing to "/home/athimm/.var/procmail/backup.log"
Mar 22 05:41:44 junior exim[27628]: 1HUF7I-0006v6-MY => athimm <Axel.Thimm@???> R=localuser_procmail T=procmail_delivery
Mar 22 05:41:44 junior exim[27628]: 1HUF7I-0006v6-MY Completed

The corresponding transport looks like

procmail_delivery:
driver = pipe
command = /usr/bin/procmail -d $local_part
delivery_date_add
envelope_to_add
return_path_add
headers_remove = X-Scan-Signature:Lines:Content-Length
headers_add = Lines: $body_linecount
check_string = "From "
escape_string = ">From "
user = $local_part

Shouldn't procmail return a failure on a read-only fs and have the
mail bounce?
--
Axel.Thimm at ATrpms.net