[Dovecot] tb-negative-fetch workaround

Troy Engel tengel at fluid.com
Tue Mar 13 23:23:43 EET 2007


bofh list wrote:
> 
> Cool - the user is using linux but I would imagine the changes to 
> accomplish this are minor!

(could you *please* turn off sending HTML email to this list? argh.)

While I've not done this for a linux person, the changes should be 
minor; it will vary depending on the distro. For instance, on Red Hat 
/usr/bin/thunderbird is actually a shell script that launches 
thunderbird-bin.

Something like...

== snip ==
#!/bin/sh

MYDATE=`date "+%Y%m%d_%H%M%S"`
NSPR_LOG_MODULES=IMAP:5
NSPR_LOG_FILE=/tmp/thunderbird_${MYDATE}.log
export NSPR_LOG_MODULES NSPR_LOG_FILE

/usr/bin/thunderbird &
exit $?
== snip ==

The above is untested but looks good to my eye... :)

-te

-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com


More information about the dovecot mailing list