Sponsored Content
Full Discussion: bourne mail script problem
Top Forums Shell Programming and Scripting bourne mail script problem Post 11774 by Cameron on Wednesday 12th of December 2001 12:41:04 AM
Old 12-12-2001
Sorry, my example may not have been entirely understandable.


3. To send a file to another user, enter:
mail fran < proposal

This command sends the contents of the file proposal to fran.

Hope that helps. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies

2. Shell Programming and Scripting

simple Bourne problem

Hi, I'm a newer for this languages, and I have a log file, which is something like this: 35.75.253.207 - - "GET /products/orgonizer/title.png HTTP/1.1" 200 1555 "-" "Mozilla 1.4" Now, I want to write a shell code to accoplish like ./XXX.sh -N n n is a number by user input, the code should... (5 Replies)
Discussion started by: pnxi
5 Replies

3. Shell Programming and Scripting

bourne script help

I need to make a small script that figures out if a filename that the user enters is a file or a directory. and if it is a directory, how many files are in it. please point me to the right direction, I am a newbie at this. (1 Reply)
Discussion started by: Heedunk
1 Replies

4. UNIX for Dummies Questions & Answers

mail script problem using cgi

dear all i've try several scripts and i think this is the simplest scripts that i can understand. please see below:- if ($num >= 4000000001) { #use CGI; #my $query = new CGI; #my $sendmail = "/usr/sbin/sendmail -t"; #my $reply_to = "bla@bla.com"; #my $subject =... (1 Reply)
Discussion started by: unknown2205
1 Replies

5. Shell Programming and Scripting

please give a bourne script to this problem

Hello all, I am new to unix and having the below problem.Any help will be appreciated. Write a Bourn shell script dTOe which takes as an input any number between 0 and 999 and prints the English value for this number. The program should display an error message when a NOT digit value entered.... (1 Reply)
Discussion started by: raj1811
1 Replies

6. Shell Programming and Scripting

Sh, Bourne Problem with getting lines in a file

This is a new exercise for me 1.) Create a bourne shell script that can accept 2 arguments/parameters. Name your script as housekeep_files.sh. 2.) The script will delete the files specified in the input file (1st parameter) and will send a notification through email (2nd parameter) the... (1 Reply)
Discussion started by: kdyzsa
1 Replies

7. Shell Programming and Scripting

if loop problem in bourne shell

how to use if-loop in bourne shell with multiple conditions like follows if then commands fi it gives me an error test: ] missing then i put if ] it gives me an error [[ not found kindly i need the syntex for the bourne shell (5 Replies)
Discussion started by: ahmad.diab
5 Replies

8. Shell Programming and Scripting

help with bourne script

Hey guys not sure why but when i execute the script i get the correct result but then it says command not found not sure why can anyone see anything wrong with my code below? I just want to print how much quota i have used in my home directory #!bin/sh `quota -v | grep ^/home | awk... (2 Replies)
Discussion started by: musicmancanora4
2 Replies

9. Shell Programming and Scripting

Bourne Shell - Problem with while loop variable scope.

Hello I am having issues with a script I'm working on developing on a Solaris machine. The script is intended to find out how many times a particular user (by given userid) has logged into the local system for more than one hour today. Here is my while loop: last $user | grep -v 'sshd'... (7 Replies)
Discussion started by: DaveRich
7 Replies

10. UNIX for Dummies Questions & Answers

bourne script problem

I've got an NTFS file system mounted on my Linux box, which means I can have multi-word directory names. I want to recurse through the directory structure copying stuff from /A to /B when it does not already exist on /B. Here is the chunk of code, and the output of a set -x run on that chunk of... (8 Replies)
Discussion started by: esmith92000
8 Replies
mlmmj-send(1)						      General Commands Manual						     mlmmj-send(1)

NAME
mlmmj-send - send mail to a mailinglist or similar SYNOPSIS
mlmmj-send [-L /path/to/list | -l listctrl] -m /path/to/mail [-a] [-D] [-F] [-h] [-o] [-r] [-R] [-s] [-T] [-V] -a: Don't archive the mail -D: Don't delete the mail after it's sent -F: What to use as MAIL FROM: -h: This help -l: List control variable. -L: Full path to list directory -m: Full path to mail file -o: Address to omit from distribution (normal mail only) -r: Relayhost IP address (defaults to 127.0.0.1) -R: What to use as Reply-To: header -s: Subscribers file name -T: What to use as RCPT TO: -V: Print version DESCRIPTION
This binary is used to send all kinds of mail to mlmmj managed mailinglists, but can potentially be used standalone for sending mails. The only option that is not self explanatory is the -l list control option: '1' means 'send a single mail' This is used together with -F and -T to send one mail to one recipient. '2' means 'mail to moderators' Used for sending mails to the moderators of a list. '3' means 'resend failed list mail' '4' means 'send to file with recipients' '5' means 'bounceprobe' '6' means 'single listmail to single recipient' BUGS
This manual page is very scarce documentation of the mlmmj-send binary. The reason for this is that it's really not supposed to be used by any human, but only supposed to be invoked from other mlmmj binaries. So in case more documentation is needed, please read the source. AUTHORS
This manual page was written by the following persons: Soren Boll Overgaard <boll@debian.org> (based on html2man output) Mads Martin Jorgensen <mmj@mmj.dk> mlmmj-send January 2010 mlmmj-send(1)
All times are GMT -4. The time now is 04:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy