Tags:
create new tag
view all tags

Question

When I configure a mailbox using the MailInContrib installer where are the configuration setting stored? Can I add more mailboxes directly or do I have to run the MailInContrib_installer script every time I want to add a mailbox?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora 5
Web server: Apache
Perl version: 5.8
Client OS: Windows XP
Web Browser: Firefox
Categories: Installation

-- AlokNarula - 01 Nov 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I figured out that the mailbox configuration is stored in LocalSite.cfg. Here is my mailbox configuration for getting TWiki mails stored in my Microsoft Exchange mailbox inbox/twiki.

$TWiki::cfg{MailInContrib} = [
 {
   defaultWeb => 'Sandbox',
   folder => 'imap://anarula:XYZ@mail.beceem.com/inbox/twiki',
   onError => 'reply',
   onNoTopic => 'spam',
   onSuccess => 'reply',
   spambox => 'Sandbox.DummyTopic',
   topicPath => 'subject',
   user => 'anarula',
 },

When I run the mailincron tool, I get this error. Can anybody tell me what is the problem and how should I get mailincontrib working.

../tools/mailincron debug=0
Process IMAP folder imap://anarula:XYZ@mail.beceem.com/inbox/twiki
Scanning imap://anarula:XYZ@mail.beceem.com/inbox/twiki
[Thu Nov  2 14:30:16 2006] mailincron: Use of uninitialized value in split at /usr/lib/perl5/site_perl/5.8.8/Email/Folder/IMAP.pm line 27.
[Thu Nov  2 14:30:16 2006] mailincron: substr outside of string at /usr/lib/perl5/site_perl/5.8.8/Email/Folder/IMAP.pm line 31.
Can't call method "get" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Email/Folder/IMAP.pm line 40.

-- AlokNarula - 02 Nov 2006

That appears to be a problem in the depths of the CPAN IMAP module. It sometimes complains like that if the syntax of the mailbox path isn;t exactly right. Try putting a / on the end, or even removing the 'twiki' bit.

-- CrawfordCurrie - 28 Nov 2006

CLosing as answered, as there has been no further comment.

-- CrawfordCurrie - 05 Jan 2007

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-01-05 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.