-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm having a problem with some mails handled by one particular rule in
procmail - all the rest are being handled ok. The .procmailrc goes like
this:
VERBOSE=on
LOGFILE=$HOME/procmail.log
... cut
:0
* ^Received: from correo.foo.es
{
:0
* ^Received: from (ruebert.ieee.org|engine.ieee.org|hormel3.ieee.org|boldfish.ieee.org|aries3.ieee.org)
$HOME/Mail/in_ieee
:0
* ^FROM_DAEMON
$HOME/Mail/in_daemon
:0
$HOME/Mail/in_foo
}
The problem is that mail matching the "^Received" clause above goes to the
"/var/spool/mail/cer" folder instead of the "$HOME/Mail/in_foo" that
corresponds. The log is this, showing a write error:
procmail: No match on "^List-Id: "
procmail: Executing "/usr/bin/spamc"
procmail: No match on "^X-Spam-Status: Yes"
procmail: No match on "^^rom[ ]"
procmail: No match on "^From.*FETCHMAIL-DAEMON@nimrodel.valinor"
procmail: No match on "^To.*virusalert@nimrodel.valinor"
procmail: No match on "^From.*(MAILER-DAEMON|postmaster)@nimrodel.valinor"
...
procmail: Match on "^Received: from correo.foo.es"
procmail: No match on "^Received: from (ruebert.ieee.org|engine.ieee.org|hormel3.ieee.org|boldfish.ieee.org|aries3.ieee.org)"
procmail: No match on "(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: Multiple recipients of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )([^>]*[^(.%@a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@> ][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: Assigning "LASTFOLDER=/home/cer/Mail/in_foo"
procmail: Opening "/home/cer/Mail/in_foo"
procmail: Acquiring kernel-lock
So far, normal.
procmail: Error while writing to "/home/cer/Mail/in_foo"
procmail: Truncated file to former size
A write error. What write error?
procmail: No match on "^Received: from pop.tiscali.es"
procmail: Extraneous locallockfile ignored
....
procmail: Bypassed locking "/var/spool/mail/cer.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/cer"
procmail: Opening "/var/spool/mail/cer"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "cer@0:/var/spool/mail/cer"
From sombody@somewhere.com Wed Aug 31 20:17:13 2005
Subject: Final....
Folder: /var/spool/mail/cer 952289
I have copied over the emails in /home/cer/Mail/in_foo to another folder,
then deleted, recreated in_foo, and finally copied back all the emails.
The folder has 57Mb (392 emails) and Pine seems happy with it, no
complaints.
Ideas?
- --
Cheers,
Carlos Robinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFDFflQtTMYHG2NR9URAuBbAJ96DTk33WG7nb+BfwkIB40MTql0qgCffUW8
i7c5FLtIHFDl86hb4moJhu8=
=k4MY
-----END PGP SIGNATURE-----