procmail
[Top] [All Lists]

lock file and write errors

2000-10-08 01:09:02
Hi,

I am using procmail v3.13.1 1999/04/05 on RedHat linux 6.0
and I am using procmail to invoke a shell script whenever
a user receives a mail

I have few questions, I have tried the FAQ and archives but
could not find any help and I really appreciate if you could
help me

I have this .procmailrc file for each user

==============================================
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:/home/httpd/cgi-bin/bin
MAILDIR=$HOME/mail     # You'd better make sure it exists
LOGFILE=$MAILDIR/log
DEFAULT=/usr/spool/mail/$LOGNAME
SHELL=/bin/sh

                       # We don't use a global lockfile here now.
                       # Instead we use local lockfiles everywhere.
                       # This allows mail to arrive in all mailboxes
                       # concurrently, or allows you to read one mailbox
                       # while mail arrives in another.


:hb
^From:(_dot_)*919848029963(_at_)tatacell(_dot_)net
|mailexec

And if I send a mail from say Palm pilot everything works fine and
here is how the header looks from Palm

===========================================
From vxl1970(_at_)palm(_dot_)net  Sat Oct  7 08:20:33 2000
Return-Path: <vxl1970(_at_)palm(_dot_)net>
Received: from mo020lhou.palm.net (mo020lhou.palm.net [63.97.179.8])
       by ofsnet.com (8.9.3/8.9.3) with ESMTP id IAA03905
       for <anand(_at_)ofsnet(_dot_)com>; Sat, 7 Oct 2000 08:20:33 -0500
Message-Id: <200010071320(_dot_)IAA03905(_at_)ofsnet(_dot_)com>
Received: from mp03alhou ([152.67.176.109]) by
         mo020lhou.palm.net (Netscape Messaging Server 4.04) with ESMTP
id G22A0I00.OMN for <anand(_at_)ofsnet(_dot_)com>; Sat, 7 Oct 2000 13:12:18 +0000
......
===================================================

However, when I send a mail from a cell phone it gives me
the following error in mail/log file in each user

procmail: Lock failure on "/usr/spool/mail/tata.lock"
procmail: Error while writing to "/usr/spool/mail/tata"
From "9848029963 < 9848029963"@tatacell.net  Sat Oct  7 12:26:12 2000
Subject: Email(_at_)TATACell
 Folder: /var/spool/mail/tata

================================================

and my cell mail header looks like this

==================================================
From "9848029963 < 9848029963"@tatacell.net  Sat Oct  7 12:27:03 2000
Return-Path: <"9848029963 < 9848029963"@tatacell.net>
Received: from tatacell.net 
(IDENT:qmailr(_at_)[202(_dot_)63(_dot_)103(_dot_)165])
       by ofsnet.com (8.9.3/8.9.3) with SMTP id MAA05933
       for <anand(_at_)ofsnet(_dot_)com>; Sat, 7 Oct 2000 12:26:56 -0500
Received: (qmail 10980 invoked from network); 7 Oct 2000 22:52:02 -0000
Received: from unknown (HELO tatacell.net?) (202.63.103.164)
 by 202.63.103.165 with SMTP; 7 Oct 2000 22:52:02 -0000
Message-ID: <2606720001067171740750(_at_)tatacell(_dot_)net>>
=========================================================

So what is the difference between the Palm header to the cell
phone header???

Is something wrong with my .procmailrc file???

Any help is greatly appreciated

Thanks

Anand
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>