Re: [vchkpw] SMTP-AUTH problem with vchkpw
Hello Julien, Wednesday, July 27, 2011, 09:42:38, Julien Escario wrote: JE> Hello, JE> I also have an issue with a base64_decode() function which seems incompatible JE> with amd64 arch. JE> I'm using the patch from milkys (http://www.mcmilk.de/qmail/) JE> Try to print the return string after base64 decoding has been done to check if JE> your auth string is correct. If it's not, that's qmail-smtpd fault, not vpopmail's. JE> Regards, JE> Julien Escario JE> Le 26/07/2011 23:05, a...@ltmd.org a écrit : >> Hello Rick, >> >> Sunday, July 3, 2011, 17:15:29, Rick Macdougall wrote: >> RM> On 03/07/2011 5:11 AM, a...@ltmd.org wrote: Hello Rick, Saturday, July 2, 2011, 16:59:09, Rick Macdougall wrote: > User vpopmail realy exists. I also cannot find the >> difference between working x86 server configuration and the new >> amd64 one. I tried to reconfigure my system from no-multilib to >> multilib and to reemerge netqmail and vpopmail ebuilds, but still no >> success. :( Is there some way to debug that plain SMTP-AUTH to figure >> out what is really happening? RM> You can use recordio (part of one of djb's packages) to log everything RM> that happens within an smtp conversation. RM> http://cr.yp.to/ucspi-tcp/recordio.html Thank you for your assistance, Rick. I tried to use that nice tool. And here goes the result: @40004e1029d019fc59f4 22218> 220 mail.domain.com ESMTP @40004e1029d035004684 22218< EHLO [10.1.1.177] @40004e1029d035017b1c 22218> 250-mail.domain.com @40004e1029d03501b1cc 22218> 250-STARTTLS @40004e1029d03501e494 22218> 250-PIPELINING @40004e1029d03502175c 22218> 250-8BITMIME @40004e1029d03502463c 22218> 250-SIZE 0 @40004e1029d035027904 22218> 250 AUTH LOGIN PLAIN @40004e1029d10834940c 22218< AUTH PLAIN @40004e1029d108356ecc 22218> 334 @40004e1029d109252dcc 22218< c2VuZGVyLmNvbXBhc3N3b3Jk @40004e1029d6092f863c 22218> 535 authentication failed (#5.7.1) @40004e1029d60994146c 22218< RSET @40004e1029d60994e374 22218> 250 flushed @40004e1029d60b8495e4 22218< AUTH LOGIN @40004e1029d60b85ca7c 22218> 334 VXNlcm5hbWU6 @40004e1029d60c5eadec 22218< c2VuZGVyLmNvbQ== @40004e1029d60c5ff9f4 22218> 334 UGFzc3dvcmQ6 @40004e1029d60d4acf24 22218< cGFzc3dvcmQ= @40004e1029db0d59619c 22218> 535 authentication failed (#5.7.1) @40004e1029db0e782f7c 22218< RSET @40004e1029db0e78cbbc 22218> 250 flushed @40004e1029db10ef51cc 22218< MAIL FROM: SIZE=524 @40004e1029db10f0f3c4 22218> 250 ok @40004e1029db281154f4 22218< RCPT TO: @40004e1029db2812eb34 22218> 250 ok @40004e1029db2a9afd74 22218< DATA @40004e1029db2aa021dc 22218> 354 go ahead @40004e1029db2b9f619c 22218< Date: Sun, 3 Jul 2011 11:35:32 +0300 @40004e1029db2ba00d7c 22218< From: Name Surname @40004e1029db2ba08e64 22218< Reply-To: Name Surname @40004e1029db2ba10b64 22218< X-Priority: 3 (Normal) @40004e1029db2ba1847c 22218< Message-ID:<86092590.20110703113...@domain.com> @40004e1029db2ba1fd94 22218< To: receip...@domain.com @40004e1029db2ba276ac 22218< Subject: test @40004e1029db2ba2efc4 22218< MIME-Version: 1.0 @40004e1029db2ba364f4 22218< Content-Type: text/plain; charset=utf-8 @40004e1029db2ba3de0c 22218< Content-Transfer-Encoding: quoted-printable @40004e1029db2ba45724 22218< @40004e1029db2ba5ba9c 22218< test @40004e1029db2ba9f88c 22218< . @40004e1029db376d0894 22218> 250 ok 1309682129 qp 2 @40004e1029db3888d4ec 22218< RSET @40004e1029db3889cb04 22218> 250 flushed @40004e1029db3982d104 22218< QUIT @40004e1029db398a79f4 22218> 221 mail.domain.com @40004e1029db398a81c4 22218> [EOF] @40004e1029db399445c4 tcpserver: end 22217 status 0 @40004e1029db39944d94 tcpserver: status: 0/40 Right now I see that there is something goes wrong with a authentication process in qmail and this dump is not very useful for me. :( Are there any other ideas I can try? >> >> RM> Hi, >> >> RM> I'd trying asking on a spamdyke mailing list. If it was plain >> RM> qmail-smtpd then you'd see in the logs why it failed. >> >> RM> Rick >> >> I was done fresh clean install on gentoo amd64 netqmail and vpopmail >> with mysql support. No any clamav, spamassassin, spamdyke and others. >> SMTP-AUTH still not working. Trying to figure out what is really >> happening. Finally I have found the situation when SMTP-AUTH not working. Seems like it's not arch dependent. By some reason SMTP-AUTH fails when /var/vpopmail is mounted as another
Re: [vchkpw] SMTP-AUTH problem with vchkpw
Hello, I also have an issue with a base64_decode() function which seems incompatible with amd64 arch. I'm using the patch from milkys (http://www.mcmilk.de/qmail/) Try to print the return string after base64 decoding has been done to check if your auth string is correct. If it's not, that's qmail-smtpd fault, not vpopmail's. Regards, Julien Escario Le 26/07/2011 23:05, a...@ltmd.org a écrit : Hello Rick, Sunday, July 3, 2011, 17:15:29, Rick Macdougall wrote: RM> On 03/07/2011 5:11 AM, a...@ltmd.org wrote: Hello Rick, Saturday, July 2, 2011, 16:59:09, Rick Macdougall wrote: User vpopmail realy exists. I also cannot find the difference between working x86 server configuration and the new amd64 one. I tried to reconfigure my system from no-multilib to multilib and to reemerge netqmail and vpopmail ebuilds, but still no success. :( Is there some way to debug that plain SMTP-AUTH to figure out what is really happening? RM> You can use recordio (part of one of djb's packages) to log everything RM> that happens within an smtp conversation. RM> http://cr.yp.to/ucspi-tcp/recordio.html Thank you for your assistance, Rick. I tried to use that nice tool. And here goes the result: @40004e1029d019fc59f4 22218> 220 mail.domain.com ESMTP @40004e1029d035004684 22218< EHLO [10.1.1.177] @40004e1029d035017b1c 22218> 250-mail.domain.com @40004e1029d03501b1cc 22218> 250-STARTTLS @40004e1029d03501e494 22218> 250-PIPELINING @40004e1029d03502175c 22218> 250-8BITMIME @40004e1029d03502463c 22218> 250-SIZE 0 @40004e1029d035027904 22218> 250 AUTH LOGIN PLAIN @40004e1029d10834940c 22218< AUTH PLAIN @40004e1029d108356ecc 22218> 334 @40004e1029d109252dcc 22218< c2VuZGVyLmNvbXBhc3N3b3Jk @40004e1029d6092f863c 22218> 535 authentication failed (#5.7.1) @40004e1029d60994146c 22218< RSET @40004e1029d60994e374 22218> 250 flushed @40004e1029d60b8495e4 22218< AUTH LOGIN @40004e1029d60b85ca7c 22218> 334 VXNlcm5hbWU6 @40004e1029d60c5eadec 22218< c2VuZGVyLmNvbQ== @40004e1029d60c5ff9f4 22218> 334 UGFzc3dvcmQ6 @40004e1029d60d4acf24 22218< cGFzc3dvcmQ= @40004e1029db0d59619c 22218> 535 authentication failed (#5.7.1) @40004e1029db0e782f7c 22218< RSET @40004e1029db0e78cbbc 22218> 250 flushed @40004e1029db10ef51cc 22218< MAIL FROM: SIZE=524 @40004e1029db10f0f3c4 22218> 250 ok @40004e1029db281154f4 22218< RCPT TO: @40004e1029db2812eb34 22218> 250 ok @40004e1029db2a9afd74 22218< DATA @40004e1029db2aa021dc 22218> 354 go ahead @40004e1029db2b9f619c 22218< Date: Sun, 3 Jul 2011 11:35:32 +0300 @40004e1029db2ba00d7c 22218< From: Name Surname @40004e1029db2ba08e64 22218< Reply-To: Name Surname @40004e1029db2ba10b64 22218< X-Priority: 3 (Normal) @40004e1029db2ba1847c 22218< Message-ID:<86092590.20110703113...@domain.com> @40004e1029db2ba1fd94 22218< To: receip...@domain.com @40004e1029db2ba276ac 22218< Subject: test @40004e1029db2ba2efc4 22218< MIME-Version: 1.0 @40004e1029db2ba364f4 22218< Content-Type: text/plain; charset=utf-8 @40004e1029db2ba3de0c 22218< Content-Transfer-Encoding: quoted-printable @40004e1029db2ba45724 22218< @40004e1029db2ba5ba9c 22218< test @40004e1029db2ba9f88c 22218< . @40004e1029db376d0894 22218> 250 ok 1309682129 qp 2 @40004e1029db3888d4ec 22218< RSET @40004e1029db3889cb04 22218> 250 flushed @40004e1029db3982d104 22218< QUIT @40004e1029db398a79f4 22218> 221 mail.domain.com @40004e1029db398a81c4 22218> [EOF] @40004e1029db399445c4 tcpserver: end 22217 status 0 @40004e1029db39944d94 tcpserver: status: 0/40 Right now I see that there is something goes wrong with a authentication process in qmail and this dump is not very useful for me. :( Are there any other ideas I can try? RM> Hi, RM> I'd trying asking on a spamdyke mailing list. If it was plain RM> qmail-smtpd then you'd see in the logs why it failed. RM> Rick I was done fresh clean install on gentoo amd64 netqmail and vpopmail with mysql support. No any clamav, spamassassin, spamdyke and others. SMTP-AUTH still not working. Trying to figure out what is really happening. -- --- __ ___ Julien Escario /\ _ \ /\_ \ esca...@azylog.net \ \ \L\ \ __ __\//\ \ ___ __ Tél. : +33.677583199 \ \ __ \/\_ ,`\ /\ \/\ \ \ \ \ / __`\ /'_ `\ \ \ \/\ \/_/ /_\ \ \_\ \ \_\ \_/\ \L\ \/\ \L\ \ Azylog \ \_\ \_\/\\\/` \/\\ \/\ \ \ Rte de Champagnole \/_/\/_/\// `/___/> \//\/___/ \/___L\ \ F-39300 Les Nans /\___//\/ SIRET 49130560300020 \/__/ \_/__/ Hébergement mutualisé & dédié - infogéra
Re: [vchkpw] SMTP-AUTH problem with vchkpw
Hi, On 27.07.2011 at 00:56 a...@ltmd.org wrote: > > Just want to add that I tested right now and found that the same fresh > programs configurations and settings on the clean 32-bit system > working pretty good. Should I try once again to use recordio program > on a 64-bit system? 'recordio' only tells what's happening "on the outside", which, as you already know, is a rejection. I'd use 'strace -fF -s 4096 -o /tmp/auth.err -p ' to monitor what's "behind the curtain". Execute this command immediately before you start your next test and stop it immediately after you failed, because it'll gather data from all connections and therefore collect a lot. Within the output (/tmp/auth.err) you might need to sort out information from test-unrelated processes. But you should also see who's gonna be called for actually doing the authentication and why it return non-success. -- Regards, Peter !DSPAM:4e2faa3332713543020530!
Re: [vchkpw] SMTP-AUTH problem with vchkpw
Hello, Wednesday, July 27, 2011, 00:05:10, anf wrote: alo> Hello Rick, alo> Sunday, July 3, 2011, 17:15:29, Rick Macdougall wrote: RM>> On 03/07/2011 5:11 AM, anf wrote: >>> Hello Rick, >>> >>> Saturday, July 2, 2011, 16:59:09, Rick Macdougall wrote: User vpopmail realy exists. I also cannot find the > difference between working x86 server configuration and the new > amd64 one. I tried to reconfigure my system from no-multilib to > multilib and to reemerge netqmail and vpopmail ebuilds, but still no > success. :( Is there some way to debug that plain SMTP-AUTH to figure > out what is really happening? >>> >>> RM> You can use recordio (part of one of djb's packages) to log everything >>> RM> that happens within an smtp conversation. >>> >>> RM> http://cr.yp.to/ucspi-tcp/recordio.html >>> >>> Thank you for your assistance, Rick. I tried to use that nice tool. >>> And here goes the result: >>> >>> @40004e1029d019fc59f4 22218> 220 mail.domain.com ESMTP >>> @40004e1029d035004684 22218< EHLO [10.1.1.177] >>> @40004e1029d035017b1c 22218> 250-mail.domain.com >>> @40004e1029d03501b1cc 22218> 250-STARTTLS >>> @40004e1029d03501e494 22218> 250-PIPELINING >>> @40004e1029d03502175c 22218> 250-8BITMIME >>> @40004e1029d03502463c 22218> 250-SIZE 0 >>> @40004e1029d035027904 22218> 250 AUTH LOGIN PLAIN >>> @40004e1029d10834940c 22218< AUTH PLAIN >>> @40004e1029d108356ecc 22218> 334 >>> @40004e1029d109252dcc 22218< c2VuZGVyLmNvbXBhc3N3b3Jk >>> @40004e1029d6092f863c 22218> 535 authentication failed (#5.7.1) >>> @40004e1029d60994146c 22218< RSET >>> @40004e1029d60994e374 22218> 250 flushed >>> @40004e1029d60b8495e4 22218< AUTH LOGIN >>> @40004e1029d60b85ca7c 22218> 334 VXNlcm5hbWU6 >>> @40004e1029d60c5eadec 22218< c2VuZGVyLmNvbQ== >>> @40004e1029d60c5ff9f4 22218> 334 UGFzc3dvcmQ6 >>> @40004e1029d60d4acf24 22218< cGFzc3dvcmQ= >>> @40004e1029db0d59619c 22218> 535 authentication failed (#5.7.1) >>> @40004e1029db0e782f7c 22218< RSET >>> @40004e1029db0e78cbbc 22218> 250 flushed >>> @40004e1029db10ef51cc 22218< MAIL FROM: SIZE=524 >>> @40004e1029db10f0f3c4 22218> 250 ok >>> @40004e1029db281154f4 22218< RCPT TO: >>> @40004e1029db2812eb34 22218> 250 ok >>> @40004e1029db2a9afd74 22218< DATA >>> @40004e1029db2aa021dc 22218> 354 go ahead >>> @40004e1029db2b9f619c 22218< Date: Sun, 3 Jul 2011 11:35:32 +0300 >>> @40004e1029db2ba00d7c 22218< From: Name Surname >>> @40004e1029db2ba08e64 22218< Reply-To: Name Surname >>> @40004e1029db2ba10b64 22218< X-Priority: 3 (Normal) >>> @40004e1029db2ba1847c 22218< >>> Message-ID:<86092590.20110703113...@domain.com> >>> @40004e1029db2ba1fd94 22218< To: receip...@domain.com >>> @40004e1029db2ba276ac 22218< Subject: test >>> @40004e1029db2ba2efc4 22218< MIME-Version: 1.0 >>> @40004e1029db2ba364f4 22218< Content-Type: text/plain; charset=utf-8 >>> @40004e1029db2ba3de0c 22218< Content-Transfer-Encoding: >>> quoted-printable >>> @40004e1029db2ba45724 22218< >>> @40004e1029db2ba5ba9c 22218< test >>> @40004e1029db2ba9f88c 22218< . >>> @40004e1029db376d0894 22218> 250 ok 1309682129 qp 2 >>> @40004e1029db3888d4ec 22218< RSET >>> @40004e1029db3889cb04 22218> 250 flushed >>> @40004e1029db3982d104 22218< QUIT >>> @40004e1029db398a79f4 22218> 221 mail.domain.com >>> @40004e1029db398a81c4 22218> [EOF] >>> @40004e1029db399445c4 tcpserver: end 22217 status 0 >>> @40004e1029db39944d94 tcpserver: status: 0/40 >>> >>> Right now I see that there is something goes wrong with a >>> authentication process in qmail and this dump is not very useful for >>> me. :( Are there any other ideas I can try? >>> RM>> Hi, RM>> I'd trying asking on a spamdyke mailing list. If it was plain RM>> qmail-smtpd then you'd see in the logs why it failed. RM>> Rick alo> I was done fresh clean install on gentoo amd64 netqmail and vpopmail alo> with mysql support. No any clamav, spamassassin, spamdyke and others. alo> SMTP-AUTH still not working. Trying to figure out what is really alo> happening. Just want to add that I tested right now and found that the same fresh programs configurations and settings on the clean 32-bit system working pretty good. Should I try once again to use recordio program on a 64-bit system? !DSPAM:4e2f462332714910253358!
Re: [vchkpw] SMTP-AUTH problem with vchkpw
Hello Rick, Sunday, July 3, 2011, 17:15:29, Rick Macdougall wrote: RM> On 03/07/2011 5:11 AM, a...@ltmd.org wrote: >> Hello Rick, >> >> Saturday, July 2, 2011, 16:59:09, Rick Macdougall wrote: >>> User vpopmail realy exists. I also cannot find the difference between working x86 server configuration and the new amd64 one. I tried to reconfigure my system from no-multilib to multilib and to reemerge netqmail and vpopmail ebuilds, but still no success. :( Is there some way to debug that plain SMTP-AUTH to figure out what is really happening? >> >> RM> You can use recordio (part of one of djb's packages) to log everything >> RM> that happens within an smtp conversation. >> >> RM> http://cr.yp.to/ucspi-tcp/recordio.html >> >> Thank you for your assistance, Rick. I tried to use that nice tool. >> And here goes the result: >> >> @40004e1029d019fc59f4 22218> 220 mail.domain.com ESMTP >> @40004e1029d035004684 22218< EHLO [10.1.1.177] >> @40004e1029d035017b1c 22218> 250-mail.domain.com >> @40004e1029d03501b1cc 22218> 250-STARTTLS >> @40004e1029d03501e494 22218> 250-PIPELINING >> @40004e1029d03502175c 22218> 250-8BITMIME >> @40004e1029d03502463c 22218> 250-SIZE 0 >> @40004e1029d035027904 22218> 250 AUTH LOGIN PLAIN >> @40004e1029d10834940c 22218< AUTH PLAIN >> @40004e1029d108356ecc 22218> 334 >> @40004e1029d109252dcc 22218< c2VuZGVyLmNvbXBhc3N3b3Jk >> @40004e1029d6092f863c 22218> 535 authentication failed (#5.7.1) >> @40004e1029d60994146c 22218< RSET >> @40004e1029d60994e374 22218> 250 flushed >> @40004e1029d60b8495e4 22218< AUTH LOGIN >> @40004e1029d60b85ca7c 22218> 334 VXNlcm5hbWU6 >> @40004e1029d60c5eadec 22218< c2VuZGVyLmNvbQ== >> @40004e1029d60c5ff9f4 22218> 334 UGFzc3dvcmQ6 >> @40004e1029d60d4acf24 22218< cGFzc3dvcmQ= >> @40004e1029db0d59619c 22218> 535 authentication failed (#5.7.1) >> @40004e1029db0e782f7c 22218< RSET >> @40004e1029db0e78cbbc 22218> 250 flushed >> @40004e1029db10ef51cc 22218< MAIL FROM: SIZE=524 >> @40004e1029db10f0f3c4 22218> 250 ok >> @40004e1029db281154f4 22218< RCPT TO: >> @40004e1029db2812eb34 22218> 250 ok >> @40004e1029db2a9afd74 22218< DATA >> @40004e1029db2aa021dc 22218> 354 go ahead >> @40004e1029db2b9f619c 22218< Date: Sun, 3 Jul 2011 11:35:32 +0300 >> @40004e1029db2ba00d7c 22218< From: Name Surname >> @40004e1029db2ba08e64 22218< Reply-To: Name Surname >> @40004e1029db2ba10b64 22218< X-Priority: 3 (Normal) >> @40004e1029db2ba1847c 22218< >> Message-ID:<86092590.20110703113...@domain.com> >> @40004e1029db2ba1fd94 22218< To: receip...@domain.com >> @40004e1029db2ba276ac 22218< Subject: test >> @40004e1029db2ba2efc4 22218< MIME-Version: 1.0 >> @40004e1029db2ba364f4 22218< Content-Type: text/plain; charset=utf-8 >> @40004e1029db2ba3de0c 22218< Content-Transfer-Encoding: quoted-printable >> @40004e1029db2ba45724 22218< >> @40004e1029db2ba5ba9c 22218< test >> @40004e1029db2ba9f88c 22218< . >> @40004e1029db376d0894 22218> 250 ok 1309682129 qp 2 >> @40004e1029db3888d4ec 22218< RSET >> @40004e1029db3889cb04 22218> 250 flushed >> @40004e1029db3982d104 22218< QUIT >> @40004e1029db398a79f4 22218> 221 mail.domain.com >> @40004e1029db398a81c4 22218> [EOF] >> @40004e1029db399445c4 tcpserver: end 22217 status 0 >> @40004e1029db39944d94 tcpserver: status: 0/40 >> >> Right now I see that there is something goes wrong with a >> authentication process in qmail and this dump is not very useful for >> me. :( Are there any other ideas I can try? >> RM> Hi, RM> I'd trying asking on a spamdyke mailing list. If it was plain RM> qmail-smtpd then you'd see in the logs why it failed. RM> Rick I was done fresh clean install on gentoo amd64 netqmail and vpopmail with mysql support. No any clamav, spamassassin, spamdyke and others. SMTP-AUTH still not working. Trying to figure out what is really happening. !DSPAM:4e2f2c0c32714376791534!
Re: [vchkpw] SMTP-AUTH problem with vchkpw
On 03/07/2011 5:11 AM, a...@ltmd.org wrote: Hello Rick, Saturday, July 2, 2011, 16:59:09, Rick Macdougall wrote: User vpopmail realy exists. I also cannot find the difference between working x86 server configuration and the new amd64 one. I tried to reconfigure my system from no-multilib to multilib and to reemerge netqmail and vpopmail ebuilds, but still no success. :( Is there some way to debug that plain SMTP-AUTH to figure out what is really happening? RM> You can use recordio (part of one of djb's packages) to log everything RM> that happens within an smtp conversation. RM> http://cr.yp.to/ucspi-tcp/recordio.html Thank you for your assistance, Rick. I tried to use that nice tool. And here goes the result: @40004e1029d019fc59f4 22218> 220 mail.domain.com ESMTP @40004e1029d035004684 22218< EHLO [10.1.1.177] @40004e1029d035017b1c 22218> 250-mail.domain.com @40004e1029d03501b1cc 22218> 250-STARTTLS @40004e1029d03501e494 22218> 250-PIPELINING @40004e1029d03502175c 22218> 250-8BITMIME @40004e1029d03502463c 22218> 250-SIZE 0 @40004e1029d035027904 22218> 250 AUTH LOGIN PLAIN @40004e1029d10834940c 22218< AUTH PLAIN @40004e1029d108356ecc 22218> 334 @40004e1029d109252dcc 22218< c2VuZGVyLmNvbXBhc3N3b3Jk @40004e1029d6092f863c 22218> 535 authentication failed (#5.7.1) @40004e1029d60994146c 22218< RSET @40004e1029d60994e374 22218> 250 flushed @40004e1029d60b8495e4 22218< AUTH LOGIN @40004e1029d60b85ca7c 22218> 334 VXNlcm5hbWU6 @40004e1029d60c5eadec 22218< c2VuZGVyLmNvbQ== @40004e1029d60c5ff9f4 22218> 334 UGFzc3dvcmQ6 @40004e1029d60d4acf24 22218< cGFzc3dvcmQ= @40004e1029db0d59619c 22218> 535 authentication failed (#5.7.1) @40004e1029db0e782f7c 22218< RSET @40004e1029db0e78cbbc 22218> 250 flushed @40004e1029db10ef51cc 22218< MAIL FROM: SIZE=524 @40004e1029db10f0f3c4 22218> 250 ok @40004e1029db281154f4 22218< RCPT TO: @40004e1029db2812eb34 22218> 250 ok @40004e1029db2a9afd74 22218< DATA @40004e1029db2aa021dc 22218> 354 go ahead @40004e1029db2b9f619c 22218< Date: Sun, 3 Jul 2011 11:35:32 +0300 @40004e1029db2ba00d7c 22218< From: Name Surname @40004e1029db2ba08e64 22218< Reply-To: Name Surname @40004e1029db2ba10b64 22218< X-Priority: 3 (Normal) @40004e1029db2ba1847c 22218< Message-ID:<86092590.20110703113...@domain.com> @40004e1029db2ba1fd94 22218< To: receip...@domain.com @40004e1029db2ba276ac 22218< Subject: test @40004e1029db2ba2efc4 22218< MIME-Version: 1.0 @40004e1029db2ba364f4 22218< Content-Type: text/plain; charset=utf-8 @40004e1029db2ba3de0c 22218< Content-Transfer-Encoding: quoted-printable @40004e1029db2ba45724 22218< @40004e1029db2ba5ba9c 22218< test @40004e1029db2ba9f88c 22218< . @40004e1029db376d0894 22218> 250 ok 1309682129 qp 2 @40004e1029db3888d4ec 22218< RSET @40004e1029db3889cb04 22218> 250 flushed @40004e1029db3982d104 22218< QUIT @40004e1029db398a79f4 22218> 221 mail.domain.com @40004e1029db398a81c4 22218> [EOF] @40004e1029db399445c4 tcpserver: end 22217 status 0 @40004e1029db39944d94 tcpserver: status: 0/40 Right now I see that there is something goes wrong with a authentication process in qmail and this dump is not very useful for me. :( Are there any other ideas I can try? Hi, I'd trying asking on a spamdyke mailing list. If it was plain qmail-smtpd then you'd see in the logs why it failed. Rick !DSPAM:4e10799632711821815719!
Re: [vchkpw] SMTP-AUTH problem with vchkpw
Hello Rick, Saturday, July 2, 2011, 16:59:09, Rick Macdougall wrote: > User vpopmail realy exists. I also cannot find the >> difference between working x86 server configuration and the new >> amd64 one. I tried to reconfigure my system from no-multilib to >> multilib and to reemerge netqmail and vpopmail ebuilds, but still no >> success. :( Is there some way to debug that plain SMTP-AUTH to figure >> out what is really happening? RM> You can use recordio (part of one of djb's packages) to log everything RM> that happens within an smtp conversation. RM> http://cr.yp.to/ucspi-tcp/recordio.html Thank you for your assistance, Rick. I tried to use that nice tool. And here goes the result: @40004e1029d019fc59f4 22218 > 220 mail.domain.com ESMTP @40004e1029d035004684 22218 < EHLO [10.1.1.177] @40004e1029d035017b1c 22218 > 250-mail.domain.com @40004e1029d03501b1cc 22218 > 250-STARTTLS @40004e1029d03501e494 22218 > 250-PIPELINING @40004e1029d03502175c 22218 > 250-8BITMIME @40004e1029d03502463c 22218 > 250-SIZE 0 @40004e1029d035027904 22218 > 250 AUTH LOGIN PLAIN @40004e1029d10834940c 22218 < AUTH PLAIN @40004e1029d108356ecc 22218 > 334 @40004e1029d109252dcc 22218 < c2VuZGVyLmNvbXBhc3N3b3Jk @40004e1029d6092f863c 22218 > 535 authentication failed (#5.7.1) @40004e1029d60994146c 22218 < RSET @40004e1029d60994e374 22218 > 250 flushed @40004e1029d60b8495e4 22218 < AUTH LOGIN @40004e1029d60b85ca7c 22218 > 334 VXNlcm5hbWU6 @40004e1029d60c5eadec 22218 < c2VuZGVyLmNvbQ== @40004e1029d60c5ff9f4 22218 > 334 UGFzc3dvcmQ6 @40004e1029d60d4acf24 22218 < cGFzc3dvcmQ= @40004e1029db0d59619c 22218 > 535 authentication failed (#5.7.1) @40004e1029db0e782f7c 22218 < RSET @40004e1029db0e78cbbc 22218 > 250 flushed @40004e1029db10ef51cc 22218 < MAIL FROM: SIZE=524 @40004e1029db10f0f3c4 22218 > 250 ok @40004e1029db281154f4 22218 < RCPT TO: @40004e1029db2812eb34 22218 > 250 ok @40004e1029db2a9afd74 22218 < DATA @40004e1029db2aa021dc 22218 > 354 go ahead @40004e1029db2b9f619c 22218 < Date: Sun, 3 Jul 2011 11:35:32 +0300 @40004e1029db2ba00d7c 22218 < From: Name Surname @40004e1029db2ba08e64 22218 < Reply-To: Name Surname @40004e1029db2ba10b64 22218 < X-Priority: 3 (Normal) @40004e1029db2ba1847c 22218 < Message-ID: <86092590.20110703113...@domain.com> @40004e1029db2ba1fd94 22218 < To: receip...@domain.com @40004e1029db2ba276ac 22218 < Subject: test @40004e1029db2ba2efc4 22218 < MIME-Version: 1.0 @40004e1029db2ba364f4 22218 < Content-Type: text/plain; charset=utf-8 @40004e1029db2ba3de0c 22218 < Content-Transfer-Encoding: quoted-printable @40004e1029db2ba45724 22218 < @40004e1029db2ba5ba9c 22218 < test @40004e1029db2ba9f88c 22218 < . @40004e1029db376d0894 22218 > 250 ok 1309682129 qp 2 @40004e1029db3888d4ec 22218 < RSET @40004e1029db3889cb04 22218 > 250 flushed @40004e1029db3982d104 22218 < QUIT @40004e1029db398a79f4 22218 > 221 mail.domain.com @40004e1029db398a81c4 22218 > [EOF] @40004e1029db399445c4 tcpserver: end 22217 status 0 @40004e1029db39944d94 tcpserver: status: 0/40 Right now I see that there is something goes wrong with a authentication process in qmail and this dump is not very useful for me. :( Are there any other ideas I can try? !DSPAM:4e10323332711707610120!
Re: [vchkpw] SMTP-AUTH problem with vchkpw
On 01/07/2011 12:54 PM, a...@ltmd.org wrote: User vpopmail realy exists. I also cannot find the difference between working x86 server configuration and the new amd64 one. I tried to reconfigure my system from no-multilib to multilib and to reemerge netqmail and vpopmail ebuilds, but still no success. :( Is there some way to debug that plain SMTP-AUTH to figure out what is really happening? Hi, You can use recordio (part of one of djb's packages) to log everything that happens within an smtp conversation. http://cr.yp.to/ucspi-tcp/recordio.html ie /service/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 1200 \ /usr/local/bin/tcpserver -v -h -R \ -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /usr/local/bin/rblsmtpd -t 2 -b \ -r cbl.aei.ca \ -r bl.spamcop.net \ recordio /var/qmail/bin/qmail-smtpd \ /home/vpopmail/bin/vchkpw /bin/true 2>&1 Rick !DSPAM:4e0f243632713934528930!
Re: [vchkpw] SMTP-AUTH problem with vchkpw
Hello Rick, Friday, July 1, 2011, 16:13:45, Rick Macdougall wrote: RM> On 30/06/2011 8:10 PM, a...@ltmd.org wrote: >> I tried to migrate my mail service (qmail+vpopmail+mysql) to the >> 64-bit Gentoo platform and almost succeeded, but SMTP-AUTH problem >> blocked me. >> >> Right now I have no multilib 64-bit hardened Gentoo system with >> netqmail-1.06, vpopmail-5.4.30-r2, dovecot-2.0.13 and some other >> stuff. Everything seems working fine, except SMTP-AUTH function. >> >> My mailer on this new server shows me: >> >> SEND - connected to SMTP server >> SEND - authenticating (plain)... >> SEND - Server reports error. The response is: authentication failed (#5.7.1) >> SEND - authenticating (login)... >> SEND - Server reports error. The response is: authentication failed (#5.7.1) >> SEND - WARNING: there were no compatible authentication mechanisms detected >> >> Here goes my config /var/qmail/control/conf-smtpd: >> --- >> TCPSERVER_OPTS="${TCPSERVER_OPTS} -R" >> QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} spamdyke -f /etc/spamdyke/spamdyke.conf" >> QMAIL_SMTP_CHECKPASSWORD="/var/vpopmail/bin/vchkpw" >> [[ -n "${QMAIL_SMTP_CHECKPASSWORD}" ]]&& { >> [[ -z "${QMAIL_SMTP_POST}" ]]&& QMAIL_SMTP_POST=/bin/true >> QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}" >> } >> --- >> RM> Hi, RM> You should be able to see the auth attempt in one f your log files. On RM> all my servers it's in /var/log/messages. This might help show where RM> the problem lies. RM> One of my lines as an example - Jul 1 04:43:17 mail002 vpopmail[24348]: RM> vchkpw-smtp: vpopmail user not found rlev...@aei.ca:14.208.230.43 I scanned through all my log files, but not found any entry about with pattern vchkpw. I have only spamdyke messages like user was not SMTP authorized. Jul 1 00:32:49 mail spamdyke[7441]: ALLOWED from: m...@address.com to: m...@address.com origin_ip: 2.6.7.8 origin_rdns: 2-6-7-8.domain.com auth: (unknown) Spamdyke disabling not helped me. Server response show that it SMTP-AUTH capable: $ telnet 1.2.3.4 25 Trying 1.2.3.4... Connected to 1.2.3.4. Escape character is '^]'. 220 mail.server.com ESMTP EHLO mail.server.com 250-mail.server.com 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 0 250 AUTH LOGIN PLAIN User vpopmail realy exists. I also cannot find the difference between working x86 server configuration and the new amd64 one. I tried to reconfigure my system from no-multilib to multilib and to reemerge netqmail and vpopmail ebuilds, but still no success. :( Is there some way to debug that plain SMTP-AUTH to figure out what is really happening? Anf !DSPAM:4e0dfbd932711543016584!
Re: [vchkpw] SMTP-AUTH problem with vchkpw
On 30/06/2011 8:10 PM, a...@ltmd.org wrote: I tried to migrate my mail service (qmail+vpopmail+mysql) to the 64-bit Gentoo platform and almost succeeded, but SMTP-AUTH problem blocked me. Right now I have no multilib 64-bit hardened Gentoo system with netqmail-1.06, vpopmail-5.4.30-r2, dovecot-2.0.13 and some other stuff. Everything seems working fine, except SMTP-AUTH function. My mailer on this new server shows me: SEND - connected to SMTP server SEND - authenticating (plain)... SEND - Server reports error. The response is: authentication failed (#5.7.1) SEND - authenticating (login)... SEND - Server reports error. The response is: authentication failed (#5.7.1) SEND - WARNING: there were no compatible authentication mechanisms detected Here goes my config /var/qmail/control/conf-smtpd: --- TCPSERVER_OPTS="${TCPSERVER_OPTS} -R" QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} spamdyke -f /etc/spamdyke/spamdyke.conf" QMAIL_SMTP_CHECKPASSWORD="/var/vpopmail/bin/vchkpw" [[ -n "${QMAIL_SMTP_CHECKPASSWORD}" ]]&& { [[ -z "${QMAIL_SMTP_POST}" ]]&& QMAIL_SMTP_POST=/bin/true QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}" } --- Hi, You should be able to see the auth attempt in one f your log files. On all my servers it's in /var/log/messages. This might help show where the problem lies. One of my lines as an example - Jul 1 04:43:17 mail002 vpopmail[24348]: vchkpw-smtp: vpopmail user not found rlev...@aei.ca:14.208.230.43 Rick !DSPAM:4e0dc81232712410438437!
[vchkpw] SMTP-AUTH problem with vchkpw
I tried to migrate my mail service (qmail+vpopmail+mysql) to the 64-bit Gentoo platform and almost succeeded, but SMTP-AUTH problem blocked me. Right now I have no multilib 64-bit hardened Gentoo system with netqmail-1.06, vpopmail-5.4.30-r2, dovecot-2.0.13 and some other stuff. Everything seems working fine, except SMTP-AUTH function. My mailer on this new server shows me: SEND - connected to SMTP server SEND - authenticating (plain)... SEND - Server reports error. The response is: authentication failed (#5.7.1) SEND - authenticating (login)... SEND - Server reports error. The response is: authentication failed (#5.7.1) SEND - WARNING: there were no compatible authentication mechanisms detected Here goes my config /var/qmail/control/conf-smtpd: --- TCPSERVER_OPTS="${TCPSERVER_OPTS} -R" QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} spamdyke -f /etc/spamdyke/spamdyke.conf" QMAIL_SMTP_CHECKPASSWORD="/var/vpopmail/bin/vchkpw" [[ -n "${QMAIL_SMTP_CHECKPASSWORD}" ]] && { [[ -z "${QMAIL_SMTP_POST}" ]] && QMAIL_SMTP_POST=/bin/true QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}" } --- mail control # ls -la /var/vpopmail/bin/vchkpw -rws--x--x 1 root vpopmail 129128 Jul 1 02:18 /var/vpopmail/bin/vchkpw Dovecot using vpopmail driver working fine. userdb { driver = vpopmail } May be someone knows how can I solve that problem with SMTP-AUTH? !DSPAM:4e0d108932711953113103!
[vchkpw] smtp-auth problem
hi folks! I could really need some help on this one: I'm using qmail and vpopmail and just patched up with smtp-auth, compiled again and everything seems to work fine... a telnet to my server with a following ehlo hostname gives me: 250-mail.domain.de 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-PIPELINING 250 8BITMIME ...so like in a Howto that I read... I'm using "/home/vpopmail/bin/vchkpw" in my "~/qmail-smtpd/run"-script... While using Outlook Express to send emails over my server everything works like it should work when I select "Server uses authentification" (server denies to send mail with wrong password), but if I DON'T select "Server uses auth.." my server just sends everything via smtp... What the hell is that? Why doesn't it ask for auth when no username and password is given by outlook? How comes checkpassword in that? Does it anyway, when I use vhckp? I haven't installed this cmd5check...something-tool... Do I need to? I really hope someone could help me, cause I've read through so many sites today, without any success...
Re: [vchkpw] SMTP Auth problem for non vpopmail users
On Monday 16 May 2005 4:10 pm, Rainer Duffner wrote: > Ken Jones wrote: > > On Monday 16 May 2005 3:52 pm, Nick Gilbert wrote: > >>Hi, > >> > >>I have IMAP authentication working for vpopmail and standard linux > >>users, but I have a problem with SMTP authentication. > >> > >>I need SMTP authentication to work for standard linux users (I'm not > >>worried about vpop users at all for SMTP-AUTH). I have built my box > >>using the instructions on Shupp.org (Bill Schupp). I understand that > >>Bill's toaster incorporates a Qmail AUTH patch but when I try to login > >>it doesn't work: > >> > >>Escape character is '^]'. > >>220 blue.x-rm.com ESMTP > >>ehlo localhost > >>250-blue.x-rm.com > >>250-STARTTLS > >>250-PIPELINING > >>250-8BITMIME > >>250-SIZE 0 > >>250 AUTH LOGIN PLAIN CRAM-MD5 > >>auth login > >>334 VXNlcm5hbWU6 > >>bmljaw== > >>334 UGFzc3dvcmQ6 > >> > >>535 authentication failed (#5.7.1) > >> > >>I also have this line in /var/log/maillog > >> > >>May 16 20:56:23 blue vpopmail[22654]: vchkpw-smtp: vpopmail user not > >>found nick@:127.0.0.1 > >> > >>..which implies that perhaps it's only looking for vpopmail users rather > >>than /etc/passwd users. > >> > >>I would like it to work for /etc/passwd users only, or both vpopmail AND > >>/etc/passwd users - whichever is easier. > >> > >>Can someone please give me some pointers on how I can fix this problem > >>so that normal shell account users can authenticate. > > > > I think smtp auth requires a clear text password for CRAM-MD5 > > authentication to work. If so, /etc/passwd users won't be able to use > > smtp authentication. > > Wasn't the other problem that qmail-smtpd needed to be run as root? Possibly. It would need permission to access the passwd information.
Re: [vchkpw] SMTP Auth problem for non vpopmail users
Ken Jones wrote: On Monday 16 May 2005 3:52 pm, Nick Gilbert wrote: Hi, I have IMAP authentication working for vpopmail and standard linux users, but I have a problem with SMTP authentication. I need SMTP authentication to work for standard linux users (I'm not worried about vpop users at all for SMTP-AUTH). I have built my box using the instructions on Shupp.org (Bill Schupp). I understand that Bill's toaster incorporates a Qmail AUTH patch but when I try to login it doesn't work: Escape character is '^]'. 220 blue.x-rm.com ESMTP ehlo localhost 250-blue.x-rm.com 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 0 250 AUTH LOGIN PLAIN CRAM-MD5 auth login 334 VXNlcm5hbWU6 bmljaw== 334 UGFzc3dvcmQ6 535 authentication failed (#5.7.1) I also have this line in /var/log/maillog May 16 20:56:23 blue vpopmail[22654]: vchkpw-smtp: vpopmail user not found nick@:127.0.0.1 ..which implies that perhaps it's only looking for vpopmail users rather than /etc/passwd users. I would like it to work for /etc/passwd users only, or both vpopmail AND /etc/passwd users - whichever is easier. Can someone please give me some pointers on how I can fix this problem so that normal shell account users can authenticate. I think smtp auth requires a clear text password for CRAM-MD5 authentication to work. If so, /etc/passwd users won't be able to use smtp authentication. Wasn't the other problem that qmail-smtpd needed to be run as root? Rainer -- === ~ Rainer Duffner - [EMAIL PROTECTED] ~ ~Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ ===
Re: [vchkpw] SMTP Auth problem for non vpopmail users
On Monday 16 May 2005 3:52 pm, Nick Gilbert wrote: > Hi, > > I have IMAP authentication working for vpopmail and standard linux > users, but I have a problem with SMTP authentication. > > I need SMTP authentication to work for standard linux users (I'm not > worried about vpop users at all for SMTP-AUTH). I have built my box > using the instructions on Shupp.org (Bill Schupp). I understand that > Bill's toaster incorporates a Qmail AUTH patch but when I try to login > it doesn't work: > > Escape character is '^]'. > 220 blue.x-rm.com ESMTP > ehlo localhost > 250-blue.x-rm.com > 250-STARTTLS > 250-PIPELINING > 250-8BITMIME > 250-SIZE 0 > 250 AUTH LOGIN PLAIN CRAM-MD5 > auth login > 334 VXNlcm5hbWU6 > bmljaw== > 334 UGFzc3dvcmQ6 > > 535 authentication failed (#5.7.1) > > I also have this line in /var/log/maillog > > May 16 20:56:23 blue vpopmail[22654]: vchkpw-smtp: vpopmail user not > found nick@:127.0.0.1 > > ..which implies that perhaps it's only looking for vpopmail users rather > than /etc/passwd users. > > I would like it to work for /etc/passwd users only, or both vpopmail AND > /etc/passwd users - whichever is easier. > > Can someone please give me some pointers on how I can fix this problem > so that normal shell account users can authenticate. I think smtp auth requires a clear text password for CRAM-MD5 authentication to work. If so, /etc/passwd users won't be able to use smtp authentication. Ken Jones
[vchkpw] SMTP Auth problem for non vpopmail users
Hi, I have IMAP authentication working for vpopmail and standard linux users, but I have a problem with SMTP authentication. I need SMTP authentication to work for standard linux users (I'm not worried about vpop users at all for SMTP-AUTH). I have built my box using the instructions on Shupp.org (Bill Schupp). I understand that Bill's toaster incorporates a Qmail AUTH patch but when I try to login it doesn't work: Escape character is '^]'. 220 blue.x-rm.com ESMTP ehlo localhost 250-blue.x-rm.com 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 0 250 AUTH LOGIN PLAIN CRAM-MD5 auth login 334 VXNlcm5hbWU6 bmljaw== 334 UGFzc3dvcmQ6 535 authentication failed (#5.7.1) I also have this line in /var/log/maillog May 16 20:56:23 blue vpopmail[22654]: vchkpw-smtp: vpopmail user not found nick@:127.0.0.1 ..which implies that perhaps it's only looking for vpopmail users rather than /etc/passwd users. I would like it to work for /etc/passwd users only, or both vpopmail AND /etc/passwd users - whichever is easier. Can someone please give me some pointers on how I can fix this problem so that normal shell account users can authenticate. Thanks, Nick...
Re: [vchkpw] SMTP Auth problem
Ispas Paul wrote: On Tuesday 07 December 2004 13:56, Alastair Battrick wrote: I'm having problems with SMTP Auth. I am starting SMTP with -- #!/bin/sh QMAILQUEUE="/var/qmail/bin/simscan" export QMAILQUEUE QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` exec /usr/local/bin/softlimit -m 20971520 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 -- You should start smtp with the folowing command line : qmail-smtpd mail.example.com /home/vpopmail/bin/vchkpw /bin/true Read the smtp-auth docs. Hi Paul Thanks for your help. Which documentation are you referring to? The information you gave me does not appear to be correct, as a different error started when doing it the way you describe. It now works, when starting qmail-smtpd like so: qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true Thanks anyway - it's working now Alastair
Re: [vchkpw] SMTP Auth problem
On Tuesday 07 December 2004 13:56, Alastair Battrick wrote: > I'm having problems with SMTP Auth. > > I have installed: > Netqmail 1.0.5 > Vpopmail 5.4.8 > Simscan 1.0.8 & Spamassassin & Clamav > Chkuser 2.0.7 > Bill Shupp's composite TLS & SMTP Auth patch, from > http://shupp.org/smtp-auth-tls/ > > The error I'm getting is this: > "503 auth not available (#5.3.3)" > -- > # telnet 217.158.68.125 25 > Trying 217.158.68.125... > Connected to 217.158.68.125. > Escape character is '^]'. > 220 mail.datasnake.co.uk ESMTP > EHLO datasnake.co.uk > 250-mail.datasnake.co.uk > 250-STARTTLS > 250-PIPELINING > 250-8BITMIME > 250-SIZE 0 > 250 AUTH LOGIN PLAIN CRAM-MD5 > AUTH PLAIN > 503 auth not available (#5.3.3) > -- > > SMTP does deliver locally. > > The smtpd log gives only this: > > 2004-12-07 11:30:47.177877500 tcpserver: pid 20753 from 81.178.252.159 > 2004-12-07 11:30:47.178302500 tcpserver: ok 20753 > mail.datasnake.co.uk:217.158.68.125:25 > 81-178-252-159.dsl.pipex.com:81.178.252.159::1314 > > > I am starting SMTP with > -- > #!/bin/sh > > QMAILQUEUE="/var/qmail/bin/simscan" > export QMAILQUEUE > > QMAILDUID=`id -u vpopmail` > NOFILESGID=`id -g vpopmail` > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` > LOCAL=`head -1 /var/qmail/control/me` > > exec /usr/local/bin/softlimit -m 20971520 \ > /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x > /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g > "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 > -- > You should start smtp with the folowing command line : qmail-smtpd mail.example.com /home/vpopmail/bin/vchkpw /bin/true Read the smtp-auth docs.
[vchkpw] SMTP Auth problem
I'm having problems with SMTP Auth. I have installed: Netqmail 1.0.5 Vpopmail 5.4.8 Simscan 1.0.8 & Spamassassin & Clamav Chkuser 2.0.7 Bill Shupp's composite TLS & SMTP Auth patch, from http://shupp.org/smtp-auth-tls/ The error I'm getting is this: "503 auth not available (#5.3.3)" -- # telnet 217.158.68.125 25 Trying 217.158.68.125... Connected to 217.158.68.125. Escape character is '^]'. 220 mail.datasnake.co.uk ESMTP EHLO datasnake.co.uk 250-mail.datasnake.co.uk 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 0 250 AUTH LOGIN PLAIN CRAM-MD5 AUTH PLAIN 503 auth not available (#5.3.3) -- SMTP does deliver locally. The smtpd log gives only this: 2004-12-07 11:30:47.177877500 tcpserver: pid 20753 from 81.178.252.159 2004-12-07 11:30:47.178302500 tcpserver: ok 20753 mail.datasnake.co.uk:217.158.68.125:25 81-178-252-159.dsl.pipex.com:81.178.252.159::1314 I am starting SMTP with -- #!/bin/sh QMAILQUEUE="/var/qmail/bin/simscan" export QMAILQUEUE QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` exec /usr/local/bin/softlimit -m 20971520 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 -- Any help gratefully received Cheers Alastair ___ Moving house? Beach bar in Thailand? New Wardrobe? Win £10k with Yahoo! Mail to make your dream a reality. Get Yahoo! Mail www.yahoo.co.uk/10k