procmail
[Top] [All Lists]

RE: block Attached files

2000-09-22 14:12:39


OK Michael..i downloaded and installed Inflex..
First time we run it, no mail could be sent or received...
that was because inflex´s mc file had some difference from ours..
thats ours mc :

divert(-1)
include(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
FEATURE(redirect)
FEATURE(relay_entire_domain)
FEATURE(`access_db', `hash -o /etc/mail/access')
FEATURE(use_cw_file)
FEATURE(local_procmail)
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')
MAILER(procmail)
MAILER(smtp)

thats inflex:

include(`../m4/cf.m4')
VERSIONID(`InflexScanner 0.1.5b for smtp-only setup')dnl
OSTYPE(linux)dnl
define(`QUEUE_DIR',/var/spool/inflexq)
define(`STATUS_FILE',/etc/inflex.st)
FEATURE(nouucp)dnl
FEATURE(always_add_domain)dnl
MAILER(local)dnl
MAILER_DEFINITIONS
Minflex,        P=/usr/sbin/inflex, F=CsDFM:/|@qShP, S=0, R=0
                T=DNS/RFC822/X-Unix,
                A=inflex $h $u $f

we then made a mix with both files, and now sendmail is ok, but it is not
filtering any mp3, mpeg files..no log is generated under /var/spool/inflexmq.
the mc file now running is:

divert(-1)
include(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
define(`QUEUE_DIR',/var/spool/inflexmq)
define(`STATUS_FILE',/etc/inflex.st)
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
FEATURE(redirect)
FEATURE(relay_entire_domain)
FEATURE(`access_db', `hash -o /etc/mail/access')
FEATURE(use_cw_file)
FEATURE(local_procmail)
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')
MAILER(procmail)
MAILER(smtp)
MAILER_DEFINITIONS
Minflex,        P=/usr/sbin/inflex, F=CsDFM:/|@qShP, S=0, R=0
                T=DNS/RFC822/X-Unix,
                A=inflex $h $u $f
~
Gustavo.






"Michael Packer" <pac(_at_)stingrayboats(_dot_)com> em 22/09/2000 12:58:09

Para: Gustavo Murad/Unimed/BR(_at_)Unimed, 
procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
cc:
Assunto:  RE: block Attached files



I do this all the time (not mp3, but .exe/.com) ... i don't do it with
procmail...but if you can i guess that might be easier....

i'm using inflex (i'm also having it scan all incomig mail for viri)....

search for "Inflex - Bidirectional Email scanner" and you should find it on
the web

actually i just found the web site... htt://www.inflex.co.za
been using it for about 6 months now and it works great!

pac
843 383 4507 x153
Stingray Powerboats
http://StingrayBoats.com


-----Original Message-----
From: procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE]On Behalf Of
gmurad(_at_)unimedsp(_dot_)com(_dot_)br
Sent: Friday, September 22, 2000 11:36 AM
To: procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: block Attached files


     Hi There!!

I badly need to block the traffic of unwished files attached to our mail
environment, and after a long journey someone told me to use procmail
filtering...

so im trying to figure out how to reject, for instance, any
incoming/outgoing
messages that has a mp3 or avi files attached..

i m looking for it at help files, manuals, etc..but stiil did not find...

so if anybody had this acomplished, please help me; i think this
is a very usual
recipe.

OBS: using red hat 6.2, squid, sendmail, ipchains. sendmail
relays mail to my
Lotus Notes fron end.


Thanks in advance...

Gustavo Murad.



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail




<Prev in Thread] Current Thread [Next in Thread>