Depending on your system, you may need to use "mailx" instead of "mail".
getting following error:
mailcheck_2.sh: line 6: 530
Messages in remote queue : syntax error in expression (error token is "Messages in remote queue ")
Hello,
I need a shell script which need to send a mail with 4 *.csv files as attachments.Anybody can help me?
At present i have a script which is sending only one file as attachments.But i need a script which send 4 files in a shot.
#!/bin/ksh
/bin/mail xxxx@xx.xom << EOF
Subject:... (4 Replies)
Hallo, can anybody help me with my issue? Iīd like to know if it is possible to send me a mail (to @mail.com for example) when some account password will expired? eg. few days ago of this expiration. We donīt use this account every day, it is used for DB2 and DB2 has problem every 90īs day because... (2 Replies)
Hi guys,
I have configured Nagios in My Ubuntu8.4 machine through Quickstart Guide, All things are working fine.
Now i want to get Services Notification mails on my personal Email-id,what configuration is needed to get the mails,any assistance would be appreciable.
Thanks in advance. (3 Replies)
plzzz help me, I want to send emails for exchange group members when the used file-system % gets more than 90%, this notification must include df -g, netstat -i,and errpt with the hostname
thx in advance (0 Replies)
I am a student, and I have project to complete. The project is to create a power point presentation with the following guidelines:
You are the system admin for a medium sized Internet company that has its primary production web server running on UNIX/Linux. Your technical IT director would like... (1 Reply)
Hi Guys,
I have a postfix server which is deferring emails. Now I need to send notification to a specific email address if:
The sender of the deferred email is: abc@example.com
Contains specific subjects: a file (/opt/subjects) contains all the subjects in place
Then need to send a... (0 Replies)
hi all,
needed a script to send a notfication mail if the specified folder had the copy of the files that are older than 15 days
i.ee for example
my folder name is SAi
and the files are as follows
sai.txt
copyofsai.txt
copyofcopyofsai.txt
hemanth.txt
copyofcopyofhemanth.txt... (4 Replies)
I know the command mailq can check the pending mail in mqueue , and also have another command to check POSIX mail queue in server , now I will regularly check the mqueue manually , it is time consuming , would advise the script that could help to check the mail queue , and then send the details to... (3 Replies)
Hello All,
I am completely new to shell scripting. I had to write a script that starts and stop the queue manager in Websphere MQ. We are on Linux 64-bit patform.
The script should stop the queue manager and all the processes related to websphere MQ. It should be a clean stop. Once the queue... (3 Replies)
Discussion started by: pady1224
3 Replies
LEARN ABOUT FREEBSD
queue-pr
queue-pr(8) GNATS Administration Utilities queue-pr(8)NAME
queue-pr - incoming mail control for GNATS
SYNOPSIS
queue-pr [ -q | --queue ] [ -r | --run ]
[ -f filename | --file=filename ]
[ -m kbytes | --max-size=kbytes ]
[ -d database | --database=database ]
[ -h | --help ] [ -V | --version ]
DESCRIPTION
`queue-pr -q' should run through a pipe(2V) via the mail aliases(5) mechanism to automatically place incoming bug reports in a queue direc-
tory for GNATS.
Run `queue-pr -r' via cron(8) to periodically empty the GNATS queue, filing new bug reports in the database.
Always use one of -q | --queue or -r | --run (but not both), in each call to queue-pr. These are mutually exclusive functions in order to
avoid collisions.
OPTIONS -q, --queue
Accept standard input as an incoming mail message, placing this message in an incrementally numbered file in the database subdi-
rectory gnats-queue for future handling.
-r, --run Redirect files from the database subdirectory gnats-queue to file-pr(8) which files and creates index entries for each.
-f filename or --file=filename
Treat filename as input rather than reading from standard input (used with the --queue option).
-m kbytes, --max-size=kbytes
Do not process messages larger than kbytes kilobytes in size. Files larger than the limit are left for human intervention.
-d database or --database=databasename
Used with the --queue or --run options, use the database named database rather than the database default or the database speci-
fied by the GNATSDB environment variable.
-h, --help
Displays a short usage message.
-V, --version
Displays the queue-pr version number.
ENVIRONMENT VARIABLES
The GNATSDB environment variable is used to determine which database to use. For a local database, it contains the name of the database to
access. If GNATSDB is not set, the database named default is used.
SEE ALSO
Keeping Track: Managing Messages With GNATS (also installed as the GNU Info file gnats.info)
databases(5), dbconfig(5), delete-pr(8), edit-pr(1)file-pr(8), gen-index(8), gnats(7), gnatsd(8), mkcat(8), mkdb(8), pr-edit(8), query-
pr(1), queue-pr(8), send-pr(1).
COPYING
Copyright (c) 1993, 2003, Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified
versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the
original English.
GNATS August 2003 queue-pr(8)