From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G0M21-0003v4-1U for garchives@archives.gentoo.org; Tue, 11 Jul 2006 17:28:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6BHR0lk012641; Tue, 11 Jul 2006 17:27:00 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6BHMIco021223 for ; Tue, 11 Jul 2006 17:22:18 GMT Received: by nf-out-0910.google.com with SMTP id p46so1917nfa for ; Tue, 11 Jul 2006 10:22:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=UHF/V672iXhXPsFcRdNrA0FSA7fKQxmajRXP2y/9Ha+8TecXwTzlniaGAtUD+WrfmW6OUnt/o1JQ2Wn1DHhvuLOuVGinde51coB+BmqGEtzBn0x2t3hvTYOrdk/GHP5xC51kEQeUNoiMeUcQ5deZxKWCr5rANklFCs03/rM/JkM= Received: by 10.78.139.5 with SMTP id m5mr2282531hud; Tue, 11 Jul 2006 10:22:18 -0700 (PDT) Received: by 10.78.48.9 with HTTP; Tue, 11 Jul 2006 10:22:18 -0700 (PDT) Message-ID: Date: Tue, 11 Jul 2006 13:22:18 -0400 From: "Devon Miller" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Things that can be improved In-Reply-To: <44B14871.2040804@mid.email-server.info> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_38985_15689159.1152638538156" References: <44AEB475.8000702@maestroprogramador.com> <44AFA500.7050209@maestroprogramador.com> <44AFF9AE.6030108@mid.email-server.info> <44B01D90.9050509@maestroprogramador.com> <44B11E48.4090500@mid.email-server.info> <20060709184721.3eb0e3e2@krikkit.digimed.co.uk> <44B14871.2040804@mid.email-server.info> X-Archives-Salt: 60d3bb89-eb95-49d8-aa21-736c849f505d X-Archives-Hash: 77e81aff94e7f1bf631b1b6ecacd2e1c ------=_Part_38985_15689159.1152638538156 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/9/06, Alexander Skwar wrote: > > Would > > PORTAGE_ELOG_MAILURI="bar@example.invalid user:name@bsp.invalid: > pass_with_:_colon@domain@mailserver:port" > > work? For clarification: > > user= user:name@bsp.invalid > pass=pass_with_:_colon@domain > mailserver=mailserver > port=port Well, ymmv, but assuming the mailer parses the uri the same way HTTP does, You would have to percent encode the character with special meanings: So, it would be more like this: user=user%3Aname%40bsp.invalid pass=pass_with_%3A_colon%40domain mailserver=mailserver port=port Yeilding: PORTAGE_ELOG_MAILURI=\ "bar@example.invalid user%3Aname%40bsp.invalid:pass_with_%3A_colon%40domain@mailserver:port" (Line break added to discourage wrapping) dcm ------=_Part_38985_15689159.1152638538156 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/9/06, Alexander Skwar <listen@alexander.skwar.name> wrote:
Would

PORTAGE_ELOG_MAILURI="bar@example.invalid user:name@bsp.invalid:pass_with_:_colon@domain@mailserver:port"

work? For clarification:

        user= user:name@bsp.invalid
        pass=pass_with_:_colon@domain
        mailserver=mailserver
        port=port

Well, ymmv, but assuming the mailer parses the uri the same way HTTP does, You would have to percent encode the character with special meanings: So, it would be more like this:

        user=user%3Aname%40bsp.invalid
        pass=pass_with_%3A_colon%40domain
        mailserver=mailserver
        port=port

Yeilding:

        PORTAGE_ELOG_MAILURI=\
            " bar@example.invalid user%3Aname%40bsp.invalid:pass_with_%3A_colon%40domain@mailserver:port"

(Line break added to discourage wrapping)

dcm
------=_Part_38985_15689159.1152638538156-- -- gentoo-user@gentoo.org mailing list