9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Currrently I am not able to send/receive any emails to email id. I believe my mail box is full in server. could you please let me kknow to clear the emails in the unix server. (2 Replies)
Discussion started by: ramkumar15
2 Replies
2. Proxy Server
PHP mail() function doesn't work.
Nor does sendmail:
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/xi/.msmtprc: No such file or directory
falling back to default account
using account default from /etc/msmtprc
host = xsi
port = 25
proxy host = (not... (1 Reply)
Discussion started by: Xcislav
1 Replies
3. Shell Programming and Scripting
Hi Friends,
I'm new to Unix. I have a fbackup step like
/bin/nice /etc/fbackup -f /dev/rmt/0m -i / -I /opt/monitrol/tmp/Index.full
2 > /var/adm/error.log
the errors for this step is redirected to a log file. How can I make to trigger mails when error occurs.
Please suggest.
Thanks in... (4 Replies)
Discussion started by: avik.nandi
4 Replies
4. UNIX for Dummies Questions & Answers
I need to send invoke a script that sends out a mail, whenever a box fails (i.e., one or more of the jobs in the box fail). The key point is that this job should start on failure of box, but it should be able to find out the jobs in the box that have failed and pass them to the script.
Please... (1 Reply)
Discussion started by: hidnana
1 Replies
5. Shell Programming and Scripting
Ho Experts,
I have a complicated question that is
i want to download the attachement file from mailbox which is having the subject as the "external data" and downloaded the file put it into my local machine particular dir.
simple steps:
Find the mail which is having the subject "external... (2 Replies)
Discussion started by: psiva_arul
2 Replies
6. UNIX for Advanced & Expert Users
Hi experts,
I need to send email form my sun box but i unable to send?
1) What Basic setting i have to check?
2) We have DNS server running on other system (ISP-DNS 202.62.64.3,Primary-DNS 192.168.10.4 slave-DNS 192.168.10.1)
3) what Files need to be check, what files need to be created.
... (1 Reply)
Discussion started by: saisivakumar
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am not sure if it is a good question or not.
Is there a unix utility which can be configured with exchange server and then receive e-mails?
Thanks! (4 Replies)
Discussion started by: DejaVu
4 Replies
8. Shell Programming and Scripting
I am executing the below script from unix box
If row count is zero the mail should not set to the client
The problem is, if row count is zero the mail is going to the client
(what is wrong in the script)
SET HEAD OFF FEED OFF PAGES 0
Select count(*) as change_count from... (9 Replies)
Discussion started by: pmsuper
9 Replies
9. UNIX for Advanced & Expert Users
now, i need to send a file to an email address but i cant seem to find a place on the internet that tells me that specifically. sites i came across just happens to be beating aroung the bush too much.
i'm running a SUNOS box 5.6.
can someone please give me the proper syntax. either for mailx... (2 Replies)
Discussion started by: Terrible
2 Replies
MAIL(1) General Commands Manual MAIL(1)
NAME
mail - send and receive electronic mail
SYNOPSIS
mail [-dpqrv] [-f file] [user]
OPTIONS
-d Force use of the shell variable MAILER
-f Use file instead of /usr/spool/mail/user as mailbox
-p Print all mail and then exit
-q Quit program if SIGINT received
-r Reverse print order, i.e., print oldest first
-v Verbose mode
EXAMPLES
mail ast # Send a message to ast
mail # Read your mail
DESCRIPTION
Mail is an extremely simple electronic mail program. It can be used to send or receive email on a single MINIX system, in which case it
functions as user agent and local delivery agent. If the flag MAILER is defined in mail.c, it can also call a transport agent to handle
remote mail as well. No such agent is supplied with MINIX.
When called by user with no arguments, it examines the mailbox /usr/spool/mail/user, prints one message (depending on the -r flag), and
waits for one of the following commands:
<newline> Go to the next message
- Print the previous message
!command Fork off a shell and execute command
CTRL-D Update the mailbox and quit (same as q)
d Delete the current message and go to the next one
q Update the mailbox and quit (same as CTRL-D)
p Print the current message again
s [file] Save message in the named file
x Exit without updating the mailbox
To send mail, the program is called with the name of the recipient as an
argument. The mail is sent, along with a postmark line containing the date.
For local delivery, a file named after the recipient in the directory
/usr/spool/mail must be writable.
If the directory /usr/spool/mail does not exist then the mail is
dumped on the console, so that system programs have a way to notify
a user on a system that does not have a mail spool.
MAIL(1)