On Tue, April 11, 2006 7:47 am, Steve Vigneau wrote: > I've been trying to find a way to have the NewMail plugin ignore the 'Junk' > folder > when checking for mail, but I can't seem to find a way to do this. > > I'm curious, have any of you come up with a good way to do this? I receive > 100 - > 200 pieces per day which are filtered (via procmail) into a Junk folder, and > thusly I'd like NewMail just to ignore it.
Can you edit the source files? /plugins/newmail/setup.php In the function newmail_plugin(), there is a for-loop that starts around line 164... the >> are there for highlighting, don't include them :) function newmail_plugin() { ... if ($newmail_enable == 'on' || $newmail_popup == 'on' || $newmail_changetitle) { ... for ($i = 0;$i < count($boxes); $i++) { ... >> if ($mailbox != 'Junk') {// ignore the Junk folder if (! isset($boxes[$i]['unseen'])) { ... } if ($boxes[$i]['flags']) { ... } else { ... } >> }// end-if } ... } Geoff ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users