mcclnx mcc
2015-May-19 14:07 UTC
[CentOS] mail with chnage "from address" not work on CentOS 6
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..." user1 at sun.com -- -f NoReply at App.MD.gov test . EOT $ /home/app/oracle/dead.letter... Saved message in /home/app/oracle/dead.letter problem come from "-- -f NoReply at App.MD.gov".? But it work correctly on CentOS 5.x. Anyone know how to fix it? Thanks
Tim Evans
2015-May-19 14:13 UTC
[CentOS] mail with chnage "from address" not work on CentOS 6
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..." user1 at sun.com -- -f NoReply at App.MD.gov > test > . > EOT > $ /home/app/oracle/dead.letter... Saved message in /home/app/oracle/dead.letter > > problem come from "-- -f NoReply at 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
m.roth at 5-cent.us
2015-May-19 14:34 UTC
[CentOS] mail with chnage "from address" not work on CentOS 6
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..." user1 at sun.com -- -f NoReply at App.MD.gov > test > . > EOT > $ /home/app/oracle/dead.letter... Saved message in > /home/app/oracle/dead.letter > > problem come from "-- -f NoReply at App.MD.gov".? But it work correctly on > CentOS 5.x. > Anyone know how to fix it? > ThanksA couple of unrelated questions: 1. Why 6.3 - why not upgrade to 6.6, with all the security and bugfixes. 2. On a more personal and professional note: you're email is from Taiwan. Why are you sending osmething from some app to the government of my state, Maryland, in the US? mark
mcclnx mcc
2015-May-19 14:34 UTC
[CentOS] mail with chnage "from address" not work on CentOS 6
I have tried "-r" but still not work. Tim Evans <tkevans at 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..." user1 at sun.com -- -f NoReply at App.MD.gov > test > . > EOT > $ /home/app/oracle/dead.letter... Saved message in /home/app/oracle/dead.letter > > problem come from "-- -f NoReply at 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 at centos.org http://lists.centos.org/mailman/listinfo/centos