On 03/21/14 07:24, Gary R. Schmidt wrote: > On 21/03/2014 6:01 AM, Erik P. Olsen wrote: > [SNIP] >> >> That was my first thought so I booted my old fedora 16 system which happen to >> send the messages correctly with exactly the same messages directive and >> there >> it works. So bsmtp IS the smtp server, I just have to find out why it won't >> connect to localhost. Maybe it's a firewall problem or the wrong port. Or >> simply >> a bug. >> > Sigh. > > The "bsmtp" program is *not* an SMTP server. > > Go RTFM - "man bsmtp". > > You need to point bsmtp at a functioning SMTP server. > > Presumably your old system had such an SMTP server, i.e. "localhost". > > Cheers, > Gary B-) >
Erik, Gary... One problem I have with bsmtp is that it is a "one shot" deal. That is to say, it tries to send the email and if it fails to connect to the MTA for any reason, that's it, the message is lost (or at least it is never re-sent) To mitigate this issue, what I typically do is install Postifix on my Bacula servers, configure Postix to listen on localhost only, and then point bsmtp at localhost. This way, it does not matter if there is an intermittent networking issue, or a problem with the mail server at the time a job finishes. The message will be delivered to the local Postix service which will queue it and I am pretty much guaranteed to receive the email when all is back to normal. P.S. In the past I had installed minimal MTAs such as nullmailer, or ssmpt and I think I had tried a couple others. I had experienced intermittent issues with those, and since Postfix is a simple, and fast MTA to install and get running (for this basic need) I have stuck with it on all of our Bacula servers. Hope this helps. -- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/ -- Not responsible for anything below this line -- ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users