Sponsored Content
Full Discussion: mailx command with headers
Operating Systems Solaris mailx command with headers Post 98456 by rgremill on Wednesday 8th of February 2006 09:59:19 AM
Old 02-08-2006
But I DID do a search. That thread wasn't helpful.

I still haven't found a solution I can use on Solaris yet. I may try to do something directly with sendmail using perl.

Any sendmail examples using perl would be a great help.

Thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Remove certain headers using mailx or sendmail

Hello, So i want to send mails in any way from a solaris 5.8 system, perhaps using mailx or sendmail. My purpose is to stay clear of systems name in head data. So i want to strip at least the "Message-Id" and the "Recieved" headers of the mail. Yet this seems to be a bit of a problem. Now i... (2 Replies)
Discussion started by: congo
2 Replies

2. Shell Programming and Scripting

Remove text between headers while leaving headers intact

Hi, I'm trying to strip all lines between two headers in a file: ### BEGIN ### Text to remove, contains all kinds of characters ... Antispyware-Downloadserver.com (Germany)=http://www.antispyware-downloadserver.c om/updates/ Antispyware-Downloadserver.com #2... (3 Replies)
Discussion started by: Trones
3 Replies

3. Shell Programming and Scripting

Mailx command

Hi, This post is regarding sending mails from Unix. How can we include "bcc" in a "mailx" command. I searched google to find out the -b option; but my man pages doesnot show that option(it throws me an error: "-b not found"). It has a "~b" option but i am not sure how to use it. Could you people... (2 Replies)
Discussion started by: Thumban
2 Replies

4. Shell Programming and Scripting

Merging of files with different headers to make combined headers file

Hi , I have a typical situation. I have 4 files and with different headers (number of headers is varible ). I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only). For example - File 1 H1|H2|H3|H4 11|12|13|14 21|22|23|23... (1 Reply)
Discussion started by: marut_ashu
1 Replies

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

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

7. UNIX for Dummies Questions & Answers

Using sed command to remove multiple instances of repeating headers in one file?

Hi, I have catenated multiple output files (from a monte carlo run) into one big output file. Each individual file has it's own two line header. So when I catenate, there are multiple two line headers (of the same wording) within the big file. How do I use the sed command to search for the... (1 Reply)
Discussion started by: rebazon
1 Replies

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

9. Shell Programming and Scripting

Faster command to remove headers for files in a directory

Good evening Im new at unix shell scripting and im planning to script a shell that removes headers for about 120 files in a directory and each file contains about 200000 lines in average. i know i will loop files to process each one and ive found in this great forum different solutions... (5 Replies)
Discussion started by: alexcol
5 Replies

10. Shell Programming and Scripting

Curl command to post headers

I am trying post SOAP header from file to curl command. The curl command is curl -vk -H "$(cat curl-test1.txt)" -X POST https://xvcfvusdgfsd.sdfjd.gf/cmsws/CMSService The contet of curl file is POST: https://cmsuat.chrysler.com/cmsusws/CMSService HTTP/1.1 SOAPAction:... (1 Reply)
Discussion started by: dineshaila
1 Replies
newinclude(1)						      General Commands Manual						     newinclude(1)

NAME
newinclude - create a binary mailing list from an :include: file SYNOPSIS
newinclude list DESCRIPTION
newinclude reads a sendmail-style :include: file, list, and converts it into a binary format in list.bin for use by fastforward. newinclude first writes the mailing list to list.tmp, and then moves it to list.bin. If there is any problem creating list.tmp, newinclude leaves list.bin alone. newinclude always creates list.bin world-readable. COMPATIBILITY WARNING: sendmail reads list directly; fastforward needs list.bin. sendmail's strategy is a disaster if you save list to disk at the same moment that sendmail reads it; the list will be truncated at a random spot, perhaps in the middle of an address. Further- more, if the system crashes while you are writing list, list could be filled with all sorts of garbage. LIST FORMAT
list may contain any number of lines; each line may contain any number of addresses or further :include: files. See newaliases(1) for details on the address format. Any line in file beginning with # is ignored. COMPATIBILITY WARNING: newinclude does not support file or program deliveries in :include: files. You can use the secure delivery mecha- nisms described in dot-qmail(5) instead. COMPATIBILITY WARNING: Versions of sendmail before V8 did not allow comments in :include: files. SEE ALSO
fastforward(1), newaliases(1), setmaillist(1), dot-qmail(5) newinclude(1)
All times are GMT -4. The time now is 02:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy