Hello,
In CB 2.0 exim do not check that local user is authorized to send e-mails
for example, you can send e-mail from [email protected] to [email protected] without any auth (spammers using this trick)
OURSERVER.COM - our server
HELLO.COM - spammer from internal network (in this case RBL and other stuff from ESF do not block him)
[email protected] - user which exist on OURSERVER.COM
fix for this issue (should be added to exim.conf)
final effect:
SPF in most cases default is with ~ not with - so SPF is not solution for this issue
What you think about this case?
In CB 2.0 exim do not check that local user is authorized to send e-mails
for example, you can send e-mail from [email protected] to [email protected] without any auth (spammers using this trick)
OURSERVER.COM - our server
HELLO.COM - spammer from internal network (in this case RBL and other stuff from ESF do not block him)
[email protected] - user which exist on OURSERVER.COM
Code:
telnet OURSERVER.COM 25
Trying 8.8.8.8...
Connected to OURSERVER.COM.
Escape character is '^]'.
220 SMTP
ehlo HELLO.COM
250-OURSERVER.COM Hello HELLO.COM [8.8.4.4]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
mail from: [email protected]
250 OK
rcpt to: [email protected]
[B][COLOR="#FF0000"]250 Accepted
[/COLOR][/B]data
354 Enter message, ending with "." on a line by itself
Subject: URGENT BANK TRANSFER
fix for this issue (should be added to exim.conf)
Code:
deny hosts = +auth_relay_hosts
condition = ${if eq{${lookup{${lc:$sender_address_domain}}partial1-lsearch{/etc/virtual/domains}{true}{false}}} {true} }
message = authentication required / you try send e-mail without AUTH
!authenticated = *
final effect:
Code:
$ telnet OURSERVER.COM 25
Trying 8.8.8.8...
Connected to OURSERVER.COM.
Escape character is '^]'.
220 SMTP
ehlo HELLO.COM
250-OURSERVER.COM Hello HELLO.COM [8.8.4.4]
250-SIZE 104857600
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
mail from: [email protected]
250 OK
rcpt to: [email protected]
[B][COLOR="#008000"]550 authentication required / you try send e-mail without AUTH[/COLOR][/B]
SPF in most cases default is with ~ not with - so SPF is not solution for this issue
What you think about this case?
Last edited: