Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Filter CPAN distribution.

Report information
The Basics
Id: 25028
Status: resolved
Priority: 0/
Queue: Email-Filter

People
Owner: Nobody in particular
Requestors: perl [...] infotrope.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Force Maildir or mbox format
My mail host uses Maildir. I set up an Email::Filter script telling it to accept() certain emails into Maildir/foo/bar, and found that it created bar as an mbox file. I'm not sure what caused it to get confused, but it'd be nice if the constructor could take an optional parameter to specify "when in doubt, always use this format".
::Filter uses ::LocalDelivery, which in turn uses ::FolderType to determine how to deliver mail. To delivery to a maildir, the folder name must end with one, and only one, forward slash. To force delivery to a given folder type, you can use Email::LocalDelivery::Maildir directly. Hopefully this situation will become simpler in the future, if and when Folder objects exist. -- rjbs