![]() |
I have amended my .procmail script to read as follows SHELL=/bin/sh RETURNPATH=`grep -e "return-path" -i | sed "s/^.*<//;s/>//"` REST OF SCRIPT The log comes back as procmail: Executing "grep -e "return-path" -i | sed "s/^.*<//;s/>//"" procmail: Assigning "RETURNPATH=" >The procmail scripts I wrote were for use with RelayFax. I am only using them for relay fax. Whether i send the fax by relay fax or from an email it does not retrieve the returnpath string >The INCLUDERC infinite loop is intentional because RelayFax allows the >infinite accumulation of recipients. The loop does end on a condition, >however, when the dispatch list is complete. You should be able to see that. Ok, i`ve put the original script back in and its working correctly (can fax to single or multiple recipients) >The difference between RETURNPATH and FROMMAIL is significant in order to >support a simple email-to-fax gateway *and* RelayFax. This i understand but its the only way i can get relayfax to work because of my returnpath problem. >And, it would appear that you're not using that simple feature as intended, anyway. True, and now that the system is working for relayfax i am happy to leave it as is. I only point this out as it seems odd that it doesn`t work in my case using either method of sending faxes. Regards Duncan ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null