[email protected] wrote on 06.09.2012 10:22:55:

> "Hartmut Wernisch | Domaintechnik.at" <[email protected]> 
> Sent by: [email protected]
> 
> 06.09.2012 10:22
> 
> Please respond to
> spamdyke users <[email protected]>
> 
> To
> 
> [email protected], 
> 
> cc
> 
> Subject
> 
> [spamdyke-users] Sender domain matching recipient domain
> 
> Hello!
> 
> There is already a way to block identical sender and recipients with
> spamdyke. I think it would also be fine to have this for the domain 
part:
> 
>  Deny if from: [email protected]  to: [email protected]

this is already in, simply put @domain.tld in file pointed by 
spamdyke.conf with keyword sender-blacklist-file=, or use keyword 
sender-blacklist=. If you use format with leading @ it will block all 
mails from above line.

You can then put sender from web-script into sender-whitelist-file and 
that particular sender will goes thru even you have above blacklist entry. 
White-list is tested before blacklist. When you allow once rest of flow 
for validating sender is skipped. Or you can use IP whitelist for your WEB 
server from where you getting e-mail in form "from: @your-domain to: 
@your-domain"

> 
> There are a lot of such mails on my servers:
> 
>  zgrep  "auth: (un" /var/log/mail.log.1.gz   |grep ALLO | cut -d " "
> -f 9,11 | tr " " @  | awk -F @ '{ if ($2=$4) print $2 " " $4 }' |wc -l 
>  10324
> 
> I know that people sending mails from web-scripts without smtp-auth
> wouldn't be happy about that, but anyway :)
> 
> What do you think about this?
> 
> Best,
> Hartmut
> 
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to