Hi My configuration of Messages directive in bacula-dir.conf has the following configuration:
Messages { Name = "Standard" MailCommand = "/usr/sbin/bsmtp -h smtp-int.uc.pt -f \"(Bacula) <%r>\" -s \"Bacula BP3: %t %e of %c %l\" %r" OperatorCommand = "/usr/sbin/bsmtp -h smtp-int.uc.pt -f \"(Bacula) <%r>\" -s \"Bacula BP3: Intervention needed for %j\" %r" Mail = gina.co...@uc.pt = All, !Debug, !Saved, !Skipped Console = All, !Debug, !Saved, !Skipped Operator = gina.co...@uc.pt = Mount Catalog = All, !Debug, !Saved, !Skipped } Where smtp-int.uc.pt is a local smtp server in my organization . I also try: Messages { Name = "Standard" MailCommand = "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula BP3: %t %e of %c %l\" %r" OperatorCommand = "/usr/sbin/bsmtp -h smtp-int.uc.pt -f \"(Bacula) <%r>\" -s \"Bacula BP3: Intervention needed for %j\" %r" Mail = gina.co...@uc.pt = All, !Debug, !Saved, !Skipped Console = All, !Debug, !Saved, !Skipped Operator = gina.co...@uc.pt = Mount Catalog = All, !Debug, !Saved, !Skipped } Both options doesn’t work When I try a test in the terminal of the server like; echo "This is test message." | /usr/sbin/bsmtp -h localhost -f bac...@uc.pt -s "Test" gina.co...@uc.pt -d 50pwd I receive the following error: bsmtp: bsmtp.c:312-0 Debug level = 50 bsmtp: bsmtp.c:406-0 My hostname is: bacula_bp3_server bsmtp: bsmtp.c:430-0 From addr=bac...@uc.pt bsmtp: bsmtp.c:488-0 Failed to connect to mailhost localhost Could anyone help me. Gina Costa Universidade de Coimbra • Administração SGSIIC-Serviço de Gestão de Sistemas e Infraestruturas de Informação e Comunicação Divisão de Infraestruturas de TIC Rua do Arco da Traição | 3000-056 COIMBRA • PORTUGAL Tel.: +351 239 242 870 E-mail: gina.co...@uc.pt www.uc.pt/administracao Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir! This e-mail is environment friendly. Please think twice before printing it!
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users