[Exim] intermittent 'permission denied'

Startseite
Nachricht löschen
Nachricht beantworten
Autor: tsh
Datum:  
To: exim-users
Betreff: [Exim] intermittent 'permission denied'
RedHat Linux 7.2, kernel 2.4.7, Exim 4.10-1

I'm getting intermittent entries like this in the exim log
on our mail hub.

2003-11-14 08:37:39 1AKPA7-0004wR-00 == pdh@??? <pdh@???> R=localuser T=spam_transport defer (13): Permission denied: creating lock file hitching post /var/exim/mailcontr
ol/scanner/pdh/spambucket.lock.server1.mrc-lmb.cam.ac.uk.3fb49453.00004edd (euid=343 egid=343)
2003-11-14 08:37:40 1AKOo1-0004Uz-00 == pdh@??? <pdh@???> R=localuser T=spam_transport defer (-52): Retry time not yet reached
2003-11-14 08:37:40 1AKU2C-000133-00 == pdh@??? <webmaster@???> R=localuser T=spam_transport defer (-52): Retry time not yet reached
2003-11-14 08:37:40 1AKXsm-00046O-00 == pdh@??? <pdh@???> R=localuser T=spam_transport defer (-52): Retry time not yet reached
2003-11-14 08:37:40 1AKMQv-0001qx-00 == pdh@??? <pdh@???> R=localuser T=spam_transport defer (-52): Retry time not yet reached

They are always associated with the same user (pdh) and, as far as
I can make out, with attempts by the T=spam_transport to write a
spam message into that user's spam bucket.

I have a per-user-configured spam scanner (bogofilter)
running on the hub. Mail for all users who have enabled scanning
is passed through bogofilter, and that which is deemed to
be spam is dumped into a per-user spam bucket on the hub.

This operation seems to work flawlessly for all other users
The only difference is that pdh is the only user who's
good mail is delivered to an account on the hub itself.
Good mail for all other users is passed to another box.


I've checked the protections on the relevant mail files
and they are the same as everyone else's:

-rw-r--r--   1 exim     exim           0 Sep 22 09:15 enablebucket
-rw-r--r--   1 exim     exim           0 Nov  6 14:23 enablescan
-rw-r--r--   1 exim     exim      106496 Nov  6 14:23 goodlist.db
-rw-------   1 exim     exim       22749 Nov 14 18:44 spambucket
-rw-------   1 exim     exim      680160 Nov 14 03:56 spambucket.prev
-rw-r--r--   1 exim     exim      155648 Nov  6 14:23 spamlist.db


In the config file:


localuser:
driver = accept
domains = @
check_local_user

  condition =   ${if and { \
                           {exists{/var/exim/mailcontrol/scanner/$local_part/enablescan}} \
                           {eq \
                               {${run{/bin/csh /usr/exim/spam.csh $local_part ${spool_directory} ${message_id}}{true}{true}}} \
                               {true} \
                           } \
                         }{true}{true} \
                 }
  transport =   ${if = {$runrc}{3} {spam_transport}{local_delivery} }
  headers_add = ${if > {$runrc}{1} {X-Bogosity: LMB}{} }
  no_more


.
.
.

spam_transport:
driver = appendfile
file = /var/exim/mailcontrol/scanner/$local_part/spambucket


Any ideas anyone?

TIA,
Terry



Terry Horsnell (tsh@???)
I.T. Manager
Medical Research Council
Lab of Molecular Biology
Hills Road
CAMBRIDGE CB2 2QH
U.K.
Phone:    +44 (0)1223 248011
Fax:    +44 (0)1223 213556