Inflex logo [small]
Return home About Inflex Download Inflex Questions Contact Us


Questions



  1. It won't work!
  2. My system crashed
  3. How do I add more file types to block?
  4. How do I search for text strings in mesages?
  5. Inflex installed fine, sendmail is running, mail is going through, but Inflex is not scanning
  6. Because Inflex is running via the -C sendmail flag, does this mean that my sendmail no longer runs as root? Wont that break things?
  7. I installed inflex, now I am getting "mailer-daemon... cannot alias non-local names" errors

  • It won't work!

    Read the INSTALL... and over and over

  • My system crashed

    Most likely the system didn't crash, but rather it got buried under a massive server load. Check that your administrator email address is valid and as a second recommendation, a LOCAL email address.

  • How do I add more file types to block?

    Around line 306 of the /usr/local/inflex/inflex script. You will notice there are lines which look like (note, filename scanning starts at ~325):

    	${cut} -d: -f2  ${tmpdir}/fileresults | ${grep} "MS-DOS executable" >> ${typebadfileslog}
    	${cut} -d: -f2  ${tmpdir}/fileresults | ${grep} "PC bitmap data"  gt;gt; ${typebadfileslog}
    	${cut} -d: -f2  ${tmpdir}/fileresults | ${grep} "AVI"  gt;gt; ${typebadfileslog}
    

    The file type descriptor (ie "AVI", "MPEG") is from the /etc/magic file. Just add another ${grep} line to the end of the current list, with the new /etc/magic tag type you're trying to block.

  • Can I search for text strings in messages?

    Around line 343 of the /usr/local/inflex/inflex script you'll see the entries required for scanning for text in your files. NOTE that I'm using grep -ri, this is for [R]ecursive and case[I]nsensitive scanning. You can change this as you wish.

    	#grep -ri "Kill the boss" ${tmpdir}/* gt;gt; ${textbadfileslog}
    	grep -ri "> > > >" ${unpackdir}/* gt;gt; ${textbadfileslog}
    
  • Inflex installed fine, sendmail is running, mail is going through, but Inflex is not scanning!

    Answer 1.
    My guess is that you're running Mutt/Pine/Mail or one of the many UNIX CLI type Email clients. The reason why you're not seeing inflex scan any email is because these programs start up their own copy of Sendmail to deliver. (Thats nice, but how do I FIX this!). Follow the following procedure...

    1. rename you sendmail.cf (in /etc or /etc/mail) to sendmail_org.cf
    2. ln -s /usr/local/inflex/inflex.cf /etc/mail/sendmail.cf (or /etc/sendmail.cf)
    3. edit /usr/local/inflex/inflex and change the line "cf=/etc/mail/sendmail.cf" to "cf=/etc/mail/sendmail_org.cf"
    4. Kill all sendmail processes (killall sendmail ... killall sendmail)
    5. Start sendmail _WITHOUT_ the -C option (/usr/sbin/sendmail -bd -q15m )


    Answer 2.
    It is possibly that you were running version 8.9.3 (or less) of Sendmail, in which case prior to March 29, 2001 the "fixcf" program supplied with Inflex did not correctly install the required #inflex redirect ruleset. Downloading the inflex daily post March 29,20001 should resolve this problem.

  • Because Inflex is running via the -C sendmail flag, does this mean that my sendmail no longer runs as root? Wont that break things?

    Answer 1.
    In short, no. The -C option causes sendmail to run with the UID/GID of the user which executed the sendmail -C command. If this (and it should be) was root, then the UID/GID will remain as such. Hence, things will not break.

  • I installed Inflex, now I'm getting "mailer-daemon... cannot alias non-local names" errors

    In the inflex.cf file, down at the bottom, there is a line as follows

    Minflex,        P=/usr/local/inflex/inflex, F=ClsDFM:/|@qShPm,
    
    Put in an 'A' after the F=, so you now have...
    Minflex,        P=/usr/local/inflex/inflex, F=AClsDFM:/|@qShPm,