Sponsored Content
Full Discussion: mailx query
Top Forums Shell Programming and Scripting mailx query Post 302592413 by cnraja on Monday 23rd of January 2012 08:40:08 PM
Old 01-23-2012
we are triggering from the server and we dont want it to display the domain name instead we want to display alias name and
When user reply to messages, it should not send a copy of the message to from address.
Is it possible with mailx command?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mailx

I am trying to write a shell script using the mailx command. My problem is that I want to send an email address in the CC: field. What option can I use with mailx to accomplish this. Any help would be very appreciative. (1 Reply)
Discussion started by: skammer
1 Replies

2. UNIX for Dummies Questions & Answers

mailx error message : mailx: NUL changed to @

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

3. HP-UX

mailx help

Hi, I have a shell script which has code like: cat /tmp/MAIL_PCSD | mailx -m -s " PEWA Order Acknowledgement" $M1 and M1 is nothing but this M1=`echo $x | awk ' {print $3}' ` If I pass absolute email address to $M1 it works fine. But, the thing is that it gets $M1 by reading some... (3 Replies)
Discussion started by: isingh786
3 Replies

4. Solaris

Using Mailx

I am new to Unix and i want to know when using mailx can we change the sender's name from the default one. (3 Replies)
Discussion started by: blackeyed
3 Replies

5. UNIX and Linux Applications

MailX

Hi, I am not able to send direct mails from our unix server to our lotus notes id. It was fine until we upgrade our Lotus notes server. What are the changes need to add when we upgrade Lotus notes. Please advice. It run in sh file This is the statement uuencode $RTDIR/$filename... (0 Replies)
Discussion started by: rajani_p
0 Replies

6. UNIX for Advanced & Expert Users

mailx

We are using mailx to send email alerts. On occasions, it is updating our Distribution list with the mesage content. The following is the relevant portion of the script :- MAILGROUP=`more $MDS/feeds/alerts/distribution.lst` export MAILGROUP echo " " | mailx -s "MDS Alert - Refresh Complete"... (6 Replies)
Discussion started by: Paul Byrne
6 Replies

7. Shell Programming and Scripting

add the output of a query to a variable to be used in another query

I would like to use the result of a query in another query. How do I redirect/add the output to another variable? $result = odbc_exec($connect, $query); while ($row = odbc_fetch_array($result)) { echo $row,"\n"; } odbc_close($connect); ?> This will output hostnames: host1... (0 Replies)
Discussion started by: hazno
0 Replies

8. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

9. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

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

10. Shell Programming and Scripting

Shell Script to execute Oracle query taking input from a file to form query

Hi, I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database. For instance: USER CITY --------- ---------- A CITY_A B CITY_B C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
elmalias(1)						      General Commands Manual						       elmalias(1)

NAME
elmalias - display and verify elm user and system aliases SYNOPSIS
format[alias-name-list] Remarks The former functionality of the command has been taken over by the command (see newalias(1)). DESCRIPTION
The command displays and verifies user and system aliases. The system database must have been created by the command (see newalias(1)). The user database must have been created by either the com- mand or the mail system (see elm(1)). If the same alias is in both databases, the user version is used. Missing database files are silently ignored. Each database entry can have the following fields, which are described in detail in newalias(1): alias-list A list of one or more aliases for the entry. address-list A list of one or more addresses for the entry. An address can be an alias from another entry's alias-list. comment An optional field containing information about the entry. This field is not included in outbound mail. firstname An optional field interpreted as the first name of the person or group. It is used in fullname. lastname An optional field interpreted as the last name of the person or group. It is used in fullname. fullname A combination value made up from the firstname and lastname fields, in the form: firstname lastname. recognizes three types of alias names: A database entry that has one address in address-list. assumes this address is a valid mailing address. A database entry that has two or more addresses in address-list. assumes initially that these addresses are aliases to or entries. An address in a entry or an alias in alias-name-list that is not an alias in the database. In both cases, the item is reported as both the alias name and its address. With no options or operands, displays the address-list field for each alias in the two databases. If an entry has more than one alias, the address-list field is displayed multiple times. With an alias-name-list and no options, displays the address-list field of each alias name in the list. If an alias name is not found in the databases, it is treated as without comment. Options recognizes the following options: Change the display to alias name followed by address-list field. Turn debugging on. Fully expand aliases. This option can be used only when an alias-name-list is given. If an address in a address list is an alias name, it is replaced by that alias entry. The process is recursive until the results are either or types. If a address is not an alias name, it is reported as both the alias name and the address, with type Duplicate alias names are reported only once. entries are not expanded, even if their addresses are actually aliases. Display the format string for each alias name in the file or in the alias-name-list. The following character pairs are replaced in the format by the corresponding value for each alias. The alias name. The comment field. The lastname field. The fullname value. The alias type: or The address-list field. Change the display to address-list followed by fullname, if any, in parentheses. Report an error if a name in alias-name-list does not correspond to an alias in the database. Display a message for each unknown name and exit with a nonzero status. Use the system alias database only, unless is also specified. Use the user alias database only, unless is also specified. Use a verbose output format. Change the display to alias name, followed by address-list, followed by fullname, if any, in parentheses. Use a very verbose, multiline output format with the following titles, corresponding to the format codes of the option. If a field is empty, the title is omitted. EXIT STATUS
sets the following exit status values: Normal completion. An error occurred. You may have specified: o An invalid option. o The option without an alias-name-list. o The option without a format. o The option with an unknown alias name in alias-name-list. EXAMPLES
Consider a user database that contains the following entries: Since and do not refer to alias entries, they are typed as with no options or operands produces the following output. produces the alias names, address, and full name, as follows: To expand a set of aliases and format them with field titles, use the and options, as in the following command: producing: AUTHOR
was developed by HP. FILES
User alias database data table User alias database directory table User alias database hash table User alias source text System alias database data table System alias database directory table System alias database hash table System alias source text SEE ALSO
elm(1), newalias(1). elmalias(1)
All times are GMT -4. The time now is 08:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy