I have tried "-r" but still not work.
 

     Tim Evans <tkev...@tkevans.com> 於 2015/5/19 (週二) 10:14 AM 寫道﹕
   

 On 05/19/2015 10:07 AM, mcclnx mcc wrote:
> We have CEntOS 6.3 on DELL server.  WE try to use following mail command but 
> failed.  This command perfect work on CentOS 5.X.
> $ mail -s "test..." us...@sun.com -- -f nore...@app.md.gov
> test
> .
> EOT
> $ /home/app/oracle/dead.letter... Saved message in 
> /home/app/oracle/dead.letter
>
> problem come from "-- -f nore...@app.md.gov".  But it work correctly on 
> CentOS 5.x.
> Anyone know how to fix it?

CentOS 6 man page says '-f' means "mail the contents of the file."  YOu 
probably want '-r'


-- 
Tim Evans            |5 Chestnut Court
443-394-3864            |Owings Mills, MD 21117
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to