[Box Backup] notifyadmin.*

scartomail boxbackup@boxbackup.org
Mon, 31 Aug 2009 11:14:55 -0700 (PDT)


Hi Chris,

Thanks for the explanation, that was vey helpfull.

You wrote:
What you might be able to do, depending on your mail server, is to use your=
 Box Backup client certificate as authentication to connect to the mail ser=
ver, as well as the BB server.

What kind of mailserver do you mean.
Are there any particular mailprograms on linux(server side) who can do that=
?

I gues for now the most information on the server side will be in the loggi=
ng.=20
Is it possible for the BB-client to have any information put into the log o=
f the BB-server?
Than a script could collect data from it and send mails(or one) from a sing=
le point.
Or posibly get it on a website that shows the status of each client.
I don't think that is giving away anything about the data that is being bac=
ked up and would be an nice feature on controling the backup status.

Well maybe something for the "wishlist" :-)

Anyway thanks again for all the information!

Rgds Edo



--- On Mon, 8/31/09, Chris Wilson <chris@qwirx.com> wrote:

> From: Chris Wilson <chris@qwirx.com>
> Subject: Re: [Box Backup] notifyadmin.*
> To: boxbackup@boxbackup.org
> Date: Monday, August 31, 2009, 12:18 PM
> On Mon, 31 Aug 2009, scartomail
> wrote:
>=20
> > I was checking out the notifyadmin.* file. It seems it
> not possible to add a password for the mailserver.
>=20
> Rather, nobody has written code to support it yet. It may
> be possible using Microsoft's SMTP component on Windows, see
> here:
>=20
> =A0 http://kb.seekdotnet.com/ViewArticle/152data.aspx
>=20
> CDO.Message also supports SMTP Authentication, so if the
> client is part of a domain, and Box Backup runs as a domain
> user, it should be able to authenticate to the mail server
> as the domain user.
>=20
> Local sendmail on Unix should not require a password
> anyway.
>=20
> > It could ofcourse be added if I program it that way
> but passwords in plain text files is never a good idea.
> >=20
> > Unfortunatly mailserver(allmost all of them) want
> passwords if mail is send(spam protection).
>=20
> Local mailservers should accept inbound mail without a
> password without problems. I.e. you can send mail to
> yourself from BB, but not to third parties.
>=20
> > Because BB uses OpenSSL, I was wondering is there a
> way that I could setup a mailserver on the BB server and use
> that as the mailserver to send my notify mails to? Even if
> the client is not on the local subnet, but somewhere behind
> firewalls and routers.
>=20
> The notify script is not part of BB, just called by it. So
> it makes no difference whether BB uses openssl or not.
>=20
> > In other wordsm is there an VPN between the client and
> server when the notifyadmin.* script kicks in? Or is there a
> different solution that don't know of?
>=20
> No, there is no VPN, there may or may not be an SSL
> connection but this is not a VPN and can only be used for
> the Box Backup protocol, not for sending email (at the
> moment). In any case it might not be up, for example the
> script may be called to report that the backup failed
> because the connection was terminated. In this case there is
> of course no connection by the time the script is called.
>=20
> What you might be able to do, depending on your mail
> server, is to use your Box Backup client certificate as
> authentication to connect to the mail server, as well as the
> BB server. Unfortunately, CDO.Message does not support this
> method of client authentication, so you may need to use
> another component.
>=20
> Cheers, Chris.
> -- _____ __=A0 =A0=A0=A0_
> \=A0 __/ / ,__(_)_=A0 | Chris Wilson <0000 at
> qwirx.com> - Cambs UK |
> / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL
> Developer |
> \__/_/_/_//_/___/ | We are GNU : free your mind & your
> software |
> _______________________________________________
> boxbackup mailing list
> boxbackup@boxbackup.org
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
> =0A=0A=0A