On Sunday 28 December 2014 17.19:43 Nico Haslberger wrote: > Hello, > can anybody provide me a turorial or doc reference how to configure bsmtp for > working with an external smtp server with authentication? > > greetings > Nico > >
There's no instruction available due to the fact that bsmtp as stated in documentation is a "simple" mail agent. So no auth or fancy things. btw you're not forced to use it, see for example in this thread there's an example of ssmtp http://bacula.10910.n7.nabble.com/Bacula-s-bsmtp-and-gmail-td39546.html [quote] The simplest solution I've found is to install the ssmtp package. This use case is quite specific, and is just what ssmtp targets: "extremely simple MTA to get mail off the system to a mail hub", and this handles gmail :) Two gmail enabling config files: cat <<EOD>/etc/ssmtp/ssmtp.conf root=$[hidden email] mailhub=smtp.gmail.com:587 rewriteDomain= hostname=$[hidden email] UseSTARTTLS=YES AuthUser=$GMAIL_USER AuthPass=$GMAIL_PSWD FromLineOverride=YES # optional EOD cat <<EOD>/etc/ssmtp/revaliases root:$[hidden email]:smtp.gmail.com:587 mv:$[hidden email]:smtp.gmail.com:587 EOD Hope this helps someone else [/end quote] There's certainly a lot of example around. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Board, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
