HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] email2fax gateway question...



Kid Lark wrote:
> Matt Fretwell schrieb:
> 
>> Georg Lerch wrote:
>>
>>
>>  
>>
>>> I've almost reached my goal. I ve just to edit the script a little-
>>>
>>> psfile=`find -s ${tmpdir}${unpack} -type f | \     sed -e
>>> '/'${head}'/d' -e '/'${body}'/d'`
>>>
>>> this part doesn't work. sendfax.log says nothing to do. and find doesn't
>>> know a -s option.
>>>
>>> but the part with ripmail works fine.
>>>   
>>
>>
>>
>> Apologies. Obviously shot myself in the foot with a non portable *BSD
>> option :) Try:
>>
>> psfile=`find ${tmpdir}${unpack} -type f | \
>>     sed -e '/'${head}'/d' -e '/'${body}'/d' | sort`
>>
>> The -s switch just puts the files in order, IIRC, so sort should make a
>> suitable replacement. That option was just so the files are supplied to
>> sendfax in the preferred order.
>>
>>
>> Matt
>>
>> ____________________ HylaFAX(tm) Users Mailing List
>> _______________________
>>  To subscribe/unsubscribe, click
>> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>> On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx <
>> /dev/null
>>  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*
>>
>>
>>
>>  
>>
> cool, i will try this one as soon as the side effects of beer and
> tiredness have worn off.
> 
> 
> thanks
> 
> georg
> 
> 
> ____________________ HylaFAX(tm) Users Mailing List _______________________
>  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
> On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
>  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*
> 
> 
Hi Matt,

it took same days (I had almost zero  expierience with script writing
and linux) But I got it running. I had to edit the script at some places
but now it works fine.

I will get in a form it can be posted and I will send it to you.
Many Thanks,

Georg



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions