Re: Postfix Woes


Subject: Re: Postfix Woes
From: tcv (tcv@ninjatech.cjb.net)
Date: Thu Aug 21 2003 - 19:12:21 AKDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 21 August 2003 03:07 pm, Jamie Hushower wrote:
> I have been trying to get Postfix to discard email that matches the regular
> expressions in my header_checks file, but Postfix doesn't like the
> following:
> /^Subject: Re: Details/ DISCARD

Try using a model somewhat like this:

if /^to: .*recipient/
/^from: .*fscme/ OK
/./ DISCARD All requests not matching the REs above are rejected.
endif

You can use if and endif statements , which makes it somewhat flexible

I'm not currently using postfix , and haven't in awhile. sorry if this isn't
the slightest bit of help

> The log file reports:
> Aug 21 14:49:50 mail postfix/cleanup[7906]: warning: unknown command in
> header_checks map: DISCARD
>
> The official Postfix docs claim DISCARD is a valid value that will drop the
> email. I have no problems if I replace "DISCARD" with "REJECT", but I don't
> want to send notification email to a likely spoofed return address.
>
> Oddly, I have the same issue when trying to configure RAV Antivirus to do
> the same thing to specific Subject patterns. No "DISCARD", only "REJECT"
> works. Docs also claim "DISCARD" is a valid value. While I'm sure there are
> plenty of recipes for procmail, SPAMAssassin, etc., I'd sure like to stick
> with something that has already been configured and *should* work.
>
> Any Postfix users out there? RAV Antivirus users? Thanks.
>
> -Jamie
> _____________________________________

Not sure if you are aware , but RAV may be going out of business very soon:

<snip>
- ----- Original Message -----
From: "Siemens Thomas" <thomas dot siemens at web dot de>
To: <postfix-users at postfix dot org>
Sent: Monday, June 02, 2003 8:49 AM
Subject: If you are using RAV Antivirus / Postfix READ THIS!

If you are using RAV Antivirus / Postfix you had better read this page.

http://www.raeinternet.com/resellers.html

"As of June 2nd, RAE Internet has been terminated by GeCAD as US

Distributor. We will continue to provide US services until our contract is
formally terminated. As the future of RAV is in serious question we ask that
you direct all questions to Radu Georgescu, CEO of GeCAD. We worked
tirelessly for this product and we achieved success with the help of our
resellers. We are deeply saddened that things have turned out this way. "
</snip>

The *is* an excellent article here though:
[Setting up spamassassin (SA) and razor to be called site-wide from postfix
while also running RAVantivirus]
http://www.psyctc.org/Linux-Debian/spam.html

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/RYobqzMRhW8EKZsRAjYsAJ4mF6lINTzZCJ9RMQnnplhybPz1LwCfYSeb
r0xOWr2LyC8x17oUEM3yq/Q=
=7HEW
-----END PGP SIGNATURE-----

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Thu Aug 21 2003 - 19:09:34 AKDT