I have a shared account from Hostgator. In order to be able to filter incoming mail with .procmailrc I added the following to my /etc/vfilters/<USERS>:
Truly, it looks quite strange. I have never had an opportunity to use Exim before. I don't want to use Exim native filtering because I already have a quite big list of procmail rules. Is this method of using procmail with Exim reliable or are there more recommended ones?# Exim filter
# Auto Generated by cPanel. Do not manually edit this file as your changes will be overwritten. If you must edit this filter, edit the corresponding .yaml file as well.
if not first_delivery and error_message then finish endif
$header_from: matches ".*"
pipe "/usr/bin/procmail /home1/<USER>/.procmailrc"