procmail
[Top] [All Lists]

locking question

2004-08-17 10:08:26
Hi all,

please, what do I do wrong in my setup ?
I have prepared procmailrc with spam-looking recipes and finaly with SMS
notification of user.
So it is like (I snip some well working parts):
#procmailrc
...
...
# SMS notify
:0ch: sms_notify.lock
| /etc/mail/sms_notify ${MAIL_TO} ${CLEANFROM} ${SUBJECT}

#end of procmailrc

#SMS notify is the last recipe in the procmailrc. After this it only should
deliver original message into it's owner mailbox.

sms_notify is my small script, which calls lynx http://intranet/send_sms.php
to send an SMS. It works well alone so it should work in this setup well
too. I have my own SMS gateway for this purpose.
All variables are initialised well, the only problematic part is the one I
show. My problem is, it randomly stops on sms_notify.lock creation, but it
creates it as well.  Then it stops all delivery until I kill procmail
process and remove all queued mails manually. It writes into the log many
times:
<date/time> locking sms_notify.lock

Any help is realy welcome :-)))

Peter Rosa



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • locking question, Peter Rosa <=