Using .procmail files with Exim?

Hello,

I'm looking to help a customer of ours get his cPanel server setup to use .procmailrc files in user's home directories. I personally attempted to add the following into his exim.conf:

#TRANSPORT
procmail_pipe:
driver = pipe
command = "/usr/bin/procmail -d ${local_part}"
return_path_add
delivery_date_add
envelope_to_add
check_string = "From "
escape_string = ">From "
user = $local_part
group = mail
#DIRECTOR
procmail:
driver = localuser
transport = procmail_pipe
require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
no_verify
However, when you restart Exim with the modified config file in place, it won't start properly because it doesn't recognize 'localuser'. I'm no Exim guy by any means, so this is about as far as I've gotten. I commented out the changes and restarted Exim for this customer just so he has a functional mail server while this is figured out.

So basically, I'm looking to possibly hire somebody to do this job on the customer's server, and also to give me a quick tutorial how to do this in the future.

Please shoot me over an email at kevin AT kgibbons dot com if you could lend a hand on this one.

thanks in advance,

Kevin Gibbons

 

 

 

 

Top