>-----Original Message----- >From: Les Mikesell [mailto:[email protected]] >Sent: Thursday, January 28, 2010 2:38 PM >To: [email protected]; General list for user discussion, questions and >support >Subject: Re: [BackupPC-users] Testing the mail function from BackupPC > >Sorin Srbu wrote: >> >> The problem *now* is that /bin/mail doesn't understand the "-t" switch. As I >> mentioned, I can't find anything about this t parameter in man mail, but in >> the /usr/bin/BackupPC_SendEmail script the t parameter is mentioned as >> something that " -t display the emails that would be sent, without sending >> them". >> >> To me this is rather cryptic, and I don't quite understand the why's, what's >> and where's of this alluring "-t" and how I fix this. > >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. -- /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 [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
