From: Ralf Hildebrandt (no email)
Date: Fri Mar 01 2002 - 04:19:00 EST
On Thu, Feb 28, 2002 at 07:09:33PM -0500, Theodore Knab wrote:
> What do I need to do to get procmail to filter all smtp mail ?
ALL mail? Also mail that's not delivered locally?
> mailbox_command = /usr/bin/procmail -m $h $g $u -a "$EXTENSION"
What are $h $g and $u??
> program_directory = /usr/lib/postfix message_size_limit=2004800 biff =
> no smtpd_delay_reject = no smtpd_helo_required = yes
> strict_rfc821_envelopes = yes map_rbl_domains = relays.ordb.org,
> inputs.orbz.org
Bad wrapping or an error?
> /etc/postfix/transport
> ----------------------
> #foward these ---> to
> washcoll.edu smtp:blitzhost.washcoll.edu
> washingtoncollege.net smtp:blitzhost.washcoll.edu
> washingtoncollege.org smtp:blitzhost.washcoll.edu
> washingtoncollege.edu smtp:blitzhost.washcoll.edu
Rather use:
washcoll.edu smtp:[blitzhost.washcoll.edu]
washingtoncollege.net smtp:[blitzhost.washcoll.edu]
washingtoncollege.org smtp:[blitzhost.washcoll.edu]
washingtoncollege.edu smtp:[blitzhost.washcoll.edu]
saves you MX lookups.
> /etc/procmailrc
You never listen, do you? Simply use header_checks or body_checks for
that. Piping all mail through procmail on a relay is:
a) not very security wise
b) not very fast
c) not quite easy
d) Would require local delivery on the machine or a tricky
content_filter setup with procmail as transport
--> has anybody done that?
> echo "However, it has found that your e-mail contains a";\
> echo "type of file attachment that may be a virus."; \
> echo "";\
> echo "Please update your virus scanner and scan your system.";\
This is ridiculous: You ask somebody to update THEIR scanners,
although you do scanning on the false assumption that anything *.exe
is a virus because you don't have a proper scanner?
-- Ralf Hildebrandt (Im Auftrag des Referat V A) Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 The nice thing about Windows is - It does not just crash, it displays a dialog box and lets you press 'OK' first. - To unsubscribe, send mail to with content (not subject): unsubscribe postfix-users
|
|
|