1753326 Members
4943 Online
108792 Solutions
New Discussion юеВ

Re: 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 5
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??