Customized procmailrc.master got deleted

Discussion in 'Installation/Configuration' started by make-fun, Dec 5, 2008.

  1. make-fun

    make-fun Member

    Hi folks

    A few hours ago I got all sorts of messages from my server-scripts, telling me there was a very high load and Postfix was working like crazzy…

    After quite a while it was clear it was our "always_bcc" creating tons of mail loops because of "Mailsize: web…" Emails(mail statistics). Now this should not have happened, as I was using a customized procmailrc.master, since May this year. So I checked
    Code:
    /root/ispconfig/isp/conf/customized_templates/
    and sure thing the template was gone!

    The high load had started at:
    Code:
    Do 4. Dez 21:29:01 CET 2008, 5.93, 4.66, 2.24
    Do 4. Dez 21:28:01 CET 2008, 6.72, 4.46, 2.02
    Do 4. Dez 21:27:01 CET 2008, 6.65, 3.94, 1.70
    Do 4. Dez 21:26:01 CET 2008, 6.42, 3.25, 1.34
    Do 4. Dez 21:25:01 CET 2008, 5.57, 2.48, 0.99
    Do 4. Dez 21:24:01 CET 2008, 4.22, 1.61, 0.63
    [B]Do 4. Dez 21:23:01 CET 2008, 2.61, 0.79, 0.32[/B]
    Do 4. Dez 21:22:01 CET 2008, 0.07, 0.09, 0.08
    Do 4. Dez 21:21:01 CET 2008, 0.20, 0.11, 0.09
    which was shortly after I had revoked a User's Shell privileges at the ISPConfig panel. Now, this has triggered the "ispconfig_procmail.lib.php"
    Code:
    /home/admispconfig/ispconfig/ispconfig.log:
    04.12.2008 - 21:16:50 => INFO - USER:
    web*****:x:10036:10001:FTP_DP:/var/www/web1:/bin/false
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 909: setquota -u web***** 0 0 0 0 -a &> /dev/null
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 910: setquota -T -u web***** 604800 604800 -a &> /dev/null
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp -f /root/ispconfig/isp/conf/forward.master /var/ww
    w/web1/.forward
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 117: symlink /var/www/web1/Maildir
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/loc
    al-host-names~
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtus
    ertable~
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1265: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vh
    osts_ispconfig.conf~
    04.12.2008 - 21:16:50 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2067: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
    04.12.2008 - 22:59:26 => INFO 
    But why would the a customized procmailrc.master be removed during all this? Or, could it be the file was deleted during an update I did 2 days ago, going from 2.2.23 to 2.2.27 and changing the User settings triggered the update of all user ".procmailrc"?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig does not contain code to delete the customized script, so most likely any other process or user must have deleted it. If the file is in the customized_templates subfolder, ISPConfig will not touch it during a update.
     

Share This Page