Hi there,
Just wondering if anyone can help me with a unix script that will allow to check if a file is in a directory and if it is then e-mail it to someone and then move the file to another directory.
I have come up with nothing right now and was hoping someone could get the ball rolling... (1 Reply)
Hello,
I receive email once an hour that looks like:
subject line: dialin
body:
ip address
ip address
.
.
sometimes the body has no ip address in it(blank mail)
I want a script that will send to my email every 12 hours the ip numbers and the time and data
something like:
data,... (1 Reply)
Hi
I have written the folowing mail function:
SENDMAIL () { mailx -r 'Team' -s ' QA Test & Work Build & Deployment ---> STARTED' $INTERESTED<<EOF
Maintenance is going on $path in 10 Minutes. So Please exit the Accounts
EOF
return
}
Above is working fine for me..
The... (2 Replies)
Dear All,
Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do?
thank u in advance (2 Replies)
Hi All,
Is there any way Unix shell script can directly read a mail on a mail server
(for eg. abc@xyz.com) and save it as a text file in a unix directory ?
Thanks
PRKS
---------- Post updated at 08:37 AM ---------- Previous update was at 08:36 AM ----------
I am using ksh (1 Reply)
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Hi..
I need to create a script which will send a mail with attached file of log whenever its invoked with some text in its body. (Using Sendmail)
I don't have any idea regarding that.
any one help me out with this.
Thanks, (1 Reply)
Hi Folks
Please help me on the below script
I want to write a script to mail with the subject as "xxxxx" on (lastday-1)_month_year.
means for this month the subject is like "xxxx" on 30_jan_2013
for february the subject is like "xxxx" on 27_feb_2013
only the subject needs to change,... (3 Replies)
Hi Guys,
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT HPUX
pollrcvd
POLLRCVD(8) System Manager's Manual POLLRCVD(8)NAME
pollrcvd - HylaFAX script for delivering facsimile received by polling
SYNOPSIS
/var/spool/hylafax/bin/pollrcvd mailaddr faxfile devid commid error-msg
DESCRIPTION
bin/pollrcvd is the command script invoked by the HylaFAX server whenever a facsimile is received as a result of a polling operation. The
default script uses electronic mail to deliver the facsimile to the user that submitted the poll request, and can be controlled by editing
the etc/PollDispatch shell script in the spooling area that is sourced by pollrcvd when it runs. The arguments are:
mailaddr the electronic mail address of the user that submitted the poll request.
faxfile the pathname of the received TIFF file relative to the root of the spooling hierarchy.
commid The communication identifier associated with the call (used to include a transcript when an error occurs).
devid the modem device on which the document was received.
error-msg an error message that is non-null if an error was encountered during the receive operation.
NOTES
The default script delivers facsimile as PostScript wrapped in MIME.
FILES
/var/spool/hylafax spooling area
/usr/sbin/faxinfo for printing information about the facsimile
/usr/bin/fax2ps for converting TIFF to PostScript
/usr/lib/sendmail for delivering mail
SEE ALSO faxq(8), hylafax-server(5), recvq(5)
May 12, 1996 POLLRCVD(8)