On Mon, 2006-06-12 at 17:39 -0400, DK wrote:
> On 6/12/06, Jesse Norell <[EMAIL PROTECTED]> wrote:
> > Are you maybe expecting that command to simply create the mailbox and
> > return?  dbmail-smtp is a (poorly named) command that inserts an email
> > into your database - if run at the command prompt, it's expecting you to
> > type in an email message.  If you specify the mailbox to save the
> 
> Do you mean it works like 'mail -v [EMAIL PROTECTED]' ?
> Well I tried that / in '# mail' you end the message with a dot that
> didn't work with dbmail-smtp.

Try ctrl-d once you've typed the message.  Note that's expecting a raw
message, including headers and everything (might be easier to just save
the message to a file and run "cat message.txt | dbmail-smtp ...").

> > message to, as the command Paul gave you does, it will create the
> > mailbox if it doesn't exist.  I don't know if there's a utility with
> 
> That would actually work. I have a filter setup in dbmail_filters. So
> if the message gets send back from the filter to dbmail-smtp then
> dbmail-smtp will create the folder right?

Yep, if you specify the folder to use, it'll get created for you.  I'm
not very familiar with that old dbmail_filters patch, and don't know how
wise it would be to re-call dbmail-smtp from within a filter (if even
possible), but the auto-creation part should do what you're wanting.

Another option which from your other posts I believe you're considering
would be use sieve (which would work with lmtp or dbmail-smtp) .. it
will automatically create folders if you create a script that files the
message to them.  Seems a little cleaner to me.


> > dbmail to *just* create a folder (it would be dbmail-util if anything,
> > but I don't remember if it'll do that, and I've not read it's manpage
> > recently); if it doesn't, you could probably file a feature request in
> > the bug tracker and it'd likely get added some time (seems like a useful
> > feature for account creations like you are doing).
> >
> >
> > On Mon, 2006-06-12 at 14:14 -0400, DK wrote:
> > >
> > > The dbmail-smtp sits there doesn't return the prompt and that is all
> > > the output I get.
> > --
> > Jesse Norell - [EMAIL PROTECTED]
> > Kentec Communications, Inc.
> >
> 
-- 
Jesse Norell - [EMAIL PROTECTED]
Kentec Communications, Inc.

Reply via email to