Re: [BackupPC-users] Testing the mail function from BackupPC
2010-01-28 12:39:09
On Thursday 28 January 2010 15:28:38 Sorin Srbu wrote:
> >-----Original Message-----
> >From: Sorin Srbu [mailto:sorin.srbu AT orgfarm.uu DOT se]
> >Sent: Thursday, January 28, 2010 4:18 PM
> >To: 'General list for user discussion, questions and support'
> >Subject: Re: [BackupPC-users] Testing the mail function from BackupPC
> >
> >>>Did you perhaps set SendmailPath to mail instead of /usr/sbin/sendmail?
> >>>-t is a flag to sendmail that says the To:/From: headers are already in
>
> the input.
>
> >>I didn't change those paths, it's a plain vanilla install really. With
>
> that
>
> >>said, /usr/bin/mail is the preset value.
> >>
> >>Ok, I'll try sendmail instead then. Thanks!
> >>
> >>@Tony Molloy:
> >>I run BackupPC on CentOS 5.4 and used the howto available at
> >>http://wiki.centos.org/HowTos/BackupPC for setting this up. No mention of
> >>sendmail in that howto.
> >
> >Changed the path and now I don't get any error message any longer. Can't
> >tell for sure if works or not though. Am I supposed to get the testmail in
> >the inbox for the mail address listed below?
>
> Right now I feel rather like a dunce. I didn't configure sendmail... The
> below link helped though. Once I setup the smtp address, the test mail
> dropped in.
>
> http://www.cyberciti.biz/faq/linux-configure-sendmail-as-outbound-submissio
> n -mta/
>
> To my defense I must say, I've never dealt with sendmail before... This is
> a first. 8-}
>
> Anyway, seems like all (most visible things anyway) are in working order
> now.
>
> Thanks all for your help and suggestions, you've been stellar so far!
>
Just to finish off this thread I've just done an install of backuppc onto a
Centos-5.4 server.
The rpms came from the epel repo.
Sure enough the backuppc account is nologin
backuppc:x:101:105::/var/lib/BackupPC:/sbin/nologin
but the path to the mail command is sendmail
$Conf{SendmailPath} = '/usr/sbin/sendmail';
Now I'll use the wiki article to try and configure it tomorrow and let you know
how I get on. If I remember there were problems with SELinux using that
article that's why I installed my working server from source.
Regards,
Tony
--
Chief Technical Officer. Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|