Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2002
    Posts
    50

    Question 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

  2. #2
    Join Date
    Aug 2002
    Posts
    50
    Just an update on my own thread... here's the message I'm getting in cPanel when trying to restart Exim with the config file changes in place:

    Jun 24 13:15:20 host23 exim: exim shutdown failed Jun 24 13:15:20 host23 exim: antirelayd shutdown succeeded Jun 24 13:15:20 host23 exim: spamd shutdown failed Jun 24 13:15:20 host23 exim: exim shutdown failed Jun 24 13:15:20 host23 exim: antirelayd shutdown failed Jun 24 13:15:20 host23 exim: spamd shutdown failed Jun 24 13:15:20 host23 exim: exim shutdown failed Jun 24 13:15:20 host23 exim: antirelayd shutdown failed Jun 24 13:15:21 host23 exim: spamd shutdown failed Jun 24 13:15:21 host23 exim: 2004-06-24 13:15:21 Exim configuration error in line 609 of /etc/exim.conf: Jun 24 13:15:21 host23 exim: router procmail: cannot find router driver "localuser" Jun 24 13:15:21 host23 exim: exim startup failed Jun 24 13:15:21 host23 exim: 2004-06-24 13:15:21 Exim configuration error in line 609 of /etc/exim.conf: Jun 24 13:15:21 host23 exim: router procmail: cannot find router driver "localuser" Jun 24 13:15:21 host23 exim: exim startup failed Jun 24 13:15:21 host23 exim: antirelayd startup succeeded exim has failed, please contact the sysadmin.

  3. #3
    Join Date
    Nov 2003
    Location
    USA
    Posts
    877
    do you find someone
    WHMCS Services / City Tecks
    WHMCS Development | Blesta / WISECP Developer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •