Mail not deliverd... exim discarded r=domain_filter

marcobussum

Verified User
Joined
Aug 21, 2015
Messages
6
Hello Everyone,

I have a problem with the mail..

When someone sends a new mail, its coming true.. but when someone replies on a mail it will be discarded.
2015-08-21 10:14:03 1ZShSc-001H81-IP <= [email protected] U=mail P=spam-scanned S=29325 [email protected] T="RE: herdruk | 10 testemail NL" from <[email protected]> for [email protected]
2015-08-21 10:14:03 1ZShSc-001H81-IP => discarded <[email protected]> R=domain_filter


Setup:
Centos 6.6 Cloudlinux
DirectAdmin 1.48.3
Spamassin 3.4.1
Exim 4.86
SpamBlocker.exim.conf.2.1.1-release

The blacklist_domains and blacklist_senders are empty..


Kind Regards,

Marco
 
Hello,

The mail is discarded by a domain filter. So check your filter and spamassassin settings for the particular domain on your server.

Check and compare headers of an original email and a reply. They might differ in certain cases.
 
Hello,

The mail is discarded by a domain filter. So check your filter and spamassassin settings for the particular domain on your server.

Check and compare headers of an original email and a reply. They might differ in certain cases.

Thanks for your reply!
I checked the spamassassin filter settings, I do not see anything strange..

required_score 5.0
report_safe 1


And in etc/virtual/domainname.com

0=type=word&value=viagra
1=type=word&value=porn
2=type=word&value=sex
3=type=word&value=penis
action=action=drop
adult=ON
high_score=15
high_score_block=no
where=userspamfolder


And in etc/virtual

# Exim Filter

# created by DirectAdmin, version 1.48.3
# Do not modify this file as any changes will be
# overwritten when the user makes a change.
# (data is only written to this file, not read)

if
$sender_address contains "[email protected]"
or $sender_address contains "[email protected]"
then
finish
endif




if
$h_X-Spam-Status: contains "Yes,"
then
if
$local_part is "username"
then

save /home/username/Maildir/.INBOX.spam/new/ 660
else
if "${if exists{/home/username/imap/${domain}/${local_part}}{yes}{no}}" is "yes"
then
save /home/username/imap/$domain/$local_part/Maildir/.INBOX.spam/new/ 660
else
save /home/username/Maildir/.INBOX.spam/new/ 660
endif

endif
finish
endif


if error_message then finish endif

if
$header_subject: contains "viagra" or $message_headers contains "viagra" or $message_body: contains "viagra"
or $header_subject: contains "porn" or $message_headers contains "porn" or $message_body: contains "porn"
or $header_subject: contains "sex" or $message_headers contains "sex" or $message_body: contains "sex"
or $header_subject: contains "penis" or $message_headers contains "penis" or $message_body: contains "penis"
then
seen finish
endif



if
$header_subject: contains "****" or $message_headers contains "****" or $header_from: contains "****"
or $header_subject: contains " **** " or $message_headers contains " **** " or $header_from: contains " **** "
or $header_subject: contains " ass " or $message_headers contains " ass " or $header_from: contains " ass "
or $header_subject: contains "asshole" or $message_headers contains "asshole" or $header_from: contains "asshole"
or $header_subject: contains "bitch" or $message_headers contains "bitch" or $header_from: contains "bitch"
or $header_subject: contains " **** " or $message_headers contains " **** " or $header_from: contains " **** "
or $header_subject: contains " whore " or $message_headers contains " whore " or $header_from: contains " whore "
or $header_subject: contains " sex " or $message_headers contains " sex " or $header_from: contains " sex "
or $header_subject: contains " sexy " or $message_headers contains " sexy " or $header_from: contains " sexy "
or $header_subject: contains " sexiest " or $message_headers contains " sexiest " or $header_from: contains " sexiest "
or $header_subject: contains " **** " or $message_headers contains " **** " or $header_from: contains " **** "
or $header_subject: contains " ****ty " or $message_headers contains " ****ty " or $header_from: contains " ****ty "
then
seen finish
endif


#end filter


Is there another filter/file where I need to look for?
 
SA as far as I know can track replies and give them green. Anyway try to completely disable filtering and SA for a domain and see whether or not is solves your issue.

And by the way any chance to see email headers?
 
SA as far as I know can track replies and give them green. Anyway try to completely disable filtering and SA for a domain and see whether or not is solves your issue.

And by the way any chance to see email headers?

Thanks for your help!

I removed that filter and replaced it with the standard filter when creating a new user.

Now its working.
 
Back
Top