>-----Original Message----- >From: Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] >Sent: Thursday, January 28, 2010 12:20 PM >To: 'General list for user discussion, questions and support' >Subject: Re: [BackupPC-users] Testing the mail function from BackupPC > >>-----Original Message----- >>From: Pascal Bourdais [mailto:pbourd...@infagri.fr] >>Sent: Thursday, January 28, 2010 12:04 PM >>To: backuppc-users@lists.sourceforge.net >>Subject: Re: [BackupPC-users] Testing the mail function from BackupPC >> >>su - backuppc > >Already tried that, same thing happens: > >r...@mach012 ~/ [0]# su - backuppc >r...@mach012 ~/ [0]# /usr/bin/BackupPC_sendEmail -u sorin.s...@orgfarm.uu.se >/usr/bin/BackupPC_sendEmail: Wrong user: my userid is 0, instead of 150 >(backuppc) >Please su backuppc first >BackupPC::Lib->new failed >r...@mach012 ~/ [0]#
Did some thinking and got it working, sort of... r...@mach012 ~/ [0]# su -s /bin/bash - backuppc backu...@mach012 ~/ [0]$ whoami backuppc backu...@mach012 ~/ [0]$ /usr/bin/BackupPC_sendEmail -u sorin.s...@orgfarm.uu.se Sending test email using /bin/mail -t -f sorin.s...@orgfarm.uu.se /bin/mail: invalid option -- t Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ... [-- sendmail-options ...] mail [-iInNv] -f [name] mail [-iInNv] [-u user] backu...@mach012 ~/ [0]$ Now what? I don't see any "t" mentioned in man mail... Or am I getting slightly blind here? 8-S -- /Sorin
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/