Bacula-users

Re: [Bacula-users] Email Command

2008-04-21 09:21:54
Subject: Re: [Bacula-users] Email Command
From: Ivan Barrera <ibarrera AT netglobalis DOT net>
To: pichi <pboynton AT fbsa DOT es>
Date: Mon, 21 Apr 2008 09:15:53 -0400
> # /usr/lib/bacula/bsmtp -h mail.dobbs.es -s Test -f bacula AT backup.dobbs 
> DOT es
> pete AT dobbs DOT es
>
> I write my test message, start new line, Control+D, and voila! the mail
> shows up in my mailbox.
>
> Its when I try and get fancy with the -s option that things break:
>
>  /usr/lib/bacula/bsmtp -h mail.dobbs.es -s \"Bacula: %t %e of %c %l\" %r" -f
> bacula AT backup.dobbs DOT es pete AT dobbs DOT es
>   

Look after %r... you got an extra "


> Which gives me prompt like this:
>
>   
>
> I do a Control+D and I get this:
>
>   
>> -bash: unexpected EOF while looking for matching `"'
>>     
> -bash: syntax error: unexpected end of file
>
>
> Thank you for any help you can give,
>
> P.
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users