Exim Advanced Config editor to fix piping problem

bladerunner316

Registered
Aug 3, 2022
2
0
1
USA
cPanel Access Level
Root Administrator
Hi All-
Using cPanel & WHM v104.0.7

I need to make changes outlined here: https://classichelp.kayako.com/hc/en-us/articles/360006379540-Preventing-Piped-Email-Bounces Because piped emails, while being processed correctly, are generating a bounce back with errors to the sender.

Basically, I need to change return_output to return_fail_output.

IN the advanced exim config editor, towards the bottom is "Section: TRANSPORTMIDDLE" text box where this change should go. In fact, just underneath this box a commented out entry that specifically mentions this change:

#Set return_fail_output
# instead of return_output if you want this to happen only when the pipe fails
# to complete normally.

Problem is, if I try to add this customization, exim generates an error and says: "2022-08-03 12:23:39 Exim configuration error: there are two transports called "address_pipe" "

Cpanel support says this is not possible to make this change.....despite the above commented out entry elduing to the fact that it should be possible, or am i incorrect?

Has anyone been able to complete this change? Thanks.
 
Last edited by a moderator:

bladerunner316

Registered
Aug 3, 2022
2
0
1
USA
cPanel Access Level
Root Administrator
Hey there! It sounds like you already had a ticket opened with our team - is that correct? If so, could you post the number here so I can review that?
yes, i do have a ticket. 94471791

was hoping the very smart group here would have an idea on how this could be accomplished.

The reason i need this modification is because piped emails, while being successfully processed, are giving the sender a bounce back with the following errors (so they believe their message was not processed):

PHP Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /pathtoOSticket/bootstrap.php on line 19
PHP Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /pathtoOSTicket/bootstrap.php on line 21
 

jandafields

Well-Known Member
May 6, 2004
443
6
168
USA
cPanel Access Level
Root Administrator
I have also been wanting to do this. I'm piping to a curl command, and no matter what I try, sending output to dev null, or sending output to a tmp file so that there is no return value, curl still returns something (a blank line perhaps) so I still end up with delivery failure emails. Which, of course, are not delivery failures at all. they are just the return from the pipe. So now I'm having to do email filters to catch these, but not catch legitimate delivery failures.