Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

A question about creating Maildir mailboxes with mailbox.Maildir
I have mail delivered into Maildirs which live in a directory
hierarchy as follows:-

/home/isbd/Mail/Li/<name of maildir>
/home/isbd/Mail/In/<name of maildir>

Note that neither /home/isbd/Mail/Li nor /home/isbd/Mail/In are
Maildir mailboxes.  How do I create a new Maildir mailbox in either Li
or In with mailbox.Maildir.add_folder()?

If I have created an instance of Maildir with:-

md = mailbox.Maildir("/home/isbd/Mail/Li")

that implies that /home/isbd/Mail/Li is a Maildir, which it isn't, and
anyway the above fails because it can't see the new, cur and tmp
directories in /home/isbd/Mail/Li.


It seems that the Python Maildir implementation assumes a Courier
style (probably IMAP) Maildir hierarchy with an INBOX and using dots
rather than real directories to create sub-directories.

I don't have an INBOX or any sort of 'home' maildir, it's most
definitely not a requirement of maildir.

--
Chris Green

Report this thread to moderator Post Follow-up to this message
Old Post
tinnews@isbd.co.uk
04-03-08 01:44 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Python archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:47 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.