mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
28
config/spamassassin/99_local_override.cf
Normal file
28
config/spamassassin/99_local_override.cf
Normal file
@@ -0,0 +1,28 @@
|
||||
# Custom SpamAssassin configuration for phishing template testing
|
||||
# This file uses higher priority (99_) to override default score files
|
||||
# that are loaded from updates_spamassassin_org
|
||||
|
||||
# Disable MISSING_DATE rule - phishing templates often don't have proper dates
|
||||
score MISSING_DATE 0.0
|
||||
|
||||
# Disable WEIRD_PORT rule - we use non-standard ports for testing (8005, 8102, etc.)
|
||||
score WEIRD_PORT 0.0
|
||||
|
||||
# Disable MIME_HTML_ONLY rule - phishing emails are typically HTML-only
|
||||
score MIME_HTML_ONLY 0.0
|
||||
|
||||
# Disable MSGID_FROM_MTA_HEADER rule - our test environment may not have proper MTA headers
|
||||
score MSGID_FROM_MTA_HEADER 0.0
|
||||
|
||||
# Disable ALL_TRUSTED rule - our test environment uses trusted hosts only
|
||||
score ALL_TRUSTED 0.0
|
||||
|
||||
# Additional rules that might trigger in phishing templates
|
||||
score HTML_MESSAGE 0.0
|
||||
score MISSING_HEADERS 0.0
|
||||
score MISSING_MID 0.0
|
||||
score NO_RECEIVED 0.0
|
||||
score NO_RELAYS 0.0
|
||||
|
||||
# Enable more detailed logging for debugging
|
||||
# log_level 2
|
||||
@@ -77,6 +77,19 @@ services:
|
||||
environment:
|
||||
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
||||
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
||||
MP_ENABLE_SPAMASSASSIN: spamassassin:783
|
||||
depends_on:
|
||||
- spamassassin
|
||||
networks:
|
||||
- default
|
||||
|
||||
# SpamAssassin - Spam detection and scoring
|
||||
spamassassin:
|
||||
image: axllent/spamassassin
|
||||
container_name: spamassassin
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config/spamassassin/99_local_override.cf:/etc/mail/spamassassin/99_local_override.cf:ro
|
||||
networks:
|
||||
- default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user