This works for me

|/usr/local/sbin/dbmail-smtp -m INBOX -u dschultz
to deliver mail to my inbox

David

----- Original Message ----- 
From: "nerVo" <[EMAIL PROTECTED]>
To: <dbmail@dbmail.org>
Sent: Tuesday, February 03, 2004 1:04 PM
Subject: [Dbmail] dbmail-smtp and imap folders


> Hello,
>
> I'm using DBMail 1.2.3 on FreeBSD 5.2.
> Due to the lack of documentation, i can't find any information about the
usage
> of th "-m" parameter to deliver a mail in a special imap folder.
>
> if i just cat a mail, with a pipe on dbmail-smtp like that :
>
> cat mail_file | dbmail-smtp -d [EMAIL PROTECTED]
>
> its ok and the mail appear in the Inbox folder
> But if i want it to appear in the "temp" folder of my imap directory :
>
> cat mail_file | dbmail-smtp -m temp -d [EMAIL PROTECTED]
> --> Error: When using the mailbox delivery option, you should specify a
userna
> cat mail_file | dbmail-smtp -m "temp" -d [EMAIL PROTECTED]
> --> Error: When using the mailbox delivery option, you should specify a
userna
> cat mail_file | dbmail-smtp -m temp -u [EMAIL PROTECTED]
> --> ** nothing happened **
> cat mail_file | dbmail-smtp -m "temp" -u [EMAIL PROTECTED]
> --> ** nothing happened **
>
> I need using folders in my aliases file of sendmail, and "catting" mail
file
> is the simpliest way i found to test it.
>
> Regards.
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to