![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fetchmail: forward mail changing subject | chebarbudo | UNIX for Dummies Questions & Answers | 0 | 02-10-2009 06:53 AM |
| how to forward mail in /var/mail/username to external mail | unitipon | SUN Solaris | 2 | 05-27-2008 01:20 AM |
| mail function problem | jwholey | Shell Programming and Scripting | 4 | 05-01-2008 12:21 PM |
| How to configure mail function on Solaris | raman1605 | SUN Solaris | 2 | 03-20-2008 04:58 AM |
| Changing userID and Changing group and GID | deal732 | Shell Programming and Scripting | 2 | 04-18-2007 11:09 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Changing Dispatcher's name in Mail-function
Hi, currently I am using following command to send a mail: Code:
mail -s"Query result" $TO $CC < input_file It works, but I want to change the dispatcher's name / sender's name. I tried to find something in "man mail", but I didn't find anything. can someone help me? THX ---------- Post updated at 09:01 AM ---------- Previous update was at 06:36 AM ---------- I tried the option -r and by this it send the mail with new mail address: Code:
mail -r 'NewDispatcher' -s"Overview result" $TO $CC < mail_tmp.$$ sends a mail with Code:
NewDispatcher@somedomain.com But how can I show an alias for that new dispatcher? Do I need to change a file containing the aliases? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|