<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user">
    <title>gmane.mail.popa3d.user</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/446"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/445"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/444"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/443"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/442"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/441"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/440"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/439"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/438"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/437"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.popa3d.user/436"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/446">
    <title>Re: popa3d-vname, allowing hierarchies for "domain:directory" in vnamemap</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/446</link>
    <description>&lt;pre&gt;
Yes, sorry, typo.  This is how the new line looks:

   if ( strstr(address, '/') || strchr(user, '/')) ...

became:

   if ( strstr(address, "..") || strchr(user, '/'))

- Andy




&lt;/pre&gt;</description>
    <dc:creator>Andy Sy</dc:creator>
    <dc:date>2010-11-09T12:15:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/445">
    <title>Re: popa3d-vname, allowing hierarchies for "domain:directory" in vnamemap</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/445</link>
    <description>&lt;pre&gt;Andy,

On Tue, Nov 09, 2010 at 07:24:25PM +0800, Andy Sy wrote:

You need to keep the user check as well!

Alexander

&lt;/pre&gt;</description>
    <dc:creator>Solar Designer</dc:creator>
    <dc:date>2010-11-09T11:49:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/444">
    <title>Re: popa3d-vname, allowing hierarchies for "domain:directory" in vnamemap</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/444</link>
    <description>&lt;pre&gt;Hi Alexander,


Was able to drastically simplify the patch by just replacing

   if ( strchr(user, '/') || ...

with:

   if ( strstr(address, "..") || ...

The above seems to work fine.

- Andy

&lt;/pre&gt;</description>
    <dc:creator>Andy Sy</dc:creator>
    <dc:date>2010-11-09T11:24:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/443">
    <title>Re: popa3d-vname, allowing hierarchies for "domain:directory" in vnamemap</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/443</link>
    <description>&lt;pre&gt;Hi Andy,

On Tue, Nov 09, 2010 at 06:13:07PM +0800, Andy Sy wrote:
[...]

I didn't review it in full context, but it looks like you're lucky
as it relates to "address" since the directory pathname comes from a
trusted config file only, but not as it relates to "user".

There doesn't appear to be any reason for you to remove the check of
"user", so I suggest that you fix the (patched) code in this respect.

As to "address", I recommend that rather than completely remove the
check for slash you replace it with a check preventing traversal to
upper-level directories.

Something like:

if (strchr(user, '/') ||
    !strcmp(user, "..") ||
    strstr(address, ".."))
return NULL;

...and you don't need vname_lookup_fail.

This is completely untested, use at your own risk.

Alexander

&lt;/pre&gt;</description>
    <dc:creator>Solar Designer</dc:creator>
    <dc:date>2010-11-09T10:35:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/442">
    <title>popa3d-vname, allowing hierarchies for "domain:directory" in vnamemap</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/442</link>
    <description>&lt;pre&gt;Hi all,

I am using hhg's patch at

   http://hhg.to/popa3d/popa3d-0.6.3-vname-2.diff

but it doesn't seem to support directory hierarchies for
directory values in vnamemap. e.g.

   "mydomain.com:mydomain"

works, but

   "mydomain.com:anotherdir/mydomain"

won't.

I wrote the attached patch to allow the above to happen,
but is this safe?

Note that the patch can be applied to unpatched 1.0.2
and result in compilable virtual.c, but only makes
sense when popa3d-0.6.3-vname-2.diff is also applied.

- Andy


============================
http://webmechs.com/webpress
The Webmechs Webpress Blog
--- virtual.c.orig2010-11-09 10:06:10.829767335 +0000
+++ virtual.c2010-11-09 10:06:15.847769298 +0000
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -127,6 +127,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct passwd *virtual_userpass(char *us
 char *address, *pathname;
 char *template, *passwd;
 int fail;
+    int vname_lookup_fail=1;
 int fd, size;
 
 *known = 0;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -137,7 +138,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct passwd *virtual_userpass(char *us
 virtual_spool = NULL;
 
 #if VIRTUAL_VNAME
-if (!(address = vname_l&lt;/pre&gt;</description>
    <dc:creator>Andy Sy</dc:creator>
    <dc:date>2010-11-09T10:13:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/441">
    <title>Re: popa3d in Minix3</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/441</link>
    <description>&lt;pre&gt;
It is unreasonable for me to spend time on this, sorry.

I've placed your patch into contrib/ and listed it on the popa3d homepage:

http://www.openwall.com/popa3d/

"popa3d 1.0.2 MINIX 3 support by Pavel V Samsonov
ditto, context format diff to be applied on MINIX natively"

Thanks,

Alexander

&lt;/pre&gt;</description>
    <dc:creator>Solar Designer</dc:creator>
    <dc:date>2010-08-24T12:50:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/440">
    <title>Re: popa3d in Minix3</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/440</link>
    <description>&lt;pre&gt;В Tue, 24 Aug 2010 02:03:40 +0400
Solar Designer &amp;lt;solar-cxoSlKxDwOJWk0Htik3J/w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; пишет:


I not currently very sure, but in my installation of Minix3, the child
process die when parent exit. In Linux with same code, it still running
without parent. May be I wrong. Please verify if possible.

Thanks.



&lt;/pre&gt;</description>
    <dc:creator>Pavel V Samsonov</dc:creator>
    <dc:date>2010-08-24T11:04:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/439">
    <title>Re: popa3d in Minix3</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/439</link>
    <description>&lt;pre&gt;Hi Pavel,

On Thu, Aug 19, 2010 at 03:34:01PM +0400, Pavel V Samsonov wrote:

Please regenerate the patch to meet these conventions:

http://openwall.info/wiki/how-to-make-patches

I'd like to add it to the contrib/ directory.  As to applying it to the
main popa3d tree, I'd rather not, at least not without some cleanup.

Why are you removing the fork-into-background code for "popa3d -D" (when
building on Minix)?

Thanks,

Alexander

&lt;/pre&gt;</description>
    <dc:creator>Solar Designer</dc:creator>
    <dc:date>2010-08-23T22:03:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/438">
    <title>popa3d in Minix3</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/438</link>
    <description>&lt;pre&gt;Good day!
I have patch for run popa3d-1.0.2 on Minix3.
I test basic functionality of popa3d in Minix3 and want add this patch
in mainstream. How I can make this?
Thanks.
&lt;/pre&gt;</description>
    <dc:creator>Pavel V Samsonov</dc:creator>
    <dc:date>2010-08-19T11:34:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/437">
    <title>Re: popa3d log facility</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/437</link>
    <description>&lt;pre&gt;Wow...this list is still alive... ;)

*** Wijatmoko U. Prayitno &amp;lt;koko-RmlLcU31VplnUnNnYzyGRNBPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

Have a look at "params.h".

,---[ params.h ]
| #define SYSLOG_FACILITY                 LOG_DAEMON
`---|

Change "LOG_DAEMON" to "LOG_MAIL" and rebuild.

HTH

Micha

&lt;/pre&gt;</description>
    <dc:creator>Michael Meyer</dc:creator>
    <dc:date>2009-12-13T10:54:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.popa3d.user/436">
    <title>popa3d log facility</title>
    <link>http://permalink.gmane.org/gmane.mail.popa3d.user/436</link>
    <description>&lt;pre&gt;Helo lists,

Is there any possiblity to change popa3d log from /var/log/messages to
/var/log/mail* ?  Which files (*.c, *.h) I should modify??


&lt;/pre&gt;</description>
    <dc:creator>Wijatmoko U. Prayitno</dc:creator>
    <dc:date>2009-12-12T16:21:22</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.mail.popa3d.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.mail.popa3d.user</link>
  </textinput>
</rdf:RDF>
