06-26-2010
Understood. In this day and age one has to be careful, right?
OS=Solaris10
Sendmail V8.13.6
This is actually a second part of a script that sends backup tarballs every day to people in our group. The first part of the script does an rsync of the developers directory and creates a tarball. The script should email those tarballs to the developers to keep a copy for themselves.
Any suggestions will be appreciated.
Thanks
CubeFeed
Last edited by Scott; 06-27-2010 at 06:34 AM..
Reason: Removed link again...
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The following is an extract from one of my Shell Scripts which uses uuencode and mailx to send an email with multiple attachements:
uuencode $LOG_REPORT $(basename $LOG_REPORT)
uuencode $HTML_FILE $(basename $HTML_FILE )
) | if
then mailx -b "$COPY_TO" -s "$SUBJECT" -r "$MAIL_FROM"... (2 Replies)
Discussion started by: suthera
2 Replies
2. Shell Programming and Scripting
Hi everyone,
I'm writing a script that connect to telnet and write some email taking the RCPT from a file. My problem is the fact I'm not able to put all the addresses I have in the file as subject for the "RCPT TO:":confused:...
Can anyone please help me?
Thanks
ps: I wrote this right... (7 Replies)
Discussion started by: t_waspy
7 Replies
3. UNIX for Advanced & Expert Users
Hi Gurus,
I have been searching for this around, but sendmail seems complicated and not sure if "mail" command would do, since all what I need to send internal emails from my solaris 10 box to our exchange server. Would the mailx or mail command do ?
I tried the :
# mailx -s test... (2 Replies)
Discussion started by: aladdin
2 Replies
4. Shell Programming and Scripting
I wrote a shell script, the result to be Emailed.
So I used mailx command in my Script. But the mail was going to Junk folder. Is there any troubleshoot for this?
the mail was coming as username@hostname.com (3 Replies)
Discussion started by: karumudi7
3 Replies
5. Solaris
Hi Team,
I want to use "Courier New" fonts while sending emails using mailx command from solaris command prompt.
Because my SQL output is not printing in correct format in the email.
Please assist. Let me know for any details.
Thanks, (1 Reply)
Discussion started by: Mukharam Khan
1 Replies
6. Red Hat
Hi,
I am in process of setting up a SMTP server on RHEL 6 using Postfix.
I am stuck at one point so any help would be appreciated.
I have configured my xsender to use this new SMTP server as its mail server.
If I send any emails addressed TO example.com the SMTP server should use the... (0 Replies)
Discussion started by: max29583
0 Replies
7. Shell Programming and Scripting
Hello,
I am able to write some simple scripts in linux but this time it seems a little bit hard for me.
Objective: Script will read Database.txt file and will submit separate emails to multiple persons.
Database.txt
Elvis-Presley user_ssh1 ##20140403 firstperson@gmail.com
Julia-Roberts... (3 Replies)
Discussion started by: baris35
3 Replies
8. Shell Programming and Scripting
Hello,
I have currently coded a bash script below in which it does the following:
# Archives compressed file from another location.
Basically it moves *.gz files to another location.
The script also sends an email whenever a new compressed file is placed. This is the issue that i... (5 Replies)
Discussion started by: Wizard_1979
5 Replies
9. Shell Programming and Scripting
Hi All,
I want to send each file to each email id as below.
Instead of writing saparate 10 mail commands
can we do it in a simple step.
file1.csv to raghu.s@hps.com
file2.csv to kiran.m@hps.com
file3.csv to kenni.d@hps.com
file4.csv to rani.d@hps.com
file5.csv to sandya.s@hps.com... (2 Replies)
Discussion started by: ROCK_PLSQL
2 Replies
LEARN ABOUT LINUX
motd.tail
MOTD.TAIL(5) Debian Administrator's Manual MOTD.TAIL(5)
NAME
motd.tail - Template for building the system message of the day
DESCRIPTION
On Debian systems, the system message of the day is rebuilt at each startup, in order to display an accurate information. /etc/motd.tail is
the file to edit permanent changes to the message of the day.
OVERVIEW
The initiation script /etc/init.d/bootmisc.sh prepends a line containing information about the system to /etc/motd.tail and stores the
resulting file in /var/run/motd. /etc/motd is a symbolic link to /var/run/motd. This is done to prevent changes to /etc as the system can
not assume /etc to be writable.
Changes to /etc/motd effectively end up in a file under /var/run which will be regenerated upon reboot.
A symbolic link to a different file, such as /etc/motd.static disables this behaviour.
FILES
/etc/init.d/bootmisc.sh
The initiation script which builds /var/run/motd
/etc/motd
Symbolic link to the system message of the day at /var/run/motd
/etc/motd.tail
Template for building the system message of the day
/var/run/motd
System message of the day file rebuilt at each computer start
SEE ALSO
login(1), issue(5), motd(5).
Debian 2007-04-28 MOTD.TAIL(5)