Sponsored Content
Full Discussion: mailx command
Top Forums Shell Programming and Scripting mailx command Post 70456 by SSteve on Thursday 28th of April 2005 10:18:30 PM
Old 04-28-2005
Quote:
Originally Posted by sveera
omni_list is the one which contains the mailing address of the group who has to receive the mail.
Oh, of course. I missed the space after the file name. Good thing I don't make my living as a parser. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mailx Command

Hi, mailx -s "hi" -r "abc@yahoo.com" aaa@yahoo.com<<EOF Hi, ~<!uuencode a.txt a.txt EOF the above code is sending mails, but attachment is not going instead i just get like below ~<!uuencode a.txt a.txt Thanks. (3 Replies)
Discussion started by: shahnazurs
3 Replies

2. Shell Programming and Scripting

mailx command help

Dear All, I need to send a mail to a group ( the address of which is in a .profile file)..My basic mailing functionality isn't working. When i try to run mailx -s "Hello" abc@xyz.com the command does not return to the prompt an runs infinitely. Request you to help me out here along with... (3 Replies)
Discussion started by: kaushikraman
3 Replies

3. UNIX for Dummies Questions & Answers

help on mailx command

hi, i want to pass a unix variable as the subject of the mail alongwith a string. My part of code is as below.. week_end_dt=`sqlplus -s rsamart@martdev.world/rsamart<<EOF SET FEED OFF; SET TIMING OFF; SET HEADING OFF; SET PAGESIZE 500; SET LINESIZE 1000; select... (1 Reply)
Discussion started by: Jalkukdi@10
1 Replies

4. UNIX for Advanced & Expert Users

mailx command

hi, i want to pass a unix variable as the subject of the mail alongwith a string. My part of code is as below.. week_end_dt=`sqlplus -s rsamart@martdev.world/rsamart<<EOF SET FEED OFF; SET TIMING OFF; SET HEADING OFF; SET PAGESIZE 500; SET LINESIZE 1000; select... (14 Replies)
Discussion started by: Jalkukdi@10
14 Replies

5. UNIX for Dummies Questions & Answers

mailx and -s command

How does the -s command work with mailx. I know that -s is to create a symbolic link when being used with ln but i'm not sure what the command does with mailx. Anyone?:confused: (1 Reply)
Discussion started by: kjetterman
1 Replies

6. 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

7. Solaris

Mailx command

HI All, I have an unix server , where sendmail command works for sending mail. But if i use mailx command it is not working. Is there any specific settings needed for this. Kindly help. Thanks and Regards Rj (1 Reply)
Discussion started by: jegaraman
1 Replies

8. Solaris

mailx command

Dear all, Every time if i use mailx it is asking for entering the From Address. I want to set it in some place, So that it will take it by default whenever we send mails. Pl help on this. Regards JeganR (2 Replies)
Discussion started by: jegaraman
2 Replies

9. UNIX for Dummies Questions & Answers

mailx command

Hi, I am seeing that this command is sending mail even when the nawk command in untrue ( does not have any output ). I only want it to send mail, where it goes above the threshold, and has some output. nawk -F'(MOD dn="uid=)|(DEL dn="uid=)|' '/(MOD dn="uid=)|(DEL dn="uid=)/... (2 Replies)
Discussion started by: john_prince
2 Replies

10. Red Hat

Mailx command

Using RHEL 5.5 New to using 'mailx' Was trying to check if mailx is configured. mailx command gives a list of unread mails. Now I tried to send mail using this command to a local or on network machine using mailx -s "Test2" "root@<servername>" But did not receive any message. (6 Replies)
Discussion started by: ikn3
6 Replies
EXPN(1) 						      General Commands Manual							   EXPN(1)

NAME
expn - recursively expand mail aliases SYNOPSIS
expn [-a] [-v] [-w] [-d] [-1] user[@hostname] [user[@hostname]]... DESCRIPTION
expn will use the SMTP expn and vrfy commands to expand mail aliases. It will first look up the addresses you provide on the command line. If those expand into addresses on other systems, it will connect to the other systems and expand again. It will keep doing this until no further expansion is possible. OPTIONS
The default output of expn can contain many lines which are not valid email addresses. With the -aa flag, only expansions that result in legal addresses are used. Since many mailing lists have an illegal address or two, the single -a, address, flag specifies that a few ille- gal addresses can be mixed into the results. More -a flags vary the ratio. Read the source to track down the formula. With the -a option, you should be able to construct a new mailing list out of an existing one. If you wish to limit the number of levels deep that expn will recurse as it traces addresses, use the -1 option. For each -1 another level will be traversed. So, -111 will traverse no more than three levels deep. The normal mode of operation for expn is to do all of its work silently. The following options make it more verbose. It is not necessary to make it verbose to see what it is doing because as it works, it changes its argv[0] variable to reflect its current activity. To see how it is expanding things, the -v, verbose, flag will cause expn to show each address before and after translation as it works. The -w, watch, flag will cause expn to show you its conversations with the mail daemons. Finally, the -d, debug, flag will expose many of the inner workings so that it is possible to eliminate bugs. ENVIRONMENT
No environment variables are used. FILES
/tmp/expn$$ temporary file used as input to nslookup. SEE ALSO
aliases(5), sendmail(8), nslookup(8), RFC 823, and RFC 1123. BUGS
Not all mail daemons will implement expn or vrfy. It is not possible to verify addresses that are served by such daemons. When attempting to connect to a system to verify an address, expn only tries one IP address. Most mail daemons will try harder. It is assumed that you are running domain names and that the nslookup(8) program is available. If not, expn will not be able to verify many addresses. It will also pause for a long time unless you change the code where it says $have_nslookup = 1 to read $have_nslookup = 0. Lastly, expn does not handle every valid address. If you have an example, please submit a bug report. CREDITS
In 1986 or so, Jon Broome wrote a program of the same name that did about the same thing. It has since suffered bit rot and Jon Broome has dropped off the face of the earth! (Jon, if you are out there, drop me a line) AVAILABILITY
The latest version of expn is available through anonymous ftp at ftp://ftp.idiom.com/pub/muir-programs/expn. AUTHOR
David Muir Sharnoff <muir@idiom.com> 7th Edition March 11, 1993 EXPN(1)
All times are GMT -4. The time now is 04:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy