07-15-2013
How mailx -r works?
I'm using Sun Solaris.
I used mailx -r "MyEmailId" -s "sub" "toEmailID" from my unix id and it worked.
But when i run the same script from other's unix id it works as well. mean any one in my environment can mail to other's email without my knowledge.
My questions are
- How it works and why it doesn't ask for authentication?
- Does it works for public emails (eg:gmail,yahoo etc) as well?
- Where and what one should implement security check to stop this?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Excuse me for this question really for dummies!
I would like to know how sendmail works, obviously even in few words.
If it uses a mail server or relay to send mail, if there is some check that sendmail makes to the from address and so on...
Thank you very much. (3 Replies)
Discussion started by: alzep
3 Replies
2. Shell Programming and Scripting
hello all.
I'm not asking about the algorithm - or how it goes about computing the checksum - I'm asking how it views/looks at the files it does the cksum on.
For instance:
Say you had a directory named "dir_A"
And within this directory you had some files.
So:
dir_A
- file1
-... (5 Replies)
Discussion started by: kapolani
5 Replies
3. UNIX for Dummies Questions & Answers
If I use the "Mail" link instead of the "mail" link to ../mailx I get this error.
Mail so-n-so @whatever.com
mailx: NUL changed to @
Unknown command: "postmaster"
The email still goes through but i get the error.
If I use "mail" it goes thru without the error.
Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
4. UNIX for Dummies Questions & Answers
ls displays files in tabbed output. Say a directory contains 3 files. ls will list all 3 in one line. So, I expect ls | wc -l to give 1, but it counts the nr of files and gives 3.
Can someone explain how this works? (3 Replies)
Discussion started by: krishmaths
3 Replies
5. Programming
pls explain me how this works....
DECODE (SUBSTR (field, 1, 1),'''', '''''' || field || '''','''' || field || '''')
here field is a column in an oracle table.... (7 Replies)
Discussion started by: vijay_0209
7 Replies
6. Solaris
HI,
Just another dummies questions:
How i can determine what number of inode to use when creating filesystem?
Thanks (4 Replies)
Discussion started by: lamoul
4 Replies
7. UNIX for Dummies Questions & Answers
When I try to execute script, I get message:
>aa.pl
zsh: command not found: aa.pl
but
>./aa.pl
works OK.
What to change in environment to force the former way to work?
Thank you,
Alex Z (4 Replies)
Discussion started by: zzol
4 Replies
8. Shell Programming and Scripting
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies
9. UNIX for Advanced & Expert Users
I have a program............
#include<stdio.h>
#include<unistd.h>
main()
{
if(fork == 0)
{
printf("Hi every body:p!!!!!!!!!!");
}
}
This program works with out any error. here fork is not a system call. It just act as a variable.But how it works without declaring it? What data type it... (19 Replies)
Discussion started by: carolsanjeevi
19 Replies
10. Shell Programming and Scripting
hi,
can any one explain the below command. run it and see and if you understand please tell me.
File=s1_abc.txt.xls.pdf
MOD_File=$(echo ${File%.*}_`date +%Y%m%d_%H%M%S%N`.${File##*.})
i asked somedays before and got the above code. i needed to add date time stamp just before the last... (2 Replies)
Discussion started by: Little
2 Replies
LEARN ABOUT DEBIAN
xen-list-images
XEN-LIST-IMAGES(8) Perl Programmers Reference Guide XEN-LIST-IMAGES(8)
NAME
xen-list-images - List all the created and configured Xen images.
SYNOPSIS
xen-list-image [options]
Help Options:
--help Show this scripts help information.
--manual Read this scripts manual.
--version Show the version number and exit.
Testing options:
--test Specify an alternate Xen configuration directory.
OPTIONS
--help Show the scripts help information.
--manual Read the manual.
--test This flag causes the script to load the Xen configuration files from a different directory than the default of /etc/xen.
--version Show the version number and exit.
DESCRIPTION
xen-list-images is a simple script which will display all the
Xen images which have been created.
This works by iterating over all files matching the pattern
/etc/xen/*.cfg which is what the xen-create-image script would
create.
For each instance which has been created we'll display the name,
and then either the IP address configured, or "DHCP" to denote
a dynamic host.
TODO
It should be possible to determine the disk(s) used by the images,
and then display their sizes.
AUTHORS
Steve Kemp, http://www.steve.org.uk/
StA~Xphane Jourdois
LICENSE
Copyright (c) 2005-2009 by Steve Kemp, (c) 2010 by The Xen-Tools Development Team. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the
full text of the license.
4.3.1 2012-06-30 XEN-LIST-IMAGES(8)