Exim is generating very large log files on a server which hosts about 60 domains belonging to one client, some of the domain names being very old and subject to large amount of spam. The device containing /var/log is reaching close to 100% usage just as the log files rotate. Less than 10 of the domains actually use mail, the rest being configured to :fail:.
Some of the things I have either tried or have considered are:
- removing valias file for a domain (still generates log entries)
- alias the primary maillog file to another device (does not deal with the problem really)
- remove MX from zone file (still resolves via A record)
It would make more sense to simply (or not simply?) block the mail for these domains before they reach the MTA. While the server performs well even under the load, there seems to be no logical reason to subject it to the processing of mail which will never be delivered.
Is there a way to block mail to defined domains on a server level so the connection would be rejected immediately?



LinkBack URL
About LinkBacks
Reply With Quote






