[vchkpw] NT
unsubscribe !DSPAM:478bdb47310542053649861!
Re: [vchkpw] Re: strange behavior in from header.
Thank you for your informations Peter. In fact, the mailto:; part in the From:, To: headers were added to my mail by my Mozilla Thunderbird when I pasted the original message to this mailing-list. So, I should remove the @IP part by adding a -R to my tcpserver option and/or change my username from [EMAIL PROTECTED] to user%vhost or user+vhost ? Peter Palmreuther wrote: Hello Sebastien, On Saturday, May 1, 2004 at 8:25:34 PM you wrote (at least in part): I tried without the SMTP AUTH Patch so I recompiled the netqmail-1.05, remove the vchkpw part from the qmail-smtpd/run file, Compile with SMTP AUTH patch and nevertheless keep vchkpw part removed. Test (with and without SMTP; to a domain that is in 'rcpthosts). Insert vchkpw again. Test again, but don't authenticate but send a mail to a domain that is in 'rcpthosts'. You'll see the messages pass through. Than test again with authentication. You'll see the '@IP' part again in received headers, that's because the SMTP-AUTH patch set's TCPREMOTEINFO. But all this is not responsible for a line like this: From: tino [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] or this: To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] as you presented them in your mail mid:[EMAIL PROTECTED] THIS is set by MUA, the same applies to: Return-Path: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Your MUA sent: MAIL FROM:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Even if we'd assume netqmail+SMTP_AUTH_+vpopmail would modify Return-Path (envelope from) it'd NEVER EVER modify 'From:' or 'To:' header lines. So please test a full patched, full configured (incl. vchkpw) installation using command line and telnet: $ perl -MMIME::Base64 -e 'print encode_base64(username);' dXNlcm5hbWU= $ perl -MMIME::Base64 -e 'print encode_base64(password);' cGFzc3dvcmQ= $ telnet HOST 25 C: EHLO _ S: 250 ... C: AUTH LOGIN S: 334 VXNlcm5hbWU6 C: dXNlcm5hbWU= S: 334 UGFzc3dvcmQ6 C: cGFzc3dvcmQ= S: 235 ok, go ahead (#2.0.0) C: MAIL FROM:[EMAIL PROTECTED] S: 250 ok C: RCPT TO:[EMAIL PROTECTED] S: 250 ok C: DATA S: 354 go ahead C: From: tino [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test foobar . S: 2xx ... C: QUIT Replace 'username' and 'password' in Perl script line with working values, remember to masquerade '@' in any of these strings with '\' (i.e. a username of '[EMAIL PROTECTED]' will be '[EMAIL PROTECTED]'). 'S:' indicates lines the server sends, 'C:' indicates lines you should type / copypaste or enter any other way for them being sent to the server. I'm quite sure this test will success and than you know it's the MUA that sends these cryptic envelope from, From: and To: strings. The '@IP' in 'Received:' lines is not part of your problem, as it is never used for any delivery action, neither forward nor for the bounce.
Re: [vchkpw] Re: strange behavior in from header.
Peter Palmreuther wrote: Hello Sebastien, On Friday, April 30, 2004 at 11:43:40 PM you wrote (at least in part): I tried many configurations and it appears that it's the vchkpw that adds my email adress to my IP when I send a mail. I wouldn't know why and how vchkpw would or could do this. 1. What's your qmail-smtpd invocation line? 2. Are you sure this ain't a qmail problem and should be discussed on qmail list? First of all I tried with or without vpopmail and without vpopmail I did not get that strange line. I use : netqmail-1.05 with TLS-AUTH PATCH from the netqmail page. vpopmail 5.4.3 tried with or without Obelix:/var/qmail# cat /var/qmail/rc #!/bin/sh exec env - PATH=/var/qmail/bin:/usr/local/bin \ qmail-start ./Maildir/ Obelix:/var/qmail# cat /var/qmail/supervise/qmail-smtpd/run #!/bin/sh exec /usr/local/bin/tcpserver -H -p -R -x /home/vpopmail/etc/tcp.smtp.cdb -u98 -g98 -v -c100 0 smtp rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /usr/bin/true 21 Obelix:/var/qmail# cat /var/qmail/supervise/qmail-send/run #!/bin/sh exec env - PATH=/var/qmail/bin:/usr/local/bin \ qmail-start ./Maildir/
Re: [vchkpw] strange behavior in from header.
The problem is not coming from the mail client. I tried many clients and the problem is only there if I use vpopmail on the server. btw, the problem is not in the to or from lines but in the received from lines. example : from unknown (HELO tinozaure) ([EMAIL PROTECTED]@81.57.236.165) by obelix.gaulois.biz with SMTP; 30 Apr 2004 21:47:43 - Tom Collins wrote: On Apr 30, 2004, at 2:43 PM, Sebastien FOUTREL wrote: I tried many configurations and it appears that it's the vchkpw that adds my email adress to my IP when I send a mail. I recompiled it with different parameters but none corrected this bug. Help me please. This problem is more likely in your mail client, and has nothing to do with vchkpw (which only validates passwords). The mail client is typically responsible for the contents of the To: and From: headers. Some mail servers re-write that information, but I don't think qmail does. -- 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] Re: strange behavior in from header.
I tried without the SMTP AUTH Patch so I recompiled the netqmail-1.05, remove the vchkpw part from the qmail-smtpd/run file, then tried my qmail server and it worked without adding the @IP I forgot to mention maildrop-1.6.3 that I use also but I don't thing it is part of the problem. I did not modified vpopmail or qmail code apart from the TLSAUTH-SMTP patch found at http://www.qmail.org/netqmail/ Peter Palmreuther wrote: Hello Sebastien, On Saturday, May 1, 2004 at 6:02:00 PM you wrote (at least in part): I tried many configurations and it appears that it's the vchkpw that adds my email adress to my IP when I send a mail. I wouldn't know why and how vchkpw would or could do this. First of all I tried with or without vpopmail and without vpopmail I did not get that strange line. How exactly did you try without vpopmail? What changes have been done, what exactly was different from with vpopmail trial? Obelix:/var/qmail# cat /var/qmail/supervise/qmail-smtpd/run #!/bin/sh exec /usr/local/bin/tcpserver -H -p -R -x /home/vpopmail/etc/tcp.smtp.cdb -u98 -g98 -v -c100 0 smtp rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /usr/bin/true 21 As I expected I don't see anything that would make qmail-smtpd append '@IP-Address' just because 'vchkpw' is present. 'vchkpw' can't modify anything within qmail-smtpd's memory area and qmail-smtpd does not fetch anything 'vchkpw' could 'pass back'. It only has an eye open if vchkpw exits '0' or not. So I'm still convinced it is not vpopmail that is the culprit, of course unless you've done heavy modifications on vpopmail or qmail or have another setup not shown yet.
Re: [vchkpw] strange behavior in from header.
The problem is that some ISP found this as non conform data and reject mails. And AFAIK it's not conform to RFC. Tom Collins wrote: On May 1, 2004, at 9:08 AM, Sebastien FOUTREL wrote: The problem is not coming from the mail client. I tried many clients and the problem is only there if I use vpopmail on the server. btw, the problem is not in the to or from lines but in the received from lines. example : from unknown (HELO tinozaure) ([EMAIL PROTECTED]@81.57.236.165) by obelix.gaulois.biz with SMTP; 30 Apr 2004 21:47:43 - There's nothing inherently wrong with that line. It's saying that user [EMAIL PROTECTED] used SMTP AUTH from IP 81.57.236.165 to send the message. My server does that as well, and since the Received headers are mostly ignored, it shouldn't be a 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] strange behavior in from header.
I tried 2 times to send tests emails to my own email address @ one major ISP in France and received each time a bounced message with error 500 content rejected. Apart from the @IP the rest is correct. this is a copy of the bounced message : Hi. This is the qmail-send program at obelix.gaulois.biz. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: 193.252.22.82 failed after I sent the message. Remote host said: 550 Error: Message content rejected --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Received: (qmail 13886 invoked by uid 98); 28 Apr 2004 17:46:46 - Received: from tinozaure.gaulois.biz (HELO tinozaure) ([EMAIL PROTECTED]@81.57.236.165 mailto:[EMAIL PROTECTED]@81.57.236.165) by obelix.gaulois.biz with SMTP; 28 Apr 2004 17:46:46 - Message-ID: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: tino [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Subject: test Date: Wed, 28 Apr 2004 19:46:46 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_NextPart_000_0015_01C42D59.8A3D02D0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 This is a multi-part message in MIME format. --=_NextPart_000_0015_01C42D59.8A3D02D0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable test --=_NextPart_000_0015_01C42D59.8A3D02D0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=3DContent-Type content=3Dtext/html; = charset=3Diso-8859-1 META content=3DMSHTML 6.00.2800.1400 name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2test/FONT/DIV/BODY/HTML --=_NextPart_000_0015_01C42D59.8A3D02D0-- Tom Collins wrote: On May 1, 2004, at 1:49 PM, Sebastien FOUTREL wrote: The problem is that some ISP found this as non conform data and reject mails. And AFAIK it's not conform to RFC. AFAIK, Received headers allow for almost anything in parenthesis. I went back and re-read your original post, and there's nothing in the ISP's error message to indicate that there's a problem with the Received headers. -- 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] strange behavior in from header.
I tried many configurations and it appears that it's the vchkpw that adds my email adress to my IP when I send a mail. I recompiled it with different parameters but none corrected this bug. Help me please. Sebastien FOUTREL wrote: Hello all I read lots of mails and google pages but did not found any help for this strange behavior. my netqmail1.5 patched with the tls-smtpauth from the netqmail page with vpopmail 5.4.3 is working pretty well (pop and smtp are working).. BUT BUT BUT ! if i send a mail with this server it is rejected by lots of mail server because content is not correct. I looked a bit in the headers and found that my server send strange from headers. I include a part of a bounced message : It seems that [EMAIL PROTECTED]@81.57.236.165 mailto:[EMAIL PROTECTED]@81.57.236.165 is not good but I don't know from where it comes. Give me a clue to solve this please. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: 193.252.22.82 failed after I sent the message. Remote host said: 550 Error: Message content rejected --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Received: (qmail 13886 invoked by uid 98); 28 Apr 2004 17:46:46 - Received: from tinozaure.gaulois.biz (HELO tinozaure) ([EMAIL PROTECTED]@81.57.236.165 mailto:[EMAIL PROTECTED]@81.57.236.165) by unknown.sagonet.net with SMTP; 28 Apr 2004 17:46:46 - Message-ID: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: tino [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Subject: test Date: Wed, 28 Apr 2004 19:46:46 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_NextPart_000_0015_01C42D59.8A3D02D0 blah blah !
[vchkpw] strange behavior in from header.
Hello all I read lots of mails and google pages but did not found any help for this strange behavior. my netqmail1.5 patched with the tls-smtpauth from the netqmail page with vpopmail 5.4.3 is working pretty well (pop and smtp are working).. BUT BUT BUT ! if i send a mail with this server it is rejected by lots of mail server because content is not correct. I looked a bit in the headers and found that my server send strange from headers. I include a part of a bounced message : It seems that [EMAIL PROTECTED]@81.57.236.165 mailto:[EMAIL PROTECTED]@81.57.236.165 is not good but I don't know from where it comes. Give me a clue to solve this please. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: 193.252.22.82 failed after I sent the message. Remote host said: 550 Error: Message content rejected --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Received: (qmail 13886 invoked by uid 98); 28 Apr 2004 17:46:46 - Received: from tinozaure.gaulois.biz (HELO tinozaure) ([EMAIL PROTECTED]@81.57.236.165 mailto:[EMAIL PROTECTED]@81.57.236.165) by unknown.sagonet.net with SMTP; 28 Apr 2004 17:46:46 - Message-ID: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: tino [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Subject: test Date: Wed, 28 Apr 2004 19:46:46 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_NextPart_000_0015_01C42D59.8A3D02D0 blah blah !
Re: [vchkpw] Mail forward problem
Sameer Ingole wrote: Hi, I have qmail + vpopmail install on my linux server. I have 6 domains for which my qmail is responsible for. parikhsteel.com is one of them. I have some 25 email users for this domain. I want to forward all the mails of 20 users to three users of parikhsteel.com How do I do that? What would be the scenario if I use .qmail-default in /home/vpopmail/domains/parikhsteel.com/ How do I do that? Sameer. You can install qmailadmin then create a mailing-list, add your 3 users to that mailing-list, forward each of your 20 users to that mailing-list. OR create a mailing-list, add the 3 users to that ML, create a catch all account that forward to the mailing list, delete the 20 users. You should do with .qmail-whatever files but I am a lazy bastard that like web interfaces
[vchkpw] Help needed with vpopmail-5.4.0 and SMTPAUTH
Hello, I use this HOWTO to install qmail with vpopmail but did not wanted to use the --enable-roaming-users=y so I set it to --enable-roaming-users=n and now I want to use the SMTPAUTH as described in http://www.fehcom.de/qmail/smtpauth.html but I always get an error message when I want to send a message. Any help would be greatly appreciated. Thank you
Re: [vchkpw] Help needed with vpopmail-5.4.0 and SMTPAUTH
Thank you, I just undestood that I made a mistake reading http://www.fehcom.de/qmail/smtpauth.html I thought the smtpauth patch had been inserted in vpopmail 5.4.0 so I didnot applied it. Just applied it and recompiled qmail and vpopmail and now it works fine ! Thank you inter7 team and all of you helping newcomers and sharing knowledge ! Roger Lipscombe wrote: Sebastien FOUTREL wrote: Hello, I use this HOWTO to install qmail with vpopmail but did not wanted to use the --enable-roaming-users=y so I set it to --enable-roaming-users=n and now I want to use the SMTPAUTH as described in http://www.fehcom.de/qmail/smtpauth.html but I always get an error message when I want to send a message. What error message? Any help would be greatly appreciated. I just got it working correctly (AFAICT) on my test box last week. Dunno if my notes'll help, but feel free: http://www.differentpla.net/node/view/165, particularly the paragraph titled SMTP AUTH with vpopmail on this page: http://www.differentpla.net/node/view/170 Cheers, Roger.