> Since the move to gmail I have not been able to get the bsmtp configuration to
> work. I have tried to use gmail but it requires tls.

> Jul 20 10:26:59 distress bacula-dir: 20-Jul 10:26 Message delivery ERROR: Mail
> prog: bsmtp: bsmtp.c:145 Fatal malformed reply from smtp.googlemail.com : 530
> 5.7
> .0 Must issue a STARTTLS command first. b9sm14093516ioj.6 - gsmtp

It's pretty easy to set Postfix to use TLS: 
http://bacula.us/authenticated-mail-sending/ 

> So, I have configured postfix/cyrus on the backup server just to send email. 
> The
> problem I get from bsmtp now is that it can not connect to the mail server.

> [root@kilchis bin]# /usr/bacula/bin/bsmtp -d 25 -h kilchis.server.com -f
> \"\(Bacula\) \< no-re...@edt.com \>\" -s \"Bacula daemon message\"
> r...@server.com "

If you pretend to use postfix in this machine as your mail relay service, -h 
(mail server address) should be localhost. 

> test message
> "
> bsmtp: bsmtp.c:338-0 Debug level = 25
> bsmtp: bsmtp.c:346-0 host= kilchis.server.com
> bsmtp: bsmtp.c:356-0 subject="Bacula
> bsmtp: bsmtp.c:432-0 My hostname is: kilchis
> bsmtp: bsmtp.c:456-0 From addr="(Bacula)
> bsmtp: bsmtp.c:514-0 Failed to connect to mailhost kilchis.server.com

> I can send mail from the command prompt and it works just fine.

> What am I missing?

Regards, 
=========================================================================== 
Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified 
Administrator II 
Do you need Bacula training? 
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-list 
+55 61 8268-4220 
Site: http://bacula.us FB: heitor.faria 
=========================================================================== 
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to