> I want to delete emails which James haven't sent yet. > > I found files in directories: > /james-2.1.2/apps/james/var/mail/spool/ > /james-2.1.2/apps/james/var/mail/outgoing/campaigns/newsletters/ > > I assume that in "outgoing" directory are emails which the > James is going to send. > but what for is "spool" directory ?
James puts every mail into the spool. Then it run this mails through the processors (matchers/mailets). When it find that a mail is to be delivered to an outgoing host the RemoteDelivery mailet remove the mail from the spool and put it into outgoing. Outgoing is a spool, too but contains only mails to be delivered (or mails that are temporary failing and shoudl be retried later). > If I want to delete an email (that James won't send it) can I > simply delete this two files ( Repository.FileObjectStore and > Repository.FileStreamStore) ? > or do I have to do something more ? You can remove a mail from a repository if you know the mail name (primary key). You shouldn't use FileObjectStore or FileStreamStore directly. What is the workflow that you need to delete the mail? When do you need to delete? Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
