BackupPC-users

Re: [BackupPC-users] /bin/mail: invalid option -- t

2011-04-07 13:02:27
Subject: Re: [BackupPC-users] /bin/mail: invalid option -- t
From: Jake Wilson <jake.wilson AT answeron DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 7 Apr 2011 11:00:15 -0600
Actually I may have figured this out.  Is it because there is no -t option for /bin/mail?  Because I know that /usr/sbin/sendmail does have a -t option.  Perhaps I just need to change SendmailPath to /usr/sbin/sendmail to make this work?

Once I make this change how do I test it to make sure its working without having to wait a whole backup cycle?

Jake Wilson


On Thu, Apr 7, 2011 at 10:47 AM, Jake Wilson <jake.wilson AT answeron DOT com> wrote:
I am running BackupPC on a fresh CentOS 5.5 server.  I'm having a hard time getting BackupPC to send email alerts.  In the logs I see this:

2011-04-07 01:00:14 Finished admin1 (BackupPC_nightly 128 255)
2011-04-07 01:00:14 admin : /bin/mail: invalid option -- t
2011-04-07 01:00:14 admin : Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
2011-04-07 01:00:14 admin : [-- sendmail-options ...]
2011-04-07 01:00:14 admin : mail [-iInNv] -f [name]
2011-04-07 01:00:14 admin : mail [-iInNv] [-u user]
2011-04-07 01:00:14 Finished admin (BackupPC_nightly -m 0 127)

Any thoughts?

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>