PDA

View Full Version : e-mail user password &spamfilter


kiemal
14th December 2007, 14:55
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 ?

falko
15th December 2007, 17:02
Any errors in /home/admispconfig/ispconfig/ispconfig.log?

kiemal
18th December 2007, 16:57
Any errors in /home/admispconfig/ispconfig/ispconfig.log?

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 ~]#

falko
19th December 2007, 18:22
What about warnings?

kiemal
19th December 2007, 19:21
What about warnings?


[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 ~]#

falko
20th December 2007, 17:29
Is web1_christo one of the users that you're having problems with? What's the output of grep web1_christo /etc/passwd?

kiemal
21st December 2007, 11:18
yes. and more client from this site.

kiemal
21st December 2007, 11:20
yes. and more client from this site.


[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]#

till
21st December 2007, 12:54
The user web1_christo is visible in the ISPConfig users list of the site or is this user in the recycle bin?

kiemal
21st December 2007, 13:44
The user web1_christo is visible in the ISPConfig users list of the site or is this user in the recycle bin?

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

falko
22nd December 2007, 16:39
What's the output of ls -la /root/ispconfig?

kiemal
22nd December 2007, 16:48
What's the output of ls -la /root/ispconfig?

[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 ~]#

kiemal
22nd December 2007, 17:37
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.

kiemal
22nd December 2007, 17:43
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]#

kiemal
22nd December 2007, 17:45
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.

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

falko
23rd December 2007, 18:03
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]#
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?