Friday, January 27, 2006


If you -like me- were suffering from being unable to load big attachments through ext/imap because of PHPs memory limit, the new imap_savebody() function should be what you were looking for. It adds the ability to save any section (full mail, too) of a mail message to a file or stream.

Adding it implied a non-trivial change to ext/imap, so if you encounter any new problems -with f.e. imap_fetchbody()- speak up ASAP, please! ;)

Apache2 mod_domaintree version 1.3

I just released mod_domaintree-1.3 on freshmeat.

It'll take some time to appear, though.

The code has been cleaned up a lot and a host name to directory cache (per server/process) has been added.

Enable the cache by setting DomainTreeCache to a reasonable high number, like the amount of different domains being hosted.

Drop me a mail if you like it! ;)