hi !

I want qmail to notify user that new email arrived. When this
happens qmail should send SMS to user's cellular phone.

So I put the .qmail file in user's home directory:
/home/info/Mailbox
|preline /home/info/sendsms

It adds new email to mailbox and runs script that sends SMS.
Everything is working fine when I send email without attachments.
But when there is an attachment I got this error in maillog:

Apr 10 14:52:24 p-s qmail: 955371144.310268 starting delivery 36: msg 68528 to local 
[EMAIL PROTECTED]
Apr 10 14:52:24 p-s qmail: 955371144.310615 status: local 1/10 remote 0/20
Apr 10 14:52:25 p-s qmail: 955371145.410328 delivery 36: deferral: 
preline:_fatal:_unable_to_copy_input:_broken_pipe/
Apr 10 14:52:25 p-s qmail: 955371145.410737 status: local 0/10 remote 0/20

Then SMS is sent and messages is added to Mailbox  but qmail treats
this message as undelivered. You could see it when typing qmail-qread.
qmail tries to deliver this message again and again according to its delivery 
schedule and every time user gets SMS and message is added to his
Mailbox. 

Could you please give me some advice how to correct this problem ?

thanks in advance
Dariusz Zmokly

Reply via email to