|
|||
|
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.
__________________
Hello
Last edited by Msx; 05-23-2004 at 11:13 AM. |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|