Hello Earlier I was shown a sample for the -f option which I tried, but it was unsuccessful.
I deleted all conf files and reinstalled bacula with default settings And I found that the default recipient was now [EMAIL PROTECTED] Emailing resulted in invalid recipient Changing to my isp email address as recipient, the error then Changes to invalid sender,and I cant move from here. Below please find part of my server-dir.conf Any help you can provide will be great. Thanx/peter Messages { # # NOTE! If you send to two email or more email addresses, you will need # to replace the %r in the from field (-f part) with a single valid # email address in both the mailcommand and the operatorcommand. # # # WARNING! the following will create a file that you must cycle from # time to time as it will grow indefinitely. However, it will # also keep all your messages if they scroll off the console. # Name = Standard mailcommand = "/usr/sbin/bsmtp -h localhost -f [EMAIL PROTECTED] -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/sbin/bsmtp -h localhost -f [EMAIL PROTECTED] -s \"Bacula: Intervention needed for %j\" %r" mail = "[EMAIL PROTECTED]" = all, !skipped operator = "[EMAIL PROTECTED]" = mount console = all, !skipped, !saved append = "/var/log/bacula" = all, !skipped } # # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r" mail = "[EMAIL PROTECTED]" = all, !skipped console = all, !skipped, !saved append = "/var/log/bacula" = all, !skipped } -----Original Message----- From: Silver Salonen - [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16 October 2008 08:24 AM To: bacula-users@lists.sourceforge.net Cc: Peter Herrington Subject: Re: [Bacula-users] Fully qualified from field bsmtp -f option (bacula: message 3 of 20) On Thursday 16 October 2008 07:58:08 Peter Herrington wrote: > Hello good people > > I am having an invalid sender with bacula emailing configuration files. > > Reading various resources I find that I need to put a fully qualified > email address at the -f option on the mail command line, but I need an > example, because currently I see gibberish, as after -f it shows > \"\(Bacula\) %r\" and then the -s option. > > Please give an example of what part of \"\(Bacula\) %r\" must be > replaced with a valid Email address. > > Thanx a ton > > Peter Hello. In my case it's: mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) [EMAIL PROTECTED]" -s \"Bacula: %t %e of %c %n %l\" %r" -- Silver ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users