Re: mail command option for return address on linux
- From: Frank Slootweg <this@xxxxxxxxxxxxxxxxx>
- Date: 01 Aug 2007 10:13:48 GMT
Sam <sam@xxxxxxxxxxxxxx> wrote:
[deleted]
Prakash writes:
Hello All,
I am migrating/porting Solaris scripts to Linux Platform.
One of script uses mailx command on Solaris and we don't have mailx on
Linux.
Company policy is not to install mailx rpm on production server for
some security reason.
Your company should also have a policy of firing whoever sets such a policy,
for incompetence. Really, there is no such security reason, at all.
Perhaps someone heard of the very ancient mailx (Berkeley Mail) bug by
which you could get it to execute commands embedded in mail messages?
At the time that was, amongst others, (ab)used in News control
messages in order to try to get info from News systems for later breakin
attempts. (News admin accounts often used Berkeley Mail to mail News
control messages to the News admin.) Of course all of this is over a
decade ago.
[deleted]
Forget the mail command. Use the sendmail command, and provide whatever you
want to provide, in your From: header, and the -f option.
And there ain't no way your rocket scientists are going to remove the
sendmail command, since a lot of stuff is going to break if they do.
Does 'Linux' have the ssmtp (send-only sendmail look-alike) command by
default? If so, that might be another option.
But I agree with you, sendmail is the best option, i.e. make it a UNIX
solution instead of a Linux one. I.e. better a de facto standard than no
standard.
[deleted]
.
- References:
- mail command option for return address on linux
- From: Prakash
- mail command option for return address on linux
- Prev by Date: Email Processing Service
- Next by Date: Re: Attachments Not Always Appearing
- Previous by thread: mail command option for return address on linux
- Next by thread: Email Processing Service
- Index(es):
Relevant Pages
|
|