Hi.

we move our server outside the network to a provider, before we manage
our own server for the company.

I use ssmtp before the switch, I setup ssmtp to point to the new
server, I test on console and works.

But bacula bsmtp has issues.

My OS is Centos 5.x x64.

Looks like cannot talk to my new server:

Message delivery ERROR: Mail program terminated in error.
CMD=/usr/sbin/bsmtp -h localhost  -f "(Bacula) <myu...@mydomain.com>"
-s "Bacula: Backup OK of MBX-INTRADE Differential" myu...@mydomain.com
ERR=Child exited with code 1
Dec 15 01:47:18 mbx-backup bacula-dir: 15-Dec 01:47  Message delivery
ERROR: Mail prog: bsmtp: bsmtp.c:442 Fatal connect error to localhost:
ERR=Connection refused

Looks like bsmtp is search for a local smtp service.

My system mta is ssmtp.

bacula-dir has this config:

mailcommand = "/usr/sbin/bsmtp -h localhost  -f \"\(Bacula\) \<%r\>\"
-s \"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
  mail = myu...@mydomain.com = all, !skipped
  operator = myu...@mydomain.com = mount
  console = all, !skipped, !saved

Messages {
  Name = Daemon
  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\"
-s \"Bacula daemon message\" %r"
  mail = myu...@mydomain.com = all, !skipped
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}

Don't know who to fix this, any tip will be appreciated, thanks...!!!!

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to