BackupPC-users

Re: [BackupPC-users] Mail problem with BPC

2010-09-23 08:40:39
Subject: Re: [BackupPC-users] Mail problem with BPC
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 23 Sep 2010 07:37:53 -0500
On 9/23/10 1:49 AM, Sorin Srbu wrote:
>> -----Original Message-----
>> From: Les Mikesell [mailto:lesmikesell AT gmail DOT com]
>> Sent: Wednesday, September 22, 2010 4:33 PM
>> To: backuppc-users AT lists.sourceforge DOT net
>> Subject: Re: [BackupPC-users] Mail problem with BPC
>>
>>> Getting the below error in my BPC logs, but am not quite sure where to
> start
>>> look for the errant "t". The path to mail is correct, it's just that it
>>> seems an option "t" is added to the mail command.
>>>
>>> 2010-09-22 03:31:33 BackupPC_nightly now running BackupPC_sendEmail
>>> 2010-09-22 03:31:35  admin : /bin/mail: invalid option -- t
>>> 2010-09-22 03:31:35  admin : Usage: mail [-iInv] [-s subject] [-c
> cc-addr]
>>> [-b bcc-addr] to-addr ...
>>> 2010-09-22 03:31:35  admin :             [-- sendmail-options ...]
>>> 2010-09-22 03:31:35  admin :        mail [-iInNv] -f [name]
>>> 2010-09-22 03:31:35  admin :        mail [-iInNv] [-u user]
>>>
>>> Thanks for any help or hints.
>>
>> The -t option is for sendmail to tell it the To: address is already in
>> the headers. You need to use a sendmail-compatible program in
>> $Conf{SendmailPath}.  Postfix and other mailers generally supply one if
>> you don't run sendmail.
>
> Thanks for the reply.
>
> I just checked sendmail on the BPC-server; it's installed and the daemon is
> on and it is running. I'm running BPC on CentOS v5.5-i386 if that is of any
> consequence.

And did you change  $Conf{SendmailPath} to use it?  I'd expect the default to 
be 
/usr/bin/sendmail in a packaged install.

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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>