MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: tonym on 2013-05-24, 21:28:19
-
A. Kloxo-MR: 6.5.0.f-2013031815
B. OS: CentOS release 5.9 (Final) i686
C. Apps:
1. MySQL: mysql-5.0.96-1
2. PHP: php53u-5.3.24-1.ius.el5
3. Httpd: httpd-2.2.24-1.el5
4. Lighttpd: --uninstalled--
5. Nginx: --uninstalled--
6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
7. Dns: djbdns-1.05-5
D. Php-type (for Httpd/proxy): mod_php_ruid2
E. Memory:
total used free shared buffers cached
Mem: 1024 1005 18 0 0 324
-/+ buffers/cache: 681 342
Swap: 1024 25 998
I upgraded from Kloxo 6.1.12 to kloxo-mr last weekend, and have been unable to send email from Thunderbird since.
/var/log/kloxo/maillog shows this when I attempt to send via SMTP to port 25:
May 24 13:23:32 vps2 vpopmail[28341]: vchkpw-smtp: vpopmail user not found myemail@mydomain.co.uk (http://mailto:myemail@mydomain.co.uk):127.0.0.1
The command: /home/vpopmail/bin/vuserinfo myemail@mydomain.co.uk
works when I log in in as my domain user, so I believe it can access user and password information in the vpopmail database ok.
-
and I have the same problem i try to connect and recive username and password is incorect.
-
same here:
A. Kloxo-MR: 6.5.0.f-2013031816
B. OS: CentOS release 5.9 (Final) x86_64
C. Apps:
1. MySQL: mysql-5.0.95-5.el5_9
2. PHP: php53u-5.3.24-1.ius.el5
3. Httpd: httpd-2.2.24-1.el5
4. Lighttpd: --uninstalled--
5. Nginx: nginx-1.5.0-1.el5
6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
7. Dns: bind-9.9.2-3.P2.el5
D. Php-type (for Httpd/proxy): suphp_event
E. Memory:
total used free shared buffers cached
Mem: 2010 1763 246 0 365 322
-/+ buffers/cache: 1076 933
Swap: 3999 293 3706
-
pop3 and smtp auth fail with correct data. cleanup, fixmail-all not working. in logs are filled with vchkpw-pop3: vpopmail user not found for correct users and mails...
-
That was million times here. Read my posts and you will find a solution...
-
That was million times here. Read my posts and you will find a solution...
If you wrote this a million times in noej updates should be repaired and that was not always the same error with every update.
This forum is a mess and it's hard to discern anything.
-
Works ok for me:
[root@nowosci ~]# qmailctl stat
authlib: up (pid 2551) 96 seconds
clamd: up (pid 2542) 96 seconds
imap4: up (pid 2552) 96 seconds
imap4-ssl: up (pid 2537) 96 seconds
pop3: up (pid 2566) 96 seconds
pop3-ssl: up (pid 2564) 96 seconds
send: up (pid 2560) 96 seconds
smtp: up (pid 2536) 96 seconds
spamd: up (pid 2549) 96 seconds
submission: up (pid 2563) 96 seconds
authlib/log: up (pid 2532) 97 seconds
clamd/log: up (pid 2568) 96 seconds
imap4/log: up (pid 2557) 96 seconds
imap4-ssl/log: up (pid 2556) 96 seconds
pop3/log: up (pid 2535) 96 seconds
pop3-ssl/log: up (pid 2561) 96 seconds
send/log: up (pid 2543) 96 seconds
smtp/log: up (pid 2565) 96 seconds
spamd/log: up (pid 2562) 96 seconds
submission/log: up (pid 2567) 96 seconds
-
I tried the "run everything as root" approach that Spacedust posted in another thread:
sed -i 's/-u vpopmail/-u root/g' /var/qmail/supervise/submission/run
sed -i 's/-g vpopmail/-g root/g' /var/qmail/supervise/submission/run
sed -i 's/-u vpopmail/-u root/g' /var/qmail/supervise/smtp/run
sed -i 's/-g vpopmail/-g root/g' /var/qmail/supervise/smtp/run
sed -i 's/-u vpopmail/-u admin/g' /var/qmail/supervise/spamd/run
It hasn't helped, so it seems I don't have a file permission problem.
-
That was million times here. Read my posts and you will find a solution...
Share solution, dont just say like that.
-
That was million times here. Read my posts and you will find a solution...
Share solution, dont just say like that.
Change /var/qmail/supervise/submission to:
#!/bin/sh
QMAILDUID=`id -u root`
NOFILESGID=`id -g root`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
export REQUIRE_AUTH=1
exec /usr/bin/softlimit -m 48000000
/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
-u "$QMAILDUID" -g "$NOFILESGID" 0 587
$SMTPD $VCHKPW /bin/true 2>&1
/var/qmail/supervise/spamd to:
#!/bin/sh
exec /usr/bin/spamd -x -u admin -s stderr 2>&1
/var/qmail/supervise/smtp to:
#!/bin/sh
QMAILDUID=`id -u root`
NOFILESGID=`id -g root`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0
exec /usr/bin/softlimit -m 64000000
/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
$RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1
The restart qmail with:
/etc/rc.d/init.d/qmail stop
/etc/rc.d/init.d/qmail start
-
Thanks for share, but,
/var/qmail/supervise/submission and /var/qmail/supervise/smtp are folders, not files. Inside is file 'run' that contains similar code that i pasted over.
/var/qmail/supervise/spamd does not exist at all. And lastly did not solved problem. Even with /script/fixmail-all after.
-
Thanks for share, but,
/var/qmail/supervise/submission and /var/qmail/supervise/smtp are folders, not files. Inside is file 'run' that contains similar code that i pasted over.
/var/qmail/supervise/spamd does not exist at all. And lastly did not solved problem. Even with /script/fixmail-all after.
Yes. I mean "run" files. If you don't use spamassassin then you don't have this folder.
-
Thanks for share, but,
/var/qmail/supervise/submission and /var/qmail/supervise/smtp are folders, not files. Inside is file 'run' that contains similar code that i pasted over.
/var/qmail/supervise/spamd does not exist at all. And lastly did not solved problem. Even with /script/fixmail-all after.
Yes. I mean "run" files. If you don't use spamassassin then you don't have this folder.
ix
yet no fix
-
-bash: /var/qmail/users/assign: Permission denied
what permisiond this need? folowing from viewtopic.php?f=15&t=9426#p13583 (http://forum.mratwork.com/viewtopic.php?f=15&t=9426#p13583)
-
-bash: /var/qmail/users/assign: Permission denied
what permisiond this need? folowing from viewtopic.php?f=15&t=9426#p13583 (http://forum.mratwork.com/viewtopic.php?f=15&t=9426#p13583)
ls -l /var/qmail/users/assign
-rw-r--r-- 1 root root 177K maj 28 13:43 /var/qmail/users/assign
-
that is ok but still same errors.
-
that is ok but still same errors.
I'm not updating to this version because it has redirect errors: viewtopic.php?f=5&t=18891 (http://forum.mratwork.com/viewtopic.php?f=5&t=18891)
-
that is ok but still same errors.
I'm not updating to this version because it has redirect errors: viewtopic.php?f=5&t=18891 (http://forum.mratwork.com/viewtopic.php?f=5&t=18891)
why new versions when bugs just poping out and old not getting fixed.
any sugestion on how to get mail back
-
that is ok but still same errors.
I'm not updating to this version because it has redirect errors: viewtopic.php?f=5&t=18891 (http://forum.mratwork.com/viewtopic.php?f=5&t=18891)
why new versions when bugs just poping out and old not getting fixed.
any sugestion on how to get mail back
Even my quota solution for Kloxo still isn't added yet. It reduced scavenge time on my servers from 6 hours to 40 minutes !
-
Back to the SMTP and POP auth problem: modifying the "run" files to run as root (and admin) does not solve it. Any other ideas of what we can try to diagnose the problem?
Since I've upgraded to Kloxo-MR, the log files /var/log/kloxo/smtp.log no longer has any useful log messages posted to it, only the time-stamp messages. /var/log/kloxo/maillog also doesn't show anything like the informational messages that it used to. Now there is just the "vchkpw-smtp: vpopmail user not found" and "vchkpw-pop3: vpopmail user not found" messages.
How can I turn on a bit more logging?
-
Maybe there is a easy way to downgrade kloxo since its RPM package?
-
See 'log manager' for 'Qmail-toaster ...' for mail log.
-
See 'log manager' for 'Qmail-toaster ...' for mail log.
And that is all you have to say, beside 'everything is working on my servers'. You must understand that people here are not programers like you. And we need free help, since Kloxo is free. If you are a man stand up and listen to community. Dont release new and new versions. Make only one but truly STABLE. There are people here that will help, far less ones that really can... For the problem at hand, what is changed in this kloxo version that is connected to qmail?
-
Mustafa problems started mails from version 6.5.0.f-2013031812. So analyze what you changed from version 6.5.0.f-2013031811. Unfortunately, you do not want to put Radmin or similar software where to work was to review and change so other hard to find what you change in each update.
Logs do not really show anything interesting that would help fix the problem.
-
Mustafa problems started mails from version 6.5.0.f-2013031812. So analyze what you changed from version 6.5.0.f-2013031811. Unfortunately, you do not want to put Radmin or similar software where to work was to review and change so other hard to find what you change in each update.
Logs do not really show anything interesting that would help fix the problem.
You can use CSDiff to comparing 6.5.0.f-2013031811 to 6.5.0.f-2013031816. EVery version you can download from https://github.com/mustafaramadhan/kloxo/tree/release (https://github.com/mustafaramadhan/kloxo/tree/release)
-
Mustafa problems started mails from version 6.5.0.f-2013031812. So analyze what you changed from version 6.5.0.f-2013031811. Unfortunately, you do not want to put Radmin or similar software where to work was to review and change so other hard to find what you change in each update.
Logs do not really show anything interesting that would help fix the problem.
You can use CSDiff to comparing 6.5.0.f-2013031811 to 6.5.0.f-2013031816. EVery version you can download from https://github.com/mustafaramadhan/kloxo/tree/release (https://github.com/mustafaramadhan/kloxo/tree/release)
Mustafa and I have to download a few hundred MB to look different? I wanted to download Kloxo-MR to its own repository where you can view the workflow, but your repository is so great that it's pointless. Get them it is a miracle.
-
Waiting .17 release. I hope smtp/submission (port 25 and 587) already fixed.
Server for this forum already use .17 release.
-
Waiting .17 release. I hope smtp/submission (port 25 and 587) already fixed.
Server for this forum already use .17 release.
Did you fixed this too ? viewtopic.php?f=5&t=18891 (http://forum.mratwork.com/viewtopic.php?f=5&t=18891)
"If I have a wildcard enabled and redirect to www enabled too then webmail.domain.com points to domain home which is incorrect. Please fix this !"
-
Waiting .17 release. I hope smtp/submission (port 25 and 587) already fixed.
Server for this forum already use .17 release.
Mustafa why do not you run Redmine or Rhodecode to be able to view the flow of the changes that you make in your Kloxo-MR?
After both scripts can be run on Kloxo-MR after small modifications.
-
There maybe something wrong with fixmail (os bug?), so running 'chmod -f 4755 /home/vpopmail/bin/vchkpw' after 'yum update kloxomr; sh /script/cleanup'.
If using 'sh /script/cleanup-simple' (instead 'sh /script/cleanup') need 'sh /script/fixmail-all'.
-
hello all
i update kloxo-mr, my kloxo-mr version is Kloxo-MR 6.5.0.f-2013031817
yum update kloxomr after sh /script/cleanup and SMTP not worked , i try to connect and recive : USERNAME OR PASSWORD IS INCORECT.
-
hello all
i update kloxo-mr, my kloxo-mr version is Kloxo-MR 6.5.0.f-2013031817
yum update kloxomr after sh /script/cleanup and SMTP not worked , i try to connect and recive : USERNAME OR PASSWORD IS INCORECT.
Have you run 'sh /script/fixmail-all; chmod -f 4755 /home/vpopmail/bin/vchkpw' and then reboot?.
-
Port: 587
Connection security: STARTTLS
Authentication method: Encrypted password
Username: account@domain.com
Using port 25 make sending mail so slow. It's maybe because have additional process for spam checking (to zen.spamhaus.org or others).
-
And if the problem described in this topic viewtopic.php?p=7303#p7303 (http://forum.mratwork.com/viewtopic.php?p=7303#p7303) was also repaired?
In the evening, I'll back up and see if a new update is working correctly.
In squirrelmail rpm could be a correct file permissions.
-
I am not testing for Outlook. But for Thunderbird, after setup account and then Thunderbird asking for SSL certificate and then just click OK.
-
@Viking,
I am not fix this issue because didn't found on my servers.
For your situation, just delete 'wrong' directories (like /admin dir) and then try running 'sh /script/fixmail-all'. I hope no 'wrong' directories created again.
-
Yuuuuuppppiiiii worked smtp
Tnx very very much mustafa 10x
-
There maybe something wrong with fixmail (os bug?), so running 'chmod -f 4755 /home/vpopmail/bin/vchkpw' after 'yum update kloxomr; sh /script/cleanup'.
If using 'sh /script/cleanup-simple' (instead 'sh /script/cleanup') need 'sh /script/fixmail-all'.
@MR In my case by using port 587 (SSL) and folowing your instructions problem solved.. I can send receive on both Thunderbird and Windows Live Mail (havent tested outlook as i use windows live mail for basic mailing stuff but sice it worked on this probably outlook will work fine)
Thanks MR...
Please make this directions sticky for others having issues.. In my case i clean installed kloxoMR .17 (*todays version) and smtp wasnt working before your instructions.. Maybe fixmail script has any bug cause i tried this a lot of times before i do 'chmod -f 4755 /home/vpopmail/bin/vchkpw' /reboot and then it worked...
-
There maybe something wrong with fixmail (os bug?), so running 'chmod -f 4755 /home/vpopmail/bin/vchkpw' after 'yum update kloxomr; sh /script/cleanup'.
If using 'sh /script/cleanup-simple' (instead 'sh /script/cleanup') need 'sh /script/fixmail-all'.
@MR In my case by using port 587 (SSL) and folowing your instructions problem solved.. I can send receive on both Thunderbird and Windows Live Mail (havent tested outlook as i use windows live mail for basic mailing stuff but sice it worked on this probably outlook will work fine)
Thanks MR...
Please make this directions sticky for others having issues.. In my case i clean installed kloxoMR .17 (*todays version) and smtp wasnt working before your instructions.. Maybe fixmail script has any bug cause i tried this a lot of times before i do 'chmod -f 4755 /home/vpopmail/bin/vchkpw' /reboot and then it worked...
Yes, fixmail-all little bit not good logic. But, I think it's possible bash bug. I was already submit better code but not release to .18 until another issues also fixed.
About must be rebooted, it's qmail problem/weak. Sometimes need reboot after update something.
-
Instead release .18, maybe I will update qmail and vpopmail rpm.
-
SMTP works for me now with the latest update, but I had to change Thunderbird to use port 587 and Connection Security None. Admittedly I have not been able to reboot yet, as it is now peak evening usage time here.
-
@Viking,
I am not fix this issue because didn't found on my servers.
For your situation, just delete 'wrong' directories (like /admin dir) and then try running 'sh /script/fixmail-all'. I hope no 'wrong' directories created again.
Mustafa but I do in the root directory for all customers, and this problem has been around for a few updates.
Exactly how the package is responsible for this problem?
-
Yes its work now. But with outlook i got this error for SMTP
Send test e-mail message: None of the authentication methods supported by this client are supported by your server.
Outlook work only on TSL port 587
-
Mustafa
on this way work perfect
/var/qmail/supervise/smtp/run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
IP=0
PORT=25
RECORDIO="/usr/bin/recordio"
export SMTPAUTH=""
REQUIRE_AUTH=0
SSL=0
FORCE_TLS=0
DENY_TLS=0
AUTH=0
REQUIRE_AUTH=0
ALLOW_INSECURE_AUTH=1
exec /usr/bin/softlimit -m 64000000
/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
-u "$QMAILDUID" -g "$NOFILESGID" $IP $PORT
$SMTPD $VCHKPW /bin/true 2>&1
-
@insanity,
Yes, but need remove BLACKLIST and RBLSMTPD.
-
Yes but i can't find other solution for now, to work normal with outlook.
Actually only $BLACKLIST there is no need to remove $RBLSMTPD
-
25655 clamav 25 0 195m 167m 1200 R 99.6 33.6 0:06.20 /usr/sbin/clamd
Clamd is overloading the server now :/
-
25655 clamav 25 0 195m 167m 1200 R 99.6 33.6 0:06.20 /usr/sbin/clamd
Clamd is overloading the server now :/
Spacedust confirm with me the same problem.
Mustafa receive emails already running. However, you can not send the authentication error when sending.
These directories in the root directory clients Mustafa arise after the command 'sh /script/cleanup'. Product created for each customer individually.
-
Mustafa emails now work properly. It helped:
'chmod -f 4755 /home/vpopmail/bin/vchkpw' after ' and 'sh /script/fixmail-all'
Still remained the problem of 'sh /script/cleanup' and the directories with names of customers.
And please do not write because for me there is no problem, because it does not mean that others do not have this problem.
I would ask for a solution to this too.
-
It does not work without my fix when sending mails:
Server reply: 451 unable to exec qq
Unable to receive mail too.
-
It started working when I've switched from bogofilter to spamassassin.