procmail errors on Cpanel/Exim
I have .procmailrc setup on a cpanel account with Exim, on the domain level. The .forward file has this in it:
|/usr/bin/procmail
:0
* ^(To|Cc).*user@domain.com
/home/mainusername/mail/domain.com/user/inbox
* ^(To|Cc).*user@domain.com
/home/mainusername/mail/domain.com/user/inbox
pipe to |/usr/bin/procmail
generated by $user@$servername
The following text was generated during the delivery attempt:
------ pipe to |/usr/bin/procmail
generated by $user@$servername
The following text was generated during the delivery attempt:
------ pipe to |/usr/bin/procmail
Has anyone seen this before, and corrected it on cpanel/Exim? I've tried about every flavor of .forward and procmail trick and cannot get rid of itsuccessfully. Using "|/usr/bin/procmail -f-" I believe got rid of the error, but it also ate all the incoming email. $user@$servername is not in the actual error, of course. And I know that procmail shouldn't be used as an MTA, but as Cpanel doesn't seem to be able to handle aliases easily/quickly to parked and aliased domains, I couldn't spot a better way to do this. Especially as I need to be able to procmail vs. anything coming into the various hosts. Any ideas or guidance would be wildly appreciated...