10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm writing a Texas Hold'em script in bash v3.00.16(1) to learn more about awk/nawk scripts and regex expressions by trying to randomize a list of names using awk's rand function. The problem is that the elements in the var convert to a single element in the nawk script. I've tried several things,... (4 Replies)
Discussion started by: HexKnot
4 Replies
2. Shell Programming and Scripting
Hi
When an entry will be made to the file /var/mail/<user-id> .
I have 100 scripts under a specific user id(dgircc) in cron .SO inrder to check the whether the script has sucessfully run or not and if not to generate an email
if i mention the code like
#!/bin/ksh -p
2 fsize=`ls -lrt... (0 Replies)
Discussion started by: mskalyani
0 Replies
3. Cybersecurity
Hi there,
I'm using this command line to get a daily mail through crontab with the content of /var/mail/root:
mailx -s "Test My Server" mymail@mail.com </var/mail/root
and it works fine, but I'd like to get only the information updated in the last 24 hours.
Thanks in advance for any... (2 Replies)
Discussion started by: Giordano Bruno
2 Replies
4. UNIX for Advanced & Expert Users
Hello,
I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent.
Does anyone know why mail from cron jobs would go to the queue instead of being sent? (9 Replies)
Discussion started by: xadamz23
9 Replies
5. UNIX for Dummies Questions & Answers
Hi,
How can i get my mail on either /var/spool/mail or /var/mail?
I use mail and sendmail command to send mail. But everytime I send mail it comes to my outlook inbox and when I check with mail command I get the message "No mail for siba". (Note siba is my user Id.) (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
We have all the user account in a home direcory where their mail is stored and retrieved by email clients. We do however have /var/spool/mail with all the user accounts in it as well Our sendmail.cf is configured to use /var/spool/mqueue as the queue so .what is /var/spool/mail being used... (3 Replies)
Discussion started by: mojoman
3 Replies
7. UNIX for Dummies Questions & Answers
How can I read mail sent to /var/spool/mail?
I do not have pine installed so forget about that...is there some generic utility I can use? (3 Replies)
Discussion started by: mojoman
3 Replies
8. Solaris
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)
Discussion started by: unitipon
2 Replies
9. UNIX for Dummies Questions & Answers
The mail file in the directory var/spool/mail is very large. Can I zero this (>) without losing any unopened mails there may be? There are about 10 mail accounts. Using RedHat Linux.
Thanks in advance. (0 Replies)
Discussion started by: dennisheazle
0 Replies
10. Shell Programming and Scripting
Hello guys,
I'm in desperate need. I need to write a script that behaves like a "mail" shell program.
I've a base of the program -menu and so on, but what I cannot do is how to read messages from /var/mail/user. I would like to separate them as "mail" program does, but I;m just a newbie and... (21 Replies)
Discussion started by: petoSVK
21 Replies
WEDGED(8) System Manager's Manual WEDGED(8)
NAME
wedged - HylaFAX modem wedged script
SYNOPSIS
/var/spool/hylafax/bin/wedged devid device
DESCRIPTION
bin/wedged is the command script invoked by the facsimile server when a modem is deemed to be in an irreparable state and requires operator
intervention. This decision is based on the setting of the MaxSetupAttempts configuration parameter described in hylafax-config(5). The
default wedged script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the
etc/FaxDispatch file by setting the WEDGED_EMAIL_INTERVAL variable to the desired number of minutes (emails will be sent no more than every
WEDGED_EMAIL_INTERVAL minutes, until the wedged condition persists). If the variable WEDGED_DISABLE_FAXGETTY is set in etc/FaxDispatch
then the script will attempt to disable any faxgetty processes spawned by the init(8) process for the problematic modem. In addition the
faxq(8) process automatically disables use of the modem for servicing outbound jobs.
The devid argument is the identifier derived from the name of the modem's device file by substituting ``_'' characters for ``/'' charac-
ters; e.g. term_10 for /dev/term/10. The device argument is the name of the character special device associated with the modem.
If there exists an executable file /var/spool/hylafax/etc/resetmodem then that file will be executed upon execution of the wedged script in
an effort to recover the modem.
FILES
/usr/lib/sendmail for delivering mail
SEE ALSO
faxq(8), hylafax-config(5)
October 3, 1995 WEDGED(8)