Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

inflex.cf

SOLVED
Go to solution
manny_9
Frequent Advisor

inflex.cf

Hello,

sendmail/inflex/redhat 7.2

which directory holds the file that i need to edit to block files.and what syntax would i use to block zip files

thank you!!!!!!
5 REPLIES
Jerome Henry
Honored Contributor
Solution

Re: inflex.cf

Hello fred,

It depends on where you installed inflex. Most of the time it's in /usr/local. So file to modify is /usr/local/inflex/inflex. Edit this file to make your change.

have a look at inflex site for detailled process :
http://pldaniels.com/inflex/questions.html


As for zip files, look at "How do I add more file types to block?" section zip file is
{cut} -d: -f2 ${tmpdir}/fileresults | ${grep} "zip" gt;gt; ${typebadfileslog}
{cut} -d: -f2 ${tmpdir}/fileresults | ${grep} "PK\003\004" gt;gt; ${typebadfileslog}

hth

J
You can lean only on what resists you...
manny_9
Frequent Advisor

Re: inflex.cf

i edited usr/local/inflex/*inflex
not inflex.cf


${cut} -d: -f2 $fileresults | ${grep} -E "(MS-DOS|Windows PE).*executable" >> ${typebadfileslog}

${cut} -d: -f2 $fileresults | ${grep} "PC bitmap data" >> ${typebadfileslog}
${cut} -d: -f2 $fileresults | ${grep} "AVI" >> ${typebadfileslog}
${cut} -d: -f2 $fileresults | ${grep} "MPEG" >> ${typebadfileslog}
${cut} -d: -f2 $fileresults | ${grep} "ZIP" >> ${typebadfileslog}

not working. am i misssing something??
Jerome Henry
Honored Contributor

Re: inflex.cf

Maybe the gt;gt; to indicate that something else is to come.
You don't target /tmpdir, socheck that current dir is writeable.
*inflex or inflex ?
Last, check service inflex status...

It should work... :]]

J
You can lean only on what resists you...
manny_9
Frequent Advisor

Re: inflex.cf

Thanks

I know this sounds dumb...but I am not sure what I am supposed to make changes to.

within the usr/local/inflex/inflex directory.

I see inflex/shell script and inflex.cf

Which one do I edit???


You guys are awesome
manny_9
Frequent Advisor

Re: inflex.cf

anyone??