Exim how to reject foreign domains?

jkrachter

Verified User
Joined
Jun 14, 2005
Messages
8
a client of us has an issue with the Exim server, when somebody mails to [email protected] exim accepts this. The problem on this is that many spammers approach them like this.
They want to block all mail which has not been sent to @domain.com.
Is it possible to reject all mail which has not been sent to @domain.com but @subdomain.domain.com ?
Thanks in advance.
 
None of the current versions of the exim.conf file should allow this.

Which version of /etc/exim.conf are you running?

(The best way to figure it out is to post the first five lines of the file.)

Jeff
 
jlasman said:
None of the current versions of the exim.conf file should allow this.

Which version of /etc/exim.conf are you running?

(The best way to figure it out is to post the first five lines of the file.)

Jeff

Jeff,


-
######################################################################
# Runtime configuration file for Exim #
######### IMPORTANT ########## IMPORTANT ########## IMPORTANT ########
# WARNING! Be sure to back up your previous exim.conf file before #
# attempting to use this exim.conf file. #
# #
-
These are the first five lines of the config file.
Thanks.
 
That file was superceded years ago.

What version of exim are you running?

Jeff
 
jlasman said:
That file was superceded years ago.

What version of exim are you running?

Jeff

Jeff,

its version:
Exim version 4.42 #1 built 09-Sep-2004 13:05:10

thanks.
 
You should install both /etc/exim.conf and /etc/exim.pl, from here.

Then restart exim.

There are some changes you'll have to make in exim.conf if you're going to use SpamBlocker, so be sure to read the notes near the top of the exim.conf file.

There are some changes you'll have to make to exim.conf if you want to use SpamAssassin; be sure to search for "Spam Assassin" (without the quotes) and make the indicated changes.

Jeff
 
Back
Top