Exim Configuration Manager to route all emails to single email address (development server)

getbvps

Registered
Oct 12, 2021
2
0
1
UK
cPanel Access Level
Root Administrator
Hi all

after trying to solve this one with my provider, they asked me to post here as they don't know what the problem is. I'm working on a development server, so I need exim to reroute ANY and ALL outgoing emails to a single external email address, so that no email can go out to original recipient.

Looking online, it seems this code does what I need

catch_all_outgoing:
driver = redirect
data = [email protected]

Looking at the Exim Configuration Manager, I tried to implement this code in the ROUTESTART, but also in other sections, and every time WHM generates this error

"option setting expected: driver = redirect"

I can't find an explanation for this, or how else to do what I need to do. Anyone that can help or was in similar situation and can point me in the right direction?

Thanks!
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,519
1,030
313
cPanel Access Level
Root Administrator
Hey there! We've seen a few instances where a provider has asked users to post to our forums, but they really shouldn't be doing that. As part of the license, they would be able to contact us about any issues they aren't able to solve.

With that being said, this specific issue isn't related to the cPanel tools on the machine as there is no configuration that will handle emails this way, but customizations would need to happen at the Exim configuration level.

I actually wonder if "catch_all_outgoing" has been deprecated, as I only see older discussions on this, but searching the documentation for that phrase no longer provides any results:


I'm not finding an equivalent tool in the modern Exim documentation.

You may need to post this question directly to the Exim users list to see if there are additional tools available, or clever tricks with filters to achieve this behavior, but I'm not finding an obvious solution at this time.
 
  • Like
Reactions: getbvps

getbvps

Registered
Oct 12, 2021
2
0
1
UK
cPanel Access Level
Root Administrator
Hey there! We've seen a few instances where a provider has asked users to post to our forums, but they really shouldn't be doing that. As part of the license, they would be able to contact us about any issues they aren't able to solve.

With that being said, this specific issue isn't related to the cPanel tools on the machine as there is no configuration that will handle emails this way, but customizations would need to happen at the Exim configuration level.

I actually wonder if "catch_all_outgoing" has been deprecated, as I only see older discussions on this, but searching the documentation for that phrase no longer provides any results:


I'm not finding an equivalent tool in the modern Exim documentation.

You may need to post this question directly to the Exim users list to see if there are additional tools available, or clever tricks with filters to achieve this behavior, but I'm not finding an obvious solution at this time.
Thanks a lot for your quick answer. It makes sense, ok it seems I'll need to search for a solution to something I honestly thought was going to be the simplest of things!