01-22-2008
I'm looking at FreeBSD 6.0, mailx doesn't have such option, for return address, nor anything similar.
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
We are porting our application from 32bit to 64bit.
We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings.
But we are not getting any porting warninings
WE are using CC 5.5 compiler on sparc-solaris m/c.
Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies
2. Shell Programming and Scripting
Hi,
I am sending mail inside my script based on various conditions.
Here is the problem,
when there are more than one condion at a time, the mailx adds the messages into one ( at the time of the second mail)
example:
inner_fn ()
{
if ; then
echo "inner function mail" | mailx... (3 Replies)
Discussion started by: shellwell
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I was trying to install from source USB_ModeSwitch on my Mac. I have always had success with the basic ./configure, make, make install commands in terminal so don't know how, why or what.
The issue I came across is that the makefile.conf uses the -D flag while installing and on UNIX... (0 Replies)
Discussion started by: jprokos
0 Replies
4. AIX
Hi all,
We dont have access to aix source code and i have a doubt.
The flag SC_NO_RESERVE, is it got to do anything with the failover?
If the flag is set the paths are going to failed state. If flag is not set everything comes up fine after failover.
Thanks in advance for helping
... (2 Replies)
Discussion started by: gnakul
2 Replies
5. Shell Programming and Scripting
Hi guys
I am trying to send an email using mailx function and want the message body to appear on different lines.
My code is :
WT=`echo "Tapes are : $x Holder are : $y" `
echo $WT|mailx -s "Alert" xyx@abc.com
I want to receive the email like this:
Tapes are :2
Holders are... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
6. UNIX for Dummies Questions & Answers
Hi.
I'm trying to install VMWare Workstation to run a virtual machine on my Mac OS, but running the bundle from bash(xterm)
sh VMware-workstation-Full-11.0.0-2305329.x86_64.bundle
(as suggested in install guide)
comes up with error:stat: illegal option -- -
usage: stat
Digging... (5 Replies)
Discussion started by: defeated
5 Replies
7. Shell Programming and Scripting
Hello,
I have a file temp.txt with the below contents :
Sep 9 03:04:51 adcsdp01 MAPDR2_00: Unable to open trace file adpstartarv.log. (Error 110 Resource temporarily unavailable)
Sep 9 03:05:35 adcsdp01 MAPDR2_00: SAP Service ADPMR2_00 successfully started.
Sep 9 03:04:51 adcsdp01... (7 Replies)
Discussion started by: rahul2662
7 Replies
8. Shell Programming and Scripting
Hi All,
Im facing a problem with sending tar file via mailx command. Your help would be much appreciated.
Im trying to tar a set of CSV files in a folder using the below command
tar cvf Report.tar.gz *_03172016.CSV
and sending this tar file using mailx command as mentioned below
... (2 Replies)
Discussion started by: anijan
2 Replies
9. Shell Programming and Scripting
Hi,
I am trying to send an email using mailx command in Linux terminal. Though I give invalid address it is giving response as Recipient ok and sent message. My command is here. Not sure what is wrong. Can anyone please assist?
echo -e 'New User'| mailx -v -s 'New User' y@gggg.com
... (1 Reply)
Discussion started by: yuvi
1 Replies
10. Shell Programming and Scripting
Hello,
I am facing an issue with email in Linux. I am using mailx command to send email.
When I give invalid domain address then it is taking both sender and recipient as sender email and trying to send email.
Below is my command
echo -e "${EMAIL_TEXT}" | mailx -v -s "${SUBJECT}" -r... (5 Replies)
Discussion started by: yuvi
5 Replies
aliases(5) File Formats Manual aliases(5)
NAME
aliases - aliases file for sendmail
SYNOPSIS
DESCRIPTION
The command (which is the same as see sendmail(1M)) builds the sendmail alias database from a text file. The default text file is Local
addresses (local user names) are looked up in the alias database and expanded as necessary, unless the user name is preceded by a backslash
When the aliases file contains multiple entries for a given alias, only the last entry is used. Except when the processing option (the
send to me option) is set in the command or in the configuration file, the sender is not included in any alias expansions. For example, if
sends a message to and the expansion of includes the message is not delivered to
Each line of the alias text file must be of the form:
Mailing lists can be continued onto multiple lines. Each continuation line must begin with white space. Lines beginning with # are com-
ments.
A mailing-list is a comma-separated list of one or more of the following:
user-name Local user names occurring in alias expansions will themselves be looked up in the alias database unless
they are preceded by backslash
remote-address The remote address syntax understood by is configured in the configuration file, and typically includes the
RFC-822-style and the UUCP-style
filename This must be an absolute path name. appends a message to the file only if the directory in which it
resides is readable and searchable by all, and only if the file already exists, is not executable, and is
writable by all.
pipes the message as standard input to the specified command.
If command-line contains blanks, it must be enclosed in quotation marks (). For example,
reads filename for a list of recipient addresses and forwards the message to each. For example, an alias such
as:
would read for the list of addresses making up the group.
If a file named exists in a user's home directory and is owned by the user, redirects mail for that user to the list of addresses in the
file.
An address in a or file can be anything that can appear as a mailing-list in the alias text file.
can run programs or write to files using file. This is controlled by the file. If the owner of the file lacks a valid shell as listed in
file, the execution of such programs will be disallowed. The user can still execute such programs by placing the special string in the
file.
The alias database is examined before a recipient's file is examined. After aliasing has been done, local and valid recipients who have a
file in their home directory will have messages forwarded to the list of users defined in that file.
Aliasing occurs only on local names. Loops can not occur, since no message will be sent to any person more than once.
Aliases defined in will NOT be expanded in headers from (see mailx(1)), but WILL be visible over networks and in headers from (see
mail(1)).
is only the raw data file. The actual aliasing information is placed into a binary format in the file using (see newaliases(1M)).
A command should be executed each time the file is changed in order for the change to take effect. Note that the NIS alias maps are gener-
ated by using which leaves and in the directory.
AUTHOR
was developed by the University of California, Berkeley, and originally appeared in 4.0BSD.
FILES
User's mail forwarding file
raw data file for alias names
database of alias names
SEE ALSO
mail(1), mailx(1), makemap(1M), newaliases(1M), sendmail(1M).
aliases(5)