Re: [vchkpw] qmail + smtp-auth + chkuser + vpopmail = messed up pipes?
I commented out macro #define LOG_ON_SUCCESS (or something like this, I don;t remember, sorry) in my chkuser installation. It helps me. Florian Leeber пишет: Hi folks, after rather long but then successul compile marathon I finally habe everything in place...but... - inbound mail without SMTP auth works fine - outbound mail with auth leads basically to some messed up pipes or file descriptors whatever, look at this: ehlo () 250-www.happyserverfriends.info 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-PIPELINING 250 8BITMIME AUTH PLAIN (xx) 235 ok, go ahead (#2.0.0) mail from: (x) CHKUSER accepted sender: from remote rcpt <> : sender accepted 250 ok after the mail from the log line form chkuser does not appear in the log file, instead it appears at the client?s side! therefore all clients choke and won?t send any mail... this prevents me to use smtp auth at the moment - plz help, as a handful of users is waiting desperately for outgoing mails, thx! kind regards, F. Leeber !DSPAM:47a181e2310545268792812!
Re: [vchkpw] qmail + smtp-auth + chkuser + vpopmail = messed up pipes?
http://qmail.jms1.net/patches/combined.shtml Try the patch there. And take this up with Mr. Simpson if you have problems with his patch (you should not) !DSPAM:47a1341c310546330020416!
[vchkpw] qmail + smtp-auth + chkuser + vpopmail = messed up pipes?
Hi folks, after rather long but then successul compile marathon I finally habe everything in place...but... - inbound mail without SMTP auth works fine - outbound mail with auth leads basically to some messed up pipes or file descriptors whatever, look at this: ehlo () 250-www.happyserverfriends.info 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-PIPELINING 250 8BITMIME AUTH PLAIN (xx) 235 ok, go ahead (#2.0.0) mail from: (x) CHKUSER accepted sender: from remote rcpt <> : sender accepted 250 ok after the mail from the log line form chkuser does not appear in the log file, instead it appears at the client?s side! therefore all clients choke and won?t send any mail... this prevents me to use smtp auth at the moment - plz help, as a handful of users is waiting desperately for outgoing mails, thx! kind regards, F. Leeber -- Mit freundlichen Grüßen Ing. Florian Leeber, Bakk. techn. Tel +43-1-2082049 Mobil +43-699-11404079 Mail [EMAIL PROTECTED] !DSPAM:47a11df2310549081918933!
Re: [vchkpw] qmail-smtp-auth patch
Hi, At 17:22 22.09.04 -0300, you wrote: >how to install qmail-smtp-auth patch ? (2) (a) Untar the archive in the qmail/netqmail dir. (b) call ./install_auth.sh (c) make (d) make setup >what´s the best smtp-auth patch? (1) The most recent smtp-auth patch can be found at: http://www.fehcom.de/qmail/smtp-auth.html (qmail-smtpd-auth-054.tgz). regards. --eh. Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
[vchkpw] qmail-smtp-auth patch
how to install qmail-smtp-auth patch ? what´s the best smtp-auth patch? Itamar Reis Peixoto Analista Consultor TreyNet Consultoria - Uberlândia Tel : + 55 34 3231 0598 Cel: +55 38 9107 1250 http://www.treynet.com.br
Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
Am Mittwoch, 25. August 2004 19:20 schrieb Jacob S.: > Is an strace from a working 64 bit installation of any help? Don't know. It's on Tom Collins to decide whether he wants it or not. > > I'm unable to duplicate this bug on a new vpopmail 5.4.5 installation > using the qmailrocks.org toaster on a Sun Ultra 10 with a 64bit Sparc > processor. Hmmm... Seems there are differences in 64bit Linux and 64bit Solaris. As I found out, it makes no difference which LINUX distribution is used. I heard from people who have the same problem on SuSE where I have it on Gentoo... Due to the fact that somebody send a 'shutdown -h' to me (I have been ill all the week), I'll do the right strace for Tom right now. Then we hopefully will see... Greetings Tobias
Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
On Thu, 19 Aug 2004 10:36:47 -0700 Tom Collins <[EMAIL PROTECTED]> wrote: > Could someone with this problem use strace (or ptrace?) to get a trace > > of what happens when vchkpw is called? > > It should be as easy as adding: "/usr/bin/strace -ff -o > /tmp/vchkpw.dump" right before "/home/vpopmail/bin/vchkpw" in the > qmail-smtpd/run file. > > Attempt a SMTP AUTH connection, and then send me a copy of the > /tmp/vchkpw.dump file and I'll try to isolate the source of the > problem. Is an strace from a working 64 bit installation of any help? I'm unable to duplicate this bug on a new vpopmail 5.4.5 installation using the qmailrocks.org toaster on a Sun Ultra 10 with a 64bit Sparc processor. Jacob -- GnuPG Key: 1024D/16377135 Random .signature #9: Going from DOS to Linux is like trading a glider for an F117. pgpH8JE2X06ii.pgp Description: PGP signature
Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
Am Donnerstag, 19. August 2004 19:36 schrieb Tom Collins: > Could someone with this problem use strace (or ptrace?) to get a trace > of what happens when vchkpw is called? > > It should be as easy as adding: "/usr/bin/strace -ff -o > /tmp/vchkpw.dump" right before "/home/vpopmail/bin/vchkpw" in the > qmail-smtpd/run file. > > Attempt a SMTP AUTH connection, and then send me a copy of the > /tmp/vchkpw.dump file and I'll try to isolate the source of the > problem. I'll do it later on today (need some interesting work for Friday afternoon :-) ). If I remember right, we found out, that something went totally wrong concerning hashes and the declaration of their variables (which seem to be different in 32bit and 64 bit - short integer!). For the fact that I am not a coder, I just try to remember what Erwin Hoffmann and some other people tried to explain me after they did some debugging on my machine. Like mentioned above, I'll post the output later. Greetings Tobias
Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
I can do this over the weekend, but I can't right now since the system I'm having troubles on is a production server. I'll get back to you though. On Thu, 19 Aug 2004 10:36:47 -0700, Tom Collins <[EMAIL PROTECTED]> wrote: > Could someone with this problem use strace (or ptrace?) to get a trace > of what happens when vchkpw is called? > > It should be as easy as adding: "/usr/bin/strace -ff -o > /tmp/vchkpw.dump" right before "/home/vpopmail/bin/vchkpw" in the > qmail-smtpd/run file. > > Attempt a SMTP AUTH connection, and then send me a copy of the > /tmp/vchkpw.dump file and I'll try to isolate the source of the > problem. > > -- > Tom Collins - [EMAIL PROTECTED] > QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ > Info on the Sniffter hand-held Network Tester: http://sniffter.com/ > >
Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
Could someone with this problem use strace (or ptrace?) to get a trace of what happens when vchkpw is called? It should be as easy as adding: "/usr/bin/strace -ff -o /tmp/vchkpw.dump" right before "/home/vpopmail/bin/vchkpw" in the qmail-smtpd/run file. Attempt a SMTP AUTH connection, and then send me a copy of the /tmp/vchkpw.dump file and I'll try to isolate the source of the problem. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
Success! On Thu, 19 Aug 2004 09:45:38 -0600, Matthew Walker <[EMAIL PROTECTED]> wrote: > Thank you /so/ much for this information! I'll be attempting this fix > over the next hour or two. > > > > On Thu, 19 Aug 2004 10:10:04 +0200, Linux-Guru <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, 18. August 2004 23:22 schrieb Matthew Walker: > > > I saw this was discussed a month or two ago, but no conclusion seemed > > > to be reached. > > I have been the one who had this problem. > > We reached some kind of conclusion (see below). > > > > > > > > I have qmail 1.03, and vpopmail 5.4 installed, and everything works > > > except for SMTP AUTH. I get segfaults or bad user errors, depending on > > > whether or not vchkpw is owned by root or by the vpopmail user. > > > > I tried also all these combinations with no success. > > > > > > > > Here's a transcript from a session where vchkpw was owned by vpopmail. > > > When it's owned by root, the last line changes to simply say the > > > authentication failed. > > > > > [...] > > > > > 454 oops, problem with child and I can't auth (#4.3.0) > > > > Exactly! > > I wrote a bug-report, but nobody seemed to be interested. (I will have a quick > > look into the tracker when I've finished this mail, but I don't think > > anything happened). > > > > Erwin Hoffmann (www.fehcom.de) spent some time looking through the code. His > > personal summary was that the easiest way would be to rewrite the whole > > vchkpw because there seems to be quite much unused and/or useless (and > > buggy(?)) code which makes it really hard to do a debug of this problem. > > > > But: We found a workaround! > > 1. Take vpopmail in any version of your choice, configure, compile and install > > it. > > 2. Take vpopmail-5.2.2, configure and compile it. Do NOT install it! > > 3. Rename your current '/var/vpopmail/bin/vchkpw' in whatever you want. > > 4. Copy the vchkpw-binary from your vpopmail-5.2.2-directory into > > '/var/vpopmail/bin/' > > 5. Test it. See that it works. Have fun. > > There is only one disadvantage: CRAM-MD5 doesn't work with 5.2.2. > > Everything else will work fine (I am running it against MySQL without any > > problems). > > > > HTH > > > > Greetings > > > > Tobias > > >
Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
Thank you /so/ much for this information! I'll be attempting this fix over the next hour or two. On Thu, 19 Aug 2004 10:10:04 +0200, Linux-Guru <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 18. August 2004 23:22 schrieb Matthew Walker: > > I saw this was discussed a month or two ago, but no conclusion seemed > > to be reached. > I have been the one who had this problem. > We reached some kind of conclusion (see below). > > > > > I have qmail 1.03, and vpopmail 5.4 installed, and everything works > > except for SMTP AUTH. I get segfaults or bad user errors, depending on > > whether or not vchkpw is owned by root or by the vpopmail user. > > I tried also all these combinations with no success. > > > > > Here's a transcript from a session where vchkpw was owned by vpopmail. > > When it's owned by root, the last line changes to simply say the > > authentication failed. > > > [...] > > > 454 oops, problem with child and I can't auth (#4.3.0) > > Exactly! > I wrote a bug-report, but nobody seemed to be interested. (I will have a quick > look into the tracker when I've finished this mail, but I don't think > anything happened). > > Erwin Hoffmann (www.fehcom.de) spent some time looking through the code. His > personal summary was that the easiest way would be to rewrite the whole > vchkpw because there seems to be quite much unused and/or useless (and > buggy(?)) code which makes it really hard to do a debug of this problem. > > But: We found a workaround! > 1. Take vpopmail in any version of your choice, configure, compile and install > it. > 2. Take vpopmail-5.2.2, configure and compile it. Do NOT install it! > 3. Rename your current '/var/vpopmail/bin/vchkpw' in whatever you want. > 4. Copy the vchkpw-binary from your vpopmail-5.2.2-directory into > '/var/vpopmail/bin/' > 5. Test it. See that it works. Have fun. > There is only one disadvantage: CRAM-MD5 doesn't work with 5.2.2. > Everything else will work fine (I am running it against MySQL without any > problems). > > HTH > > Greetings > > Tobias >
Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
Am Mittwoch, 18. August 2004 23:22 schrieb Matthew Walker: > I saw this was discussed a month or two ago, but no conclusion seemed > to be reached. I have been the one who had this problem. We reached some kind of conclusion (see below). > > I have qmail 1.03, and vpopmail 5.4 installed, and everything works > except for SMTP AUTH. I get segfaults or bad user errors, depending on > whether or not vchkpw is owned by root or by the vpopmail user. I tried also all these combinations with no success. > > Here's a transcript from a session where vchkpw was owned by vpopmail. > When it's owned by root, the last line changes to simply say the > authentication failed. > [...] > 454 oops, problem with child and I can't auth (#4.3.0) Exactly! I wrote a bug-report, but nobody seemed to be interested. (I will have a quick look into the tracker when I've finished this mail, but I don't think anything happened). Erwin Hoffmann (www.fehcom.de) spent some time looking through the code. His personal summary was that the easiest way would be to rewrite the whole vchkpw because there seems to be quite much unused and/or useless (and buggy(?)) code which makes it really hard to do a debug of this problem. But: We found a workaround! 1. Take vpopmail in any version of your choice, configure, compile and install it. 2. Take vpopmail-5.2.2, configure and compile it. Do NOT install it! 3. Rename your current '/var/vpopmail/bin/vchkpw' in whatever you want. 4. Copy the vchkpw-binary from your vpopmail-5.2.2-directory into '/var/vpopmail/bin/' 5. Test it. See that it works. Have fun. There is only one disadvantage: CRAM-MD5 doesn't work with 5.2.2. Everything else will work fine (I am running it against MySQL without any problems). HTH Greetings Tobias
[vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...
I saw this was discussed a month or two ago, but no conclusion seemed to be reached. I have qmail 1.03, and vpopmail 5.4 installed, and everything works except for SMTP AUTH. I get segfaults or bad user errors, depending on whether or not vchkpw is owned by root or by the vpopmail user. Here's a transcript from a session where vchkpw was owned by vpopmail. When it's owned by root, the last line changes to simply say the authentication failed. 220 domain.com ESMTP EHLO domain.net 250-domain.com 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250-SIZE 0 250-PIPELINING 250 8BITMIME AUTH LOGIN 334 VXNlcm5hbWU6 dXNlcm5hbWVAZG9tYWluLmNvbQ== 334 UGFzc3dvcmQ6 cGFzc3dvcmQ= 454 oops, problem with child and I can't auth (#4.3.0)
Re: [vchkpw] QMAIL: SMTP-AUTH-SSL
got o http://www.shupp.org his Mega patch is NICE! -John - Original Message - From: "eLgino" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 17, 2003 7:07 AM Subject: [vchkpw] QMAIL: SMTP-AUTH-SSL > hi guys, > > sorry that i write to this mailinglist, but i traffic is not cheap ... > i hope anyone can help me the 4rd time on this nice mailinglist ;) > > i need an SMTP-AUTH patch for qmail with SSL/TSL?!? support, and a > functionaly one, i have googled but all i have tried doenst work. > thanks in advance and > see ya > > > >
Re: [vchkpw] QMAIL: SMTP-AUTH-SSL
eLgino wrote: thanks but it doesn't work i got this error on my FreeBSD box: ./compile qmail-remote.c qmail-remote.c:131: redefinition of `ssl' Hi, Don't use ports. :) For FreeBSD see http://matt.simerson.net/computing/mail/toaster/ Regards, Rick
Re: [vchkpw] QMAIL: SMTP-AUTH-SSL
thanks but it doesn't work i got this error on my FreeBSD box: ./compile qmail-remote.c qmail-remote.c:131: redefinition of `ssl' qmail-remote.c:37: `ssl' previously defined here qmail-remote.c:133: redefinition of `tlsclientciphers' qmail-remote.c:39: `tlsclientciphers' previously defined here qmail-remote.c: In function `main': qmail-remote.c:608: `sigalrm' undeclared (first use in this function) qmail-remote.c:608: (Each undeclared identifier is reported only once qmail-remote.c:608: for each function it appears in.) qmail-remote.c:595: warning: return type of `main' is not `int' *** Error code 1 Stop in /usr/ports/mail/qmail-tls/work/qmail-1.03. *** Error code 1 i did this: cd /usr/ports/mail/qmail-tls/ make configure WITH_QMAILQUEUE_PATCH=yes WITH_BIG_TODO_PATCH=yes cd work/qmail-* fetch http://www.shupp.org/patches/qmail-toaster-0.5.patch.bz2 bunzip2 qmail-toaster-0.5.patch.bz2 patch < qmail-toaster-0.5.patch cd ../.. make install WITH_QMAILQUEUE_PATCH=yes WITH_BIG_TODO_PATCH=yes thx - Original Message - From: "Rick Macdougall" <[EMAIL PROTECTED]> To: "eLgino" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, August 17, 2003 4:01 PM Subject: Re: [vchkpw] QMAIL: SMTP-AUTH-SSL > Hi, > > http://www.shupp.org > > Regards, > > Rick > > > eLgino wrote: > > > hi guys, > > > > sorry that i write to this mailinglist, but i traffic is not cheap ... > > i hope anyone can help me the 4rd time on this nice mailinglist ;) > > > > i need an SMTP-AUTH patch for qmail with SSL/TSL?!? support, and a > > functionaly one, i have googled but all i have tried doenst work. > > thanks in advance and > > see ya > > > > > > > > > >
Re: [vchkpw] QMAIL: SMTP-AUTH-SSL
Hi, http://www.shupp.org Regards, Rick eLgino wrote: hi guys, sorry that i write to this mailinglist, but i traffic is not cheap ... i hope anyone can help me the 4rd time on this nice mailinglist ;) i need an SMTP-AUTH patch for qmail with SSL/TSL?!? support, and a functionaly one, i have googled but all i have tried doenst work. thanks in advance and see ya
[vchkpw] QMAIL: SMTP-AUTH-SSL
hi guys, sorry that i write to this mailinglist, but i traffic is not cheap ... i hope anyone can help me the 4rd time on this nice mailinglist ;) i need an SMTP-AUTH patch for qmail with SSL/TSL?!? support, and a functionaly one, i have googled but all i have tried doenst work. thanks in advance and see ya
Re: [vchkpw] qmail+SMTP auth
Here is the bottom part of my qmail-smtpd/run script: exec /usr/local/bin/softlimit -m 500 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd \ -r sbl.spamhaus.org \ -r relays.ordb.org \ /var/qmail/bin/qmail-smtpd revelation.perfectservers.com /usr/local/vpopmail/bin/vchkpw \ /usr/bin/true 2>&1 Notice the /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw. That is very important. On your setup, its thinking that the vchkpw path is your hostname and /usr/bin/true is your authentication method, in which case making everything a valid login (or should). This makes you an open relay. I'm also using qmail-smtpd-auth-0.31. -Patrick Lahni Quoting Rick Macdougall <[EMAIL PROTECTED]>: > Hi, > > Check your version of smtpd-auth patch. The newer versions require > hostname /usr/local/vpopmail/bin/vchkpw /usr/bin/true > > Not just /usr/local/vpopmail/bin/vchkpw /usr/bin/true > > Regards, > > Rick > > > eLgino wrote: > > > hi folks, > > i know its the false maillinglist but i will not join the real one, because > > the traffic is to small. > > > > Now my Problem: > > > > i have installed qmail with SMTP-Auth, and all works fine with Outlook > > Express of MS!, but when i try to connect via telnet "telnet host 25" and > do > > a "auth login" and enter my username (VALID!) and password (VALID!) it > > comes: "user invalid ªï-Ö½-z 235 auth failure, but go > > ahead", is use it with vpopmail my startscript: > > > > /var/qmail/supervise/qmail-smtpd/run > > #!/bin/sh > > exec /usr/local/bin/softlimit -m 4000 > > /usr/local/bin/tcpserver -H -l0 -R -c 512 -DUHR -ln3rd.at -c200 0 25 > > /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true > 2>&1 > > > > and, yes the > > /usr/local/vpopmail/bin/vchkpw is SUIDED and GUIDED to vpopmail:vchkpw > > > > thanks in advance > > and sry if i send a html-mail > > > > > > > - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] qmail+SMTP auth
On Fri, 2003-08-15 at 20:08, eLgino wrote: > i have installed qmail with SMTP-Auth, and all works fine with Outlook > Express of MS!, but when i try to connect via telnet "telnet host 25" and do > a "auth login" and enter my username (VALID!) and password (VALID!) it > comes: "user invalid ªï-Ö½-z 235 auth failure, but go > ahead", is use it with vpopmail my startscript: Just a thought... you know it's looking for Base64 input there and not plaintext, right? If not, encode your ID and PW and it will probably work for you then. http://makcoder.sourceforge.net/demo/base64.php Also see this for an example SMTP Auth dialog (It's using Sendmail, but that's irrlevant here): http://www.jonfullmer.com/smtpauth/ - Ron
Re: [vchkpw] qmail+SMTP auth
Hi, Check your version of smtpd-auth patch. The newer versions require hostname /usr/local/vpopmail/bin/vchkpw /usr/bin/true Not just /usr/local/vpopmail/bin/vchkpw /usr/bin/true Regards, Rick eLgino wrote: hi folks, i know its the false maillinglist but i will not join the real one, because the traffic is to small. Now my Problem: i have installed qmail with SMTP-Auth, and all works fine with Outlook Express of MS!, but when i try to connect via telnet "telnet host 25" and do a "auth login" and enter my username (VALID!) and password (VALID!) it comes: "user invalid ªï-Ö½-z 235 auth failure, but go ahead", is use it with vpopmail my startscript: /var/qmail/supervise/qmail-smtpd/run #!/bin/sh exec /usr/local/bin/softlimit -m 4000 /usr/local/bin/tcpserver -H -l0 -R -c 512 -DUHR -ln3rd.at -c200 0 25 /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true 2>&1 and, yes the /usr/local/vpopmail/bin/vchkpw is SUIDED and GUIDED to vpopmail:vchkpw thanks in advance and sry if i send a html-mail
[vchkpw] qmail+SMTP auth
hi folks, i know its the false maillinglist but i will not join the real one, because the traffic is to small. Now my Problem: i have installed qmail with SMTP-Auth, and all works fine with Outlook Express of MS!, but when i try to connect via telnet "telnet host 25" and do a "auth login" and enter my username (VALID!) and password (VALID!) it comes: "user invalid ªï-Ö½-z 235 auth failure, but go ahead", is use it with vpopmail my startscript: /var/qmail/supervise/qmail-smtpd/run #!/bin/sh exec /usr/local/bin/softlimit -m 4000 /usr/local/bin/tcpserver -H -l0 -R -c 512 -DUHR -ln3rd.at -c200 0 25 /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true 2>&1 and, yes the /usr/local/vpopmail/bin/vchkpw is SUIDED and GUIDED to vpopmail:vchkpw thanks in advance and sry if i send a html-mail