-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spamtrap/honeypot, backscatterer #161
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
# spamtrap write sender IP to BL file when receiving messages to special | ||
# adresses defined in the file 'CONFDIR/spamtrap_receiver' | ||
deny | ||
message = ${run{/bin/bash -c "/bin/echo $sender_host_address >> /etc/exim4/local_host_blacklist;"}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And where is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
|
||
condition = ${lookup{$local_part@$domain}lsearch{CONFDIR/spamtrap_receiver} {yes}{no}} | ||
logwrite = :main,reject: $sender_host_address - IP logged, $local_part@$domain is only used by spammers | ||
|
||
# drop backscatterer messages | ||
deny | ||
senders = : $local_part@$domain | ||
dnslists = ips.backscatterer.org | ||
add_header = X-blacklisted-at: $dnslist_domain | ||
log_message = sender same as recipient $local_part@$domain and $sender_host_address listed at $dnslist_domain | ||
|
||
|
||
# Use spfquery to perform a pair of SPF checks (for details, see | ||
# http://www.openspf.org/) | ||
# This check has been copied from a stock Debian config and has not been | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You really want to deny the message? Then it will be removed from the spammers list. I mean you want to receive spam on this spamtrap.