Sponsored Content
Full Discussion: using sendmail in ksh
Top Forums Shell Programming and Scripting using sendmail in ksh Post 302103984 by reborg on Monday 22nd of January 2007 05:56:17 PM
Old 01-22-2007
or without the UUOC and UUOL

Code:
for file in /temp/*; do
   sendmail -t < $file
done

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sendmail via KSH.

Hi to all! I have the necessity to handle errors in my ksh script sending errors via e-mail. Do you have any idea about this? More exactly I wish optimize this situation using an external distribution list of all internet address mail. Many thanks in advance for your kind cooperation. ... (1 Reply)
Discussion started by: gio123bg
1 Replies

2. Shell Programming and Scripting

import var and function from ksh script to another ksh script

Ih all, i have multiples ksh scripts for crontab's unix jobs they all have same variables declarations and some similar functions i would have a only single script file to declare my variables, like: var1= "aaa" var2= "bbb" var3= "ccc" ... function ab { ...} function bc { ... }... (2 Replies)
Discussion started by: wolfhurt
2 Replies

3. Red Hat

sendmail help

Dear All how the root user i.e root@localhos.localdomain can be masqueraded in sendmail i want to masquerade the above to say test@test.com Regards and thanks in advance (3 Replies)
Discussion started by: surfer24
3 Replies

4. Shell Programming and Scripting

KSH script to run other ksh scripts and output it to a file and/or email

Hi I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email. For example ------- Script ABC ------- a.ksh b.ksh c.ksh I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies

5. UNIX for Dummies Questions & Answers

Difference Between executing llike ./myscript.ksh and . ./myscript.ksh

Hi , What is the diffence between executing the script like ./myscript.ksh . ./myscript.ksh I have found 2 difference but could not find the reason 1. If i export a variable in myscript.ksh and execute it like . ./myscript.ksh the i can access the other scripts that are present in... (5 Replies)
Discussion started by: max_hammer
5 Replies

6. Shell Programming and Scripting

different behaviour for ksh and ksh -x

I'm getting different behaviour when executing below script in debug option. $ cat ss.ksh ff=$(pwd) echo " ff : $ff" $ ksh ss.ksh ff : /tmp $ ksh -x ss.ksh + + pwd ff= + echo ff : ff : I was getting this behaviour in my actuall script i'm able to reproduce this in simple script... (4 Replies)
Discussion started by: luckybalaji
4 Replies

7. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

8. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

9. Red Hat

Need help on sendmail

my requirement is user should be able put username@particular domain in from address, if he is adding anything in from address,it should not allow to send the mail. there should be restriction on from address. (2 Replies)
Discussion started by: manoj.solaris
2 Replies

10. Shell Programming and Scripting

Sending mail with attachment(image) using sendmail in Linux(ksh)

Hi guys, I am trying to send a mail with below command which is working fine. $FilePath_mail have To,From and other information along with mail body which is in HTML format. I want to have image(logo) in the body. So just wanted to send it as an an attachment. /usr/sbin/sendmail -t <... (1 Reply)
Discussion started by: balakrishnaps
1 Replies
GPG-MAILKEYS(1) 					      General Commands Manual						   GPG-MAILKEYS(1)

NAME
gpg-mailkeys - sends emails containing keys to their owners SYNOPSIS
gpg-mailkeys id... DESCRIPTION
gpg-mailkeys sends the owners of the keys listed on the command line a mail each, containing their public key. After signing, you can use this tool to send everyone the new signatures they just got. If you're interested in encrypting the signature before it's sent, in order to verify that the associated address actually belongs to the key owner, you should check out caff OPTIONS
None ENVIRONMENT
NAME Set the name to use when sending messages EMAIL Set the email address to use when sending messages SUBJECT Set the subject of the messages you send TEXT Set the body text of the messages SENDMAIL_ARGS Set arguments to pass to /usr/sbin/sendmail. This can be useful to set credentials in order to authenticate to an smtp server when using ssmtp for example. FILES
The behavior of gpg-mailkeys can be updated through some files available in the user home directory. Thus, ~/.gpg-mailkeysrc allows the user to overwrite the default value for the above environment variables, and any text in ~/.signature will be appended to the end of the body text of the message. SEE ALSO
gpg(1),caff(1) AUTHOR
This manual page was written by Simon Richter <sjr@debian.org>. Nov 23, 2010 GPG-MAILKEYS(1)
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy