nail set header


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting nail set header
# 1  
Old 11-02-2009
Question nail set header

Hi all.

I am kind a new in Linux, so please forgive me if some statements will be dumb.
So for some unknown reason server I am working on is using nail command instead of mail and mailx. I have googled around and fined out that it is possible to set mail header using command mail and option -a. But for nail option -a is attaching files. I tried to read nail manual (over 2000 lines), but I haven't found any alternative way to set headder.
If any body knows how to set header using linux mail client - nail, I would be very greatful.

I am using openSUSE 2.6.16.46-0.12-smp x86_64
version of nail: nail 11.25 7/29/05

Thanks in advance
Ricardas
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find header in a text file and prepend it to all lines until another header is found

I've been struggling with this one for quite a while and cannot seem to find a solution for this find/replace scenario. Perhaps I'm getting rusty. I have a file that contains a number of metrics (exactly 3 fields per line) from a few appliances that are collected in parallel. To identify the... (3 Replies)
Discussion started by: verdepollo
3 Replies

2. UNIX for Dummies Questions & Answers

Nail command error

Hello all. I am currently using Red Hat Enterprise Linux Server release 5.8 (Tikanga). I have multiple users on this system and intend to use nail command to send out emails. When I enter the command: nail <some-email-address> its accepts the command and sends out an email. But when I... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

3. Shell Programming and Scripting

HTML + Nail Command

Hello all I am trying to send an email to my Outlook from a Solaris 10 machine using a Nail command. The email is of HTML type but when I receive it in outlook, its in simple text format showing HTML tags as shown below: Command I am using: cat body.lst | /opt/nail-11.25/bin/nail -r... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

4. Shell Programming and Scripting

awk : Filter a set of data to parse header line and last field of multiple same match.

Hi Experts, I have a data with multiple entry , I want to filter PKG= & the last column "00060110" or "00088150" in the output file: ############################################################################################### PKG= P8SDB :: VGS = vgP8SOra vgP8SDB1 vgP8S001... (5 Replies)
Discussion started by: rveri
5 Replies

5. UNIX for Dummies Questions & Answers

Merge all csv files in one folder considering only 1 header row and ignoring header of all others

Friends, I need help with the following in UNIX. Merge all csv files in one folder considering only 1 header row and ignoring header of all other files. FYI - All files are in same format and contains same headers. Thank you (4 Replies)
Discussion started by: Shiny_Roy
4 Replies

6. UNIX for Dummies Questions & Answers

problem with character @ inside username to use pop3 with nail

Hi: I am trying to read mails using pop3 protocol with the nail client. I have configurated the following files: .mailrc set NAIL_EXTRA_RC=~/.nailrc .nailrc shortcut myisp pop3://developers@afinformatica.com@mail.afinformatica.com set... (2 Replies)
Discussion started by: chemi
2 Replies
Login or Register to Ask a Question
fastmail(1)						      General Commands Manual						       fastmail(1)

NAME
fastmail - quick batch mail interface SYNOPSIS
bcc-list] cc-list] comments] from-name] from-addr] in-reply-to] reply-to] references] subject] filename address-list DESCRIPTION
The command is a simple interface to the mail system that allows you to send a message without the overhead of an interactive mailer. It is particularly efficient in batch-processing mail to very large groups of people. All addresses should be full e-mail addresses, aliases in the file, or local login names. Options recognizes the following options: Include a header entry. Send blind carbon copies to the comma-separated list of addresses in bcc-list. Include a header entry. Send carbon copies to the comma-separated list of addresses in cc-list. Include a header entry with the string value comments. Debug. Display information on processing steps. Replace the user name in the header entry with from-name. If the user is and the user name is then the default line is: The option changes it to: Replace the address in the header entry with from-addr. In the example above, changes the original entry to Include the header entry with the string value in-reply-to. This is usually used to identify a message that you are replying to. Include the header entry with the single address given in replyto. This is the address where replies will usually be sent, instead of to the address given in the header entry, very common with mailing lists. Include a header entry containing the string value references. Include a header entry containing the value subject. If this option is omitted, the message is sent without a subject entry. Operands recognizes the following operands: address-list A list of one or more blank-separated addresses for the header line. These are the principal recipients of the mes- sage. filename Either the name of a file containing the message, or a dash to read from standard input. EXAMPLES
A Fully Specified Command This command has every option specified. The online execution displays the following debug messages: The received message has the following relevant header entries: The header entry is not transmitted. A Batch Process Suppose you are user on machine and you have a shell script named that contains the following lines: The command: would mail a copy of the file to and staggered ten seconds apart. would also silently receive a copy of the first message in the mail. Each resultant message would include the header lines: FILES
aliases file. Mail transport agent. Temporary file. AUTHOR
was developed by HP. SEE ALSO
elm(1), sendmail(1M). RFC 822 "Standard for the Format of Internet Text Messages" fastmail(1)