Hi Yash,

Yashpal Nagar wrote:

> [EMAIL PROTECTED] manishsharma]# cd $HOME; cat .procmailrc
> PATH=/bin:/usr/bin:/usr/bin
> :0:
> * ^Subject:.*5.0.0 .*Build Successful
> | $HOME/getlatest-500.sh
>

I think the problem is because
1. procmail is piping the mail to your "getlatest-500.sh" script
2. your script is not accepting the mail contents from the pipe.

If you see the examples in man procmailex you will see whenever a process is launched using procmail, it is processing the mail contents, and then doing other job.

So because procmail is not able to deliver the mail, it goes into a defucnt mode and the mailq shows one mail pending

Just a thought, comments welcome

Kapil


_______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/

Reply via email to