|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Bernhard Schmidt (berni+postfix
birkenwald.de)Date: Wed Jan 24 2001 - 19:27:12 CST
Hi,
I'm using postfix snapshot-20001217 with the per-user-uce-patch (thanks to
Jozsef Kadlecsik this way) on my primary mailserver. The anti-UCE function
works really great, but now I had a new idea. Since many users don't want
email delivered by spamrelays to be bounced but want to be warned and able
to filter them on their mailclient, I had the idea to insert a new
headerline into the mail if it was delivered by a host listed in any url.
My incomplete idea of a config looks like this:
+--[ main.cf ]---
|smtpd_restriction_classes =
| class_rss_reject,
| class_rss_note
|
|class_rss_reject = rbl:/usr/local/etc/postfix/rss_domain_rbl
|class_rss_note = ...
|
|smtpd_recipient_restrictions =
| permit_mynetworks,
| check_recipient_access \
| regexp:/usr/local/etc/postfix/user_restrictions,
| check_relay_domains
+--[ user_restrictions ]---
|/^berni.*\
birkenwald.de$/ class_rss_reject, permit
|/^spamnote\
birkenwald.de$/ class_rss_note, permit
A mail sent to spamnote
birkenwald.de by a relay listed in rss should not
be bounced, but have a header like
X-RBL-Warning: ($ip) in RSS. See http://www.mail-abuse.org/rss/
inserted. If possible it would be nice if several headers were added if the
host is listed in several lists (e.g. RSS, ORBS, RBL)
Any ideas how to realize this?
bye bye
Bernhard <berni
birkenwald.de>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]