View Single Post
  #9  
Old 3rd November 2008, 16:01
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Hi Falko
there isnt file /etc/procmailrc
but if i search procmailrc, i find:

Code:
#locate procmailrc 
/home/admispconfig/.procmailrc
/root/ispconfig/isp/conf/procmailrc.master
/usr/share/doc/procmail-3.22/telsas_procmailrc
/usr/share/doc/procmail-3.22/examples/1procmailrc
/usr/share/doc/procmail-3.22/examples/2procmailrc
/usr/share/doc/procmail-3.22/examples/3procmailrc
/usr/share/man/man5/procmailrc.5.gz
/var/www/web1/.procmailrc
/var/www/web1/user/xxxx.net_admin/.procmailrc
/var/www/web11/.procmailrc
/var/www/web11/user/xxxxxx.com_admision/.procmailrc
/var/www/web2/.procmailrc
...
etc
and /root/adminispconfig/.procmailrc is:
Code:
[root@isp objects]# vi /home/admispconfig/.procmailrc
SHELL=/bin/sh

USERNAME=`formail -xSubject:  | awk '{print $2}'`

:0
* ^Subject:.*Mailsize:*
{
:0
| formail -I "" | sed -e '/^$/d' >> /home/admispconfig/mailstats/${USERNAME}
}
And /rot/ispconfig/isp/conf/procmailrc.master is
Code:
{MAILDIR_COMMENT}MAILDIR=$HOME/Maildir/
{MAILDIR_COMMENT}DEFAULT=$MAILDIR
{MAILDIR_COMMENT}ORGMAIL=$MAILDIR
{QUOTA}
INCLUDERC={PMDIR}/.mailsize.rc
{QUOTA_COMMENT}INCLUDERC={PMDIR}/.quota.rc
{ANTIVIRUS_COMMENT}INCLUDERC={PMDIR}/.antivirus.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.local-rules.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.html-trap.rc
{SPAMASSASSIN_COMMENT}INCLUDERC={PMDIR}/.spamassassin.rc
{AUTORESPONDER_COMMENT}INCLUDERC={PMDIR}/.autoresponder.rc

Last edited by chua_jose; 4th November 2008 at 13:12.
Reply With Quote