The easiest way to resolve that is to run postfix (or the MTA of your choice) on the local machine and have it configured to forward mail to your mail gateway. Then bacula (or anything else that needs to send mail) just sends it to the local MTA and it handles everything from there. Retries, routing, failover, etc can be implemented in the MTA.
Generally I consider this to be a good practice; let individual applications have simple mail code that just sends to a local MTA and leave all the complex stuff - TLS, authenticated sending, MX lookups, transport tables, queuing, etc to software that is purpose-written for that. Bryn On 2015-05-28 02:01 AM, Kern Sibbald wrote: > Hello, > > No, it does not retry. > > Best regards, > Kern > > > On 28.05.2015 09:11, Silver Salonen wrote: >> Hi. >> >> Does anyone know what does bsmtp do when the SMTP server is eg. out of >> disk space and sending of e-mail fails? Does it retry after some time? >> >> -- >> Silver >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > > ------------------------------------------------------------------------------ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users