Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 14:56:53

Author Topic: SMTP Auth Error  (Read 21215 times)

0 Members and 1 Guest are viewing this topic.

Offline tonym

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
SMTP Auth Error
« 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: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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #1 on: 2013-05-25, 21:42:47 »
and I have the same problem i try to connect and recive  username and password is incorect.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lupetalo

  • Senior Member
  • *
  • Posts: 182
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #2 on: 2013-05-28, 04:59:32 »
same here:
Code: [Select]
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

« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lupetalo

  • Senior Member
  • *
  • Posts: 182
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #3 on: 2013-05-28, 05:09:28 »
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...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SMTP Auth Error
« Reply #4 on: 2013-05-28, 19:11:14 »
That was million times here. Read my posts and you will find a solution...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #5 on: 2013-05-28, 19:49:08 »
Quote from: "Spacedust"
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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SMTP Auth Error
« Reply #6 on: 2013-05-28, 19:49:36 »
Works ok for me:

Code: [Select]
[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
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline tonym

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #7 on: 2013-05-28, 19:52:56 »
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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lupetalo

  • Senior Member
  • *
  • Posts: 182
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #8 on: 2013-05-28, 20:20:30 »
Quote from: "Spacedust"
That was million times here. Read my posts and you will find a solution...
Share solution, dont just say like that.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SMTP Auth Error
« Reply #9 on: 2013-05-28, 20:45:49 »
Quote from: "lupetalo"
Quote from: "Spacedust"
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:

Quote
#!/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:

Quote
#!/bin/sh
exec /usr/bin/spamd -x -u admin -s stderr 2>&1

/var/qmail/supervise/smtp to:

Quote
#!/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:

Code: [Select]
/etc/rc.d/init.d/qmail stop
/etc/rc.d/init.d/qmail start
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lupetalo

  • Senior Member
  • *
  • Posts: 182
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #10 on: 2013-05-28, 23:39:43 »
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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SMTP Auth Error
« Reply #11 on: 2013-05-28, 23:52:12 »
Quote from: "lupetalo"
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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lupetalo

  • Senior Member
  • *
  • Posts: 182
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #12 on: 2013-05-29, 00:33:40 »
Quote from: "Spacedust"
Quote from: "lupetalo"
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
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lupetalo

  • Senior Member
  • *
  • Posts: 182
  • Karma: +0/-0
    • View Profile
Re: SMTP Auth Error
« Reply #13 on: 2013-05-29, 00:49:58 »
Code: [Select]
-bash: /var/qmail/users/assign: Permission denied
what permisiond this need? folowing from viewtopic.php?f=15&t=9426#p13583
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SMTP Auth Error
« Reply #14 on: 2013-05-29, 00:51:09 »
Quote from: "lupetalo"
Code: [Select]
-bash: /var/qmail/users/assign: Permission denied
what permisiond this need? folowing from viewtopic.php?f=15&t=9426#p13583

Quote
ls -l /var/qmail/users/assign
-rw-r--r-- 1 root root 177K maj 28 13:43 /var/qmail/users/assign
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.034 seconds with 21 queries.

web stats analysis