Dan Doucette (Dano) wrote:
> I'm getting an error message in just one of my user's procmail logs. The
> error is; 'procmail: Error while writing to "caughtspam"'

That is really a procmail question not a spamassassin question.

Does your syslog and/or maillog say anything interesting?  Usually
/var/log/syslog and /var/log/mail.log but configurable in the
/etc/syslogd.conf file so it could be anywhere depending upon who set
up your system.  It could even be logged to a central system.

> I've set the permissions properly, I'm sure of that.

Are you sure?  As the saying goes, if you have to ask...  If you post
your permissions (ls -ld) then people will crosscheck you and biasing
errors will be avoided.

> Here is my setup
> K6 2 450 MHz
> 512 MB RAM

Not important.  (Looks like a reasonable system.  One of my mail hubs
is identical.)

> Red Hat 8.0
> Sendmail

Maybe important.  Does Sendmail or Red Hat by default set a ulimit for
the maximum size of a file?  If so then this will be inherited by
procmail and with a folder such as a spam folder it is possible to
exceed reasonable limits very quickly.  I don't recall Sendmail doing
that by default but I know that stock Postfix sets a 51200KiB limit by
default and this is one of the FAQs regarding that.  A common Postfix
configuration overrides the default and sets 'mailbox_size_limit = 0'
to disable that limit.

How big is the caughtspam folder in particular?  If you move it out of
the way and start with a fresh empty file does it start working?  If
so then I suspect a 'ulimit' is restricting the file size.  In that
case you might contemplate using either Maildir/ style folders or
MH/. style folders which store messages one per file.

> .procmailrc's for each user
> .spamassassin directory for each user with user_prefs file
>
> Here is what all of my .procmailrc files look like;
> 
> :0fw
>         | spamassassin
> 
>         :0e
>         {
>            EXITCODE=$?
>         }
> 
>         :0:
>         * ^X-Spam-Status: Yes
>         caughtspam

All looks fine to my eyes.

> I hope that is enough info. Any help would be very much appreciated.

If you take a mail message and pipe it to procmail does it work or
does it fail?

Have you implemented filesystem quotas?  Is the user exceeding a set
quota limit?

Bob


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to