[Mimedefang] Replacing large attachments.

Jason Englander jason at englanders.cc
Wed Mar 19 10:33:01 EST 2003


On Wed, 19 Mar 2003, Martin Ferguson wrote:

>         "/var/www/html/attachments/",

I'd remove the trailing slash, though // is usually just ignored
(treated like one /) by perl...  Make sure this dir is readable by the
user that MIMEDefang runs as (usually defang), and that it's readable by
the group that your web server runs as (usually nobody or nogroup), and
it's permissions are 750.

To see if it's working or not, check the return value.  0 means it
failed, 1 means it worked.

> However it doesn't seem to do anything, where in the mimedefang-filter
> file should this be placed?

In filter(), because it needs to be done for each attachment.

  Jason

-- 
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA




More information about the MIMEDefang mailing list