srichards
Suspended / Banned
- Messages
- 10,968
- Name
- Suz
- Edit My Images
- Yes
WHM is doing my head in. I need to add a directive into the exim configuration to block certain email senders from certain domains as they are just sending me spam all the time.
Every single ACL command I have tried isn't recognised in the WHM advanced editor. My vps provider tried to do it and managed to stop email from working altogether.
I was looking at using the following:
acl_check_sender:
deny senders = /etc/exim/sender_reject.list
accept
I have the sender_reject.list file with:
*@.ru
*@.mobi
*@gmail.com
I think this should take someone that knows what they're doing 5/10 minutes to do but I've been trying to do it ALL day. It's such a waste of time! I can't edit the exim configuration file directly as WHM will get in a twist and the utility for checking and correctly updating the exim.conf file if you directly edit isn't on the VPS.
I need to know where the acl_check_sender directive has to be put and whether there needs to be anything else. There is one place to add these things into the WHM advanced exim configuration editor and it doesn't like anything other than a domain list. Then If I use the domain list directive I have to add something into the ROUTER configuration but there isn't an obvious way of doing it.
I tried asking on the cpanel forum but they seem to be avoiding answering the question. Other solutions they have come up with are either for stopping out going mail or they are for single domains and not something in an easily editable list.
I am beginning to think that it has been deliberately designed to stop you doing this!
I have some of the domains blocked via the user prefs in spam-assassin but this is wasteful as I'd rather these senders were just binned straight off without using resources.
All I want is a list of domains I maintain that I want to block that exim takes notice of. Why is it seemingly so hard to do??
Every single ACL command I have tried isn't recognised in the WHM advanced editor. My vps provider tried to do it and managed to stop email from working altogether.
I was looking at using the following:
acl_check_sender:
deny senders = /etc/exim/sender_reject.list
accept
I have the sender_reject.list file with:
*@.ru
*@.mobi
*@gmail.com
I think this should take someone that knows what they're doing 5/10 minutes to do but I've been trying to do it ALL day. It's such a waste of time! I can't edit the exim configuration file directly as WHM will get in a twist and the utility for checking and correctly updating the exim.conf file if you directly edit isn't on the VPS.
I need to know where the acl_check_sender directive has to be put and whether there needs to be anything else. There is one place to add these things into the WHM advanced exim configuration editor and it doesn't like anything other than a domain list. Then If I use the domain list directive I have to add something into the ROUTER configuration but there isn't an obvious way of doing it.
I tried asking on the cpanel forum but they seem to be avoiding answering the question. Other solutions they have come up with are either for stopping out going mail or they are for single domains and not something in an easily editable list.
I am beginning to think that it has been deliberately designed to stop you doing this!
I have some of the domains blocked via the user prefs in spam-assassin but this is wasteful as I'd rather these senders were just binned straight off without using resources.
All I want is a list of domains I maintain that I want to block that exim takes notice of. Why is it seemingly so hard to do??