sir:

good day!
u can use the body_checks file in the /etc/postfix/directory. my body_checks file  is
like this:

 /^(content.*[[:space:]]+|[[:space:]]*)(filename|name)=".*\.(scr|exe|mp3|com|bat|shs|shb|vxd|rm|lnk|pif|gen|chm|vbs|ini|reg|js|jse|ceo|htm|html)"/ REJECT

you can add any extension u wish.

then add the following line to your main.cf file:

body_checks = regexp:/etc/postfix/body_checks

then execute a postfix reload

Hope dis helps. Giv me a feedback. Hav a nice day and GOD bless!

-- 
Glenn Remot
Network Engr. - IT,Network Comm. Section,
The Philippine Daily Inquirer
8978808 loc 351


clark wrote:
hi everyone,
ive just set-up a postfix mail server running redhat 8.0. can postfix filter attachments such as *.exe?
i've looked at the postfix configuration but there seem to be no option for filtering attachments.
if not, does anyone has a recommended add-on for postfix to filter email attachments
id really appreciate is anyone could include pros and cons/ ease of use/  highlights of filtering add-ons for postfix

tnx in advance!



--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie




--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to