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
--
AlokNarula - 01 Nov 2006
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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
Topic revision: r6 - 05 Jan 2007 - 21:39:55 -
PeterThoeny