Skip to main content

Exim system wide filter file - mail command not working

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! On the cPanel side of things, we don't support this level of custom Exim filtering, so I'm not sure I personally will have any helpful ideas. Exim does mention setting an errors address instead of using the "mail" command, which is outlined in section 7 here:
    0
  • cPRex Jurassic Moderator
    It's also worth noting the following (this output was taken from a test machine) # grep system_filter_user /etc/exim* /etc/exim.conf:system_filter_user = cpaneleximfilter
    The cpaneleximfilter user doesn't have the ability to send mail directly, so you might do better calling a PHP script or something similar, if my above ideas don't help the situation.
    0
  • phil99
    Thanks @cPRex. I realise you can't support every exim customisation, but I was hoping someone might have already solved this. We have the default settings for system_filter* in exim.conf: system_filter_user = cpaneleximfilter system_filter_group = cpaneleximfilter system_filter = /etc/cpanel_exim_system_filter
    I'll have a look at the errors address setting as a workaround.
    0
  • phil99
    After some further searching I found a post from 2002 on the exim-users mailing list archive, which give me a clue as to the correct transport to use: system_filter_reply_transport = address_reply
    0
  • cPRex Jurassic Moderator
    Nice! Good find!
    0

Please sign in to leave a comment.