Hi All,

  I noticed that when sending a file that I attached with an absolute
pathname via Perl's MIME::Lite's Path and Filename attributes q-s 1.23
would try and create the file with the same exact file structure.
  So if on my mail server I did a 
    touch /tmp/blah.txt
    chown root /tmp/blah.txt ; chmod 000 /tmp/blah.txt
  and then on my client I attached the file via a perl script:
    $msg = MIME::Lite->new();
    $file = "/tmp/blah.txt";
    $msg->attach(
      Path        => $file,
      Filename    => $file,
      Disposition => 'attachment'
    );
  I would get the following error:
    error_condition: X-Qmail-Scanner-1.23: owner of unpacked files (uid=0)
    doesn't match UID of Qmail-Scanner (uid=520) - can't expect this to
    work. Fix whatever is creating files with uid=0 (like "/tmp/blah.txt")
  where I filled in the $filepath part for debugging purposes.

  If I attached it without the complete path:
    $file = "blah.txt";
  it makes it through.

  Now if I sent it a file with a pathname that doesn't exist on the
server, for example:
    $file = "/path/thats/not/on/server/blah.txt"
  q-s makes it through the tests.  However if I create that directory
structure and file on the server:
    mkdir -p /path/thats/not/on/server
    touch /path/thats/not/on/server/blah.txt
  then q-s tries to access that file.

  Has anyone else seen this?  q-s 1.22 doesn't appear to have this same
issue.

Chris


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to