Re: [BackupPC-users] Email Notifications - Via another MTA rather than sendmail

2006-07-11 Thread Nils Breunese (Lemonbit Internet)
Ken Gregoire wrote:

 Is there a way to setup backuppc to use a different MTA (email  
 system)
 where it has to provide a url, username and password to send email
 notifications.  I don't have sendmail on the backuppc system and  
 would
 like backuppc to send email notifications via a standard email  
 system.

 what MTA do you have installed?
 btw, sendmail *is* the standard for mail systems. :)

 if you mean that you don't have an MTA installed at all; look into  
 one of
 the send-only MTAs out there, like nullmailer(+debian patches), or  
 similar
 ones (can't think of the names right now; they all suck compared to
 nullmailer once the debian patches have been added to it). do a  
 freshmeat
 search, you'll find many.

 I use qmail on fedora.  I would like to be able to use a username/ 
 password
 to send mail and I cannot find where you would enter the password in
 backuppc, or if it is possible.  Any ideas?

I use qmail on CentOS and I have no problems using the default setup.  
Qmail has a sendmail interface, so it should just work.

Nils Breunese.




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Email Notifications - Via another MTA rather than sendmail

2006-07-11 Thread ken

 Ken Gregoire wrote:

 Is there a way to setup backuppc to use a different MTA (email
 system)
 where it has to provide a url, username and password to send email
 notifications.  I don't have sendmail on the backuppc system and
 would
 like backuppc to send email notifications via a standard email
 system.

 what MTA do you have installed?
 btw, sendmail *is* the standard for mail systems. :)

 if you mean that you don't have an MTA installed at all; look into
 one of
 the send-only MTAs out there, like nullmailer(+debian patches), or
 similar
 ones (can't think of the names right now; they all suck compared to
 nullmailer once the debian patches have been added to it). do a
 freshmeat
 search, you'll find many.

 I use qmail on fedora.  I would like to be able to use a username/
 password
 to send mail and I cannot find where you would enter the password in
 backuppc, or if it is possible.  Any ideas?

 I use qmail on CentOS and I have no problems using the default setup.
 Qmail has a sendmail interface, so it should just work.

 Nils Breunese.


Where do you enter the password for the email account in backuppc?



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Email Notifications - Via another MTA rather than sendmail

2006-07-11 Thread Nils Breunese (Lemonbit Internet)
Ken Gregoire wrote:

 I use qmail on CentOS and I have no problems using the default setup.
 Qmail has a sendmail interface, so it should just work.

 Where do you enter the password for the email account in backuppc?

You don't. BackupPC just calls the sendmail binary directly. The  
default config.pl has:

$Conf{SendmailPath} = '/usr/sbin/sendmail';

You might have to alter this if your sendmail binary is in another  
location.

Nils Breunese.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Got remote protocol 757955594

2006-07-11 Thread Kai Grunau
Craig Barratt wrote:
 The decimal value 757955594 is the first four bytes of the unexpected
 text or error from the remote machine.  In hex it is 2D2D7C0A or
 --|\r.  Does your .cshrc or ssh login sequence emit this string?

 This text should appear in ascii after bad version.  I'm surprised
 to see the rest of that message is empty.
   
that's it :-)

I searched on the clients for the files which are modified at the time 
and looked for --| :
-
 find . -mtime -4 -type f -xdev | xargs  egrep \-\-
-
The file /etc/issue was found. After moving the file to /etc/issue.SAVE the
BackupPC jobs are running 

thanks a lot !
Kai



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Email Notifications - Via another MTA rather than sendmail

2006-07-11 Thread Carl Wilhelm Soderstrom
On 07/11 08:17 , ken wrote:
 I use qmail on fedora.  I would like to be able to use a username/password
 to send mail and I cannot find where you would enter the password in
 backuppc, or if it is possible.  Any ideas?

AFAICT, you're misunderstanding how mail works on Unix. 

Backuppc calls some executable program (the Mail Transport Agent, or MTA)
and hands it a big chunk of text (your message). No authentication is
necessary for this step, since it's on the local box.

The MTA then tries to deliver that message to the next machine in the SMTP
chain. This may be the destination machine (where the intended recipient's
mailbox is hosted). If that is the case, there's still no authentication
needed, since that's not part of communication between SMTP servers on the
Internet (this is why you can't easily stop spammers from bombarding you).

On the other hand, if all the machines on your network go through another
mail server (a 'smarthost'); that machine *may* have SMTP Auth turned on. In
that case, you'd need to configure your MTA (qmail in this case) to send the
username/password combination to authenticate to that server so it can send
mail.

Usually tho, the smarthost is just set up to accept mail from the client's
IP address (since it's not likely to change, and if the machine is
compromised then the username  password are available to the attacker
anyway so it really doesn't do any good). 

Does this make things a bit more clear?

Considering that qmail hasn't been updated since 1997 last I knew; it may
not be possible to set up SMTP Auth on it. (Unless someone wrote a patch).
SMTP Auth is really intended for roaming users who are trying to relay mail
through your mailserver remotely. Not for machines on your local network.

Without SMTP Auth; no password is needed to send mail. (Remember that this
was all designed back in the day when you could personally *know* all the
admins on the Internet; so they didn't think you needed authentication).

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] 'chdir failed' error using rsyncd on MacOSX

2006-07-11 Thread Harry Mangalam
Hi All,

I'm trying to set up rsyncd to work on a MacBook Pro (Tiger/10.4.7), 
rsync v 2.6.3.  I have gotten it to work fine via rsync with shared 
ssh keys on another Powerbook, but the rsyncd version is more 
attractive because of the rsyncd.secrets file (no need to set up 
another user or to require the user to allow a remote login with his 
key.  The first is too much keyboard/mouse time; the second is a 
security hole and will be actively resisted by the user base.

The client's rsyncd.conf file is:
---
auth users = wheel, backuppc
secrets file = /etc/rsyncd.secrets
strict modes = true
use chroot = no
max verbosity = 10

[etc]
/private/etc

[homes]
/Users

[preferences]
/Library/Preferences

and /etc/rsyncd.secrets file allows the backuppc user in.
On the server side, the relevant lines from the client config are:

# do these 2 actually do anything if method is rsyncd?
$Conf{BackupFilesOnly} = ['/private/etc', '/Users'];
$Conf{BackupFilesExclude} = undef;

$Conf{XferMethod} = 'rsyncd';
$Conf{XferLogLevel} = 1;
$Conf{RsyncClientPath} = '/usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host nice -n 19 
$rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host nice -n 
19 $rsyncPath $argList+';

$Conf{RsyncShareName} = 'etc', 'homes', 'preferences';
$Conf{RsyncdClientPort} = 873;
$Conf{RsyncdUserName} = 'backuppc';
$Conf{RsyncdPasswd} = 'likearollingstone'; # wheel
$Conf{RsyncdAuthRequired} = 1;
$Conf{RsyncCsumCacheVerifyProb} = 0.01;

$Conf{RsyncArgs} and $Conf{RsyncRestoreArgs} are not edited

When I try to run the backup from the server, it implies a good login 
(confirmed by the syslog) and then:
 ...
2006-07-11 10:22:44 full backup started for directory etc
2006-07-11 10:22:45 Got fatal error during xfer (chdir failed)
2006-07-11 10:22:50 Backup aborted (chdir failed)

Googling til my fingers bleed reveal little on this error.

The syslog also reveals:
Jul 11 10:22:40 bongo rsyncd[1261]: params.c:Parameter() - Ignoring 
badly formed line in configuration file: /private/etc\n
Jul 11 10:22:40 bongo rsyncd[1261]: params.c:Parameter() - Ignoring 
badly formed line in configuration file: /Users\n
Jul 11 10:22:40 bongo rsyncd[1261]: params.c:Parameter() - Ignoring 
badly formed line in configuration file: /Library/Preferences\n

I edited the files with joe - is the std newline (\n) still verboten 
on Apples?

-- 
Harry Mangalam - Research [EMAIL PROTECTED], E2148, Engineering Gateway, 
UC Irvine 92697  949 824 0084(o), 949 285 4487(c) 
[EMAIL PROTECTED]


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Email Notifications - Via another MTA rather than sendmail

2006-07-11 Thread ken

 On 07/11 08:17 , ken wrote:
 I use qmail on fedora.  I would like to be able to use a
 username/password
 to send mail and I cannot find where you would enter the password in
 backuppc, or if it is possible.  Any ideas?

 AFAICT, you're misunderstanding how mail works on Unix.

 Backuppc calls some executable program (the Mail Transport Agent, or MTA)
 and hands it a big chunk of text (your message). No authentication is
 necessary for this step, since it's on the local box.

 The MTA then tries to deliver that message to the next machine in the SMTP
 chain. This may be the destination machine (where the intended recipient's
 mailbox is hosted). If that is the case, there's still no authentication
 needed, since that's not part of communication between SMTP servers on the
 Internet (this is why you can't easily stop spammers from bombarding you).

 On the other hand, if all the machines on your network go through another
 mail server (a 'smarthost'); that machine *may* have SMTP Auth turned on.
 In
 that case, you'd need to configure your MTA (qmail in this case) to send
 the
 username/password combination to authenticate to that server so it can
 send
 mail.

 Usually tho, the smarthost is just set up to accept mail from the client's
 IP address (since it's not likely to change, and if the machine is
 compromised then the username  password are available to the attacker
 anyway so it really doesn't do any good).

 Does this make things a bit more clear?

 Considering that qmail hasn't been updated since 1997 last I knew; it may
 not be possible to set up SMTP Auth on it. (Unless someone wrote a patch).
 SMTP Auth is really intended for roaming users who are trying to relay
 mail
 through your mailserver remotely. Not for machines on your local network.

 Without SMTP Auth; no password is needed to send mail. (Remember that this
 was all designed back in the day when you could personally *know* all the
 admins on the Internet; so they didn't think you needed authentication).

 --
 Carl Soderstrom
 Systems Administrator
 Real-Time Enterprises
 www.real-time.com


Carl - Thanks for the detailed explaination, so no SMTP Athentication -
okay  - I'll see what I can work out.
Cheers!
Ken




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Restore dont work via webtool, Part 2 (Bugreport)

2006-07-11 Thread Peter Padberg
Any news in this?

Am Dienstag, den 16.05.2006, 09:45 +0200 schrieb Peter Padberg:
 Hi,
 when I try to restore with webtool, there comes a message:
 
 Restore requested to host xxx.com, backup #31, by backuppc from
 83.218.48.xxx
 Reply from server was: ok: requested restore of
 providercontrolcenter.com, but a job is currently running, so this
 request will start late
 
 But backuppc put no job into queue.
 The queue is queue emtpy.
 
 Can someone help?
 
 Viele Gruesse,
 Peter
-- 
_
Peter Padberg
Padberg-IT D-31785 Hameln
Am Schoet 3a   Germany

fon: +49-5151 60 99 70-0   [EMAIL PROTECTED]
fax: +49-5151 60 99 70-1   http://padberg-it.com
Skype: padberg-it
icq: 540954



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Unable to link errors and fix??

2006-07-11 Thread John Villalovos
Searching through the email archives it seems that it is a known issue
that BackupPC will exceed the hard link count specified as a maximum.
And then I got the impression that there is a yet as unreleased
version which fixes this.

Is it possible to get this fix?  Because I have hit 31999 hardlinks on
my system and it is failing :(

Thanks,
John


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/