paul-w
Verified User
Hi all
I'm running SpamBlocker.exim.conf.2.0 and MailScanner (www.mailscanner.info) which requires a separate inbound and outbound Exim process.
The problem is, I can't get the verify recipient functionality working, even though the default spamblocker exim.conf uses it.
The domain in question is one that has its own smptp server and my server is a relay for it. So, the public DNS for the domain points to my server as the mail server. My server has a different DNS which points to their server as the mail server. Hence, my server scans for viruses and spam then relays the message onto theirs. Their server sends their outbound mail via mine.
Their domain is in my /etc/virtual/relay_domains file and the IP of their mail server is in my /etc/virtual/relay_hosts file.
They are getting shedloads (tens of thousands a day) of dictionary based spam to their domain. Verify recipient should, I presume, stop this in its tracks. Instead, the messages are passed to MailScanner for scanning, thereby wasting system resources.
Has anyone any ideas? I've spent hours banging my head against a brick wall on this one.
I modified the default /etc/exim.conf. I've commented my changes below but they made no difference:
# accept if address is in a local domain as long as recipient can be verified
accept domains = +local_domains
endpass
#next line was originally but I wondered about the quotation marks:
#message = "Unknown User"
message = unknown user
verify = recipient
# accept if address is in a domain for which we relay as long as recipient
# can be verified
accept domains = +relay_domains
endpass
#next line originally didn't exist
message = unknown user
verify = recipient
accept hosts = +relay_hosts
#next 3 lines didn't exist originally - trying to get verify recipient working
endpass
message = unknown user
verify = recipient
accept hosts = +auth_relay_hosts
endpass
message = authentication required
#next line didn't exist originally
verify = recipient
I'm running SpamBlocker.exim.conf.2.0 and MailScanner (www.mailscanner.info) which requires a separate inbound and outbound Exim process.
The problem is, I can't get the verify recipient functionality working, even though the default spamblocker exim.conf uses it.
The domain in question is one that has its own smptp server and my server is a relay for it. So, the public DNS for the domain points to my server as the mail server. My server has a different DNS which points to their server as the mail server. Hence, my server scans for viruses and spam then relays the message onto theirs. Their server sends their outbound mail via mine.
Their domain is in my /etc/virtual/relay_domains file and the IP of their mail server is in my /etc/virtual/relay_hosts file.
They are getting shedloads (tens of thousands a day) of dictionary based spam to their domain. Verify recipient should, I presume, stop this in its tracks. Instead, the messages are passed to MailScanner for scanning, thereby wasting system resources.
Has anyone any ideas? I've spent hours banging my head against a brick wall on this one.
I modified the default /etc/exim.conf. I've commented my changes below but they made no difference:
# accept if address is in a local domain as long as recipient can be verified
accept domains = +local_domains
endpass
#next line was originally but I wondered about the quotation marks:
#message = "Unknown User"
message = unknown user
verify = recipient
# accept if address is in a domain for which we relay as long as recipient
# can be verified
accept domains = +relay_domains
endpass
#next line originally didn't exist
message = unknown user
verify = recipient
accept hosts = +relay_hosts
#next 3 lines didn't exist originally - trying to get verify recipient working
endpass
message = unknown user
verify = recipient
accept hosts = +auth_relay_hosts
endpass
message = authentication required
#next line didn't exist originally
verify = recipient