This is on CentOS 4.5. I just run the command 
/usr/bin/BackupPC_sendEmail command with the following arguments and I 
get the resulting output. That is why I asked, why is BackupPC_sendEmail 
using the argument -t in mail? I have not modified the $Conf{SendmailPath}.


Nils Breunese (Lemonbit) wrote:
> Lai Chen Kang wrote:
> 
>> I tried to test the email. This is Backuppc 3.0. Below is the error I 
>> got.
>>
>> bash-3.00$ /usr/bin/BackupPC_sendEmail -u [EMAIL PROTECTED]
>> Sending test email using /bin/mail -t -f STMGSINBACKUP1
>> /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]
>>
>> Seems like mail does not take the argument -t.
>>
>> Any way to fix this?
> 
> On what OS are you? Why do you expect mail to take a -t argument? It 
> doesn't on our machines either. Did you change $Conf{SendmailPath} from 
> the default /usr/sbin/sendmail to /usr/bin/mail? If you did, I think 
> that is the problem.
> 
> Nils Breunese.
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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/

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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/

Reply via email to