e-mail user password &spamfilter

Discussion in 'General' started by kiemal, Dec 14, 2007.

  1. kiemal

    kiemal New Member

    Hi.
    Sometimes, after I change setting ONLY for e-mail spamfilter for certain user, this user cannot login via pop3 and I must set password again for this user. How its poosible ?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Any errors in /home/admispconfig/ispconfig/ispconfig.log?
     
  3. kiemal

    kiemal New Member

    only this:

    [root@k11 ~]# cat /home/admispconfig/ispconfig/ispconfig.log | grep err
    10.12.2007 - 12:58:38 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1087: cp -fr /root/ispconfig/isp/error_pl /var/www/web48/web/error
    10.12.2007 - 13:32:59 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1087: cp -fr /root/ispconfig/isp/error_pl /var/www/web50/web/error
    [root@k11 ~]# cat /home/admispconfig/ispconfig/ispconfig.log | grep ERR
    [root@k11 ~]#
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What about warnings?
     
  5. kiemal

    kiemal New Member


    [root@k11 ~]# cat /home/admispconfig/ispconfig/ispconfig.log | grep warn
    [root@k11 ~]# cat /home/admispconfig/ispconfig/ispconfig.log | grep WARN
    11.12.2007 - 21:06:07 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    11.12.2007 - 21:06:20 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    11.12.2007 - 21:06:34 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    11.12.2007 - 21:06:48 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    11.12.2007 - 21:07:02 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    11.12.2007 - 21:07:35 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    11.12.2007 - 21:29:39 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    11.12.2007 - 21:33:43 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    11.12.2007 - 22:07:58 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 995: WARNING: could not setquota -u web1_christo 0 0 0 0 -a &> /dev/null
    [root@k11 ~]#
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Is web1_christo one of the users that you're having problems with? What's the output of
    Code:
    grep web1_christo /etc/passwd
    ?
     
  7. kiemal

    kiemal New Member

    yes. and more client from this site.
     
  8. kiemal

    kiemal New Member


    [root@k11 etc]# grep web1_christo /etc/passwd
    web1_christo:x:::::/dev/null
    [root@k11 etc]# grep web1_aga /etc/passwd
    web1_aga:x:10014:10001:Aga:/var/www/web1/user/web1_aga:/bin/false
    [root@k11 etc]#
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    The user web1_christo is visible in the ISPConfig users list of the site or is this user in the recycle bin?
     
  10. kiemal

    kiemal New Member

    web1_christo not visible in the ISPConfig and not visible in the recycle bin.
     
  11. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
     
  12. kiemal

    kiemal New Member

    [root@k11 ~]# ls -la /root/ispconfig
    total 104
    drwxr-xr-x 9 root root 4096 2007-12-22 13:40 .
    drwxr-x--- 4 root root 4096 2007-12-05 14:56 ..
    -rwxr-xr-x 1 root root 33012 2007-10-15 12:27 cronolog
    -rwxr-xr-x 1 root root 9673 2007-10-15 12:27 cronosplit
    drwxr-xr-x 12 root root 4096 2007-10-15 11:58 httpd
    drwxr-xr-x 15 root root 4096 2007-10-15 12:27 isp
    -rw-r--r-- 1 root root 8 2007-12-22 13:40 .old_path_httpd_root
    drwxr-xr-x 6 root root 4096 2007-10-15 11:36 openssl
    drwxr-xr-x 6 root root 4096 2007-10-15 12:04 php
    drwxr-xr-x 4 root root 4096 2007-10-15 12:27 scripts
    drwxr-xr-x 4 root root 4096 2007-10-15 12:27 standard_cgis
    drwxr-xr-x 2 root root 4096 2007-10-15 12:27 sv
    -rwx------ 1 root root 9389 2007-10-15 12:27 uninstall
    [root@k11 ~]#
     
  13. kiemal

    kiemal New Member

    I try some test. Grep /etc/shadow for my account. Change Spam Hits for my e-mail account in ISPConfig from 5 to 6 and compare /etc/shadow. My password hash after this. I must reenter password in ISPConfig and my account work again.
     
  14. kiemal

    kiemal New Member

    Result before and after change Spam Hits in my e-mail account:

    [root@k11 etc]# ls -la shad*
    -r-------- 1 root root 20221 2007-12-22 16:32 shadow
    -r-------- 1 root root 20183 2007-12-11 22:07 shadow-
    [root@k11 etc]# ls -la shad*
    -r-------- 1 root root 20220 2007-12-22 16:41 shadow
    -r-------- 1 root root 20183 2007-12-11 22:07 shadow-
    [root@k11 etc]#
     
  15. kiemal

    kiemal New Member

    sorry. My password hash CHANGED after this. :confused:
     
  16. falko

    falko Super Moderator Howtoforge Staff

    The shadow files differ by just one byte - I guess it's a missing newline at the end of the file. Can you add that and see if it works then?
     

Share This Page