Re: Exim as default MTA.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

David Woodhouse wrote:
| On Tue, 2005-02-22 at 18:57 -0500, Chuck Mead wrote:
|
|>spamassassin unix - n n - - pipe flags=Rq user=mail
|>argv=/usr/local/bin/safilter.sh -f ${sender} ${recipient}
|
|
| And how do you control the threshold at which it actually rejects the
| mail for the failure? The equivalent of this part of Fedora's default
| exim.conf and my http://david.woodhou.se/eximconf/include/acl-content,
| for example:
|
|   # Reject spam messages with score over 10, using an extra condition.
|   deny  message = This message scored $spam_score points. Congratulations!
|         spam = nobody:true
|         condition = ${if >{$spam_score_int}{100} {1}}
|
| For that matter, can it do the rest of what's in that ACL? And can it do
| what's in acl-helo and acl-helo-csv?
|
| Some of those, particularly the CSV bit, aren't good examples of
| "simple" configuration -- they're the baroque stuff I did when I was
| bored and felt like improving my mailer configuration. But they're good
| examples of "versatile".

Well... it ain't that complicated... :-)

#!/bin/bash
/usr/bin/spamc | /usr/sbin/sendmail -i "$@"
exit $?

- --
Chuck Mead <csm@xxxxxxxxxx>
Instructor II (and resident Postfix bigot), GLS
Disclaimer: "It's Thursday and my name is Locutus of B0rk!"
Addendum: "Bwahahaha! Fire up the orbital mind-control lasers!"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCG8uOZfy0juH51WsRAuZKAJ94XXdQxctVMFyW9sKEBV3qejRxVwCgoc4N
zalHCvTBUHzdjwtbl+TcN50=
=082h
-----END PGP SIGNATURE-----


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux