Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Msx
    Msx is offline
    Registered User
    Join Date
    May 2004
    Posts
    2

    Default How to enable procmail in exim

    Does Anyone know how to support procmail in exim ?

    I searched all theinternet but I can't find any solutions, most of the result talk as if procmail supported by default

    I have attached my exim.conf file

    PS: I don't know anything about exim, so I am very sorry if this easy question.
    Attached Files
    Last edited by Msx; 05-23-2004 at 11:13 AM.

  2. #2
    Registered User
    Join Date
    May 2004
    Posts
    2

    Default

    Hi,

    I tried to setup procmail in exim and atlast it was a sucess, and i wanted to share the same with you guys.

    This is what i did..

    My hosting server:

    1. it has cpanel
    2. exim

    when i checked with support of my hosting server, they said the way exim works is different and does not use .procmailrc or .forward, and asked me to use forwards from the cpanel interface.

    Procedure:
    Step 1

    i created a .procmailrc file and setup my filters.
    this file was created in my home directory.
    ie. if you logon using shell or telnet , the first directory you go when you login.

    or if you are using ftp, then the top most directory which you can access.

    NOTE: these files ( starting with . ) is not visible using ls or ls -l command from shell insted use ls -la
    i.e $ ls -l


    IMPORTANT NOTE: make sure you set the verbose = off
    else you'll receive mail could not be delevered message


    Step 2

    goto cpanel and goto mail
    create a forward and enter the path to procmail in the place of destination with | pipe symbol.

    i.e. guest@domain.com ==> |/usr/bin/procmail
    NOTE: make sure you have use the pipe.

    you are all set now...

    here is my sample .procmail file

    VERBOSE=no
    SENDMAIL=/usr/lib/sendmail
    SHELL=/bin/sh
    LOGFILE=./proclog.log
    MAILDIR=$HOME/mail

    :0 c
    * ^TO.*guest@mydomain.com
    ! admin@mydomain.com


    feel free to contact me if you have any questions...

    saravana@dbconsultinc.com

  3. #3
    Msx
    Msx is offline
    Registered User
    Join Date
    May 2004
    Posts
    2

    Default

    Thank you (jsaravana) for your help

    I am using exim vfilters ,after using it I think its easyer than procmail

    Thank you again

Similar Threads & Tags
Similar threads

  1. Enable 587 port in Exim
    By thewebhosting in forum E-mail Discussions
    Replies: 8
    Last Post: 01-12-2010, 01:41 PM
  2. Enable 587 port in Exim
    By thewebhosting in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 01-12-2010, 01:41 PM
  3. Migration from Mail Enable to Exim
    By rightguy in forum E-mail Discussions
    Replies: 1
    Last Post: 06-19-2009, 06:33 PM
  4. How to enable DomainKeys with latest exim builds?
    By norelidd in forum E-mail Discussions
    Replies: 17
    Last Post: 06-21-2007, 04:39 AM
  5. What MTA - exim or procmail?
    By sej7278 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-13-2003, 12:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube