You'll hate this... The '-m' option has to appear *after* the -d option:

 cat mail_file | dbmail-smtp -d [EMAIL PROTECTED] -m temp

-fr.

On Tue, 3 Feb 2004 21:04:12 +0100
nerVo <[EMAIL PROTECTED]> wrote:

> 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
> 

Attachment: pgpBARavqlbrg.pgp
Description: PGP signature

Reply via email to