8 More Discussions You Might Find Interesting
1. Solaris
Hi,
I need help with mailx. When I run the below mailx command, it works fine because the exit code is fine, and the message is sent to /usr/mail/<id>
echo "This is a test message" | mailx -s "Test" <my email address>
My question is, how do I get it to reach my email address (on outlook... (2 Replies)
Discussion started by: ChicagoBlues
2 Replies
2. Shell Programming and Scripting
Dear All,
I am using CentOS release 5.5 (Final).I want to monitoring the system activity through mail.But the <code>mail -s "Subject" user1@domain.com</code> is not working from the server.could you help me the procedure to generate mail from the server. (2 Replies)
Discussion started by: kpoobathi
2 Replies
3. Shell Programming and Scripting
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies
4. UNIX for Dummies Questions & Answers
Hi guys
We have a client that gets NDR mails when sending emails to the domain "recipient.com"
My client's domain is "client.com"
My Client setup:
Server 2003 Domain
Front end Back end Exchange 2003 Standard SP2
1 Linux Firewall/Router
The NDR contains:
The following... (0 Replies)
Discussion started by: wbdevilliers
0 Replies
5. Programming
Hello everybody,
I have a problem with a program i'm coding, the thing is that i need the program to check quickly if it receives a response, if not, just go ahead.
My program sends the frame successfully, but it keeps waiting for the response until it receives something. That's what i need to... (2 Replies)
Discussion started by: Zykl0n-B
2 Replies
6. UNIX for Dummies Questions & Answers
If I use the "Mail" link instead of the "mail" link to ../mailx I get this error.
Mail so-n-so @whatever.com
mailx: NUL changed to @
Unknown command: "postmaster"
The email still goes through but i get the error.
If I use "mail" it goes thru without the error.
Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
7. Forum Support Area for Unregistered Users & Account Problems
I've requested several passwords and they are not being sent to my email. My email is working - email address removed (2 Replies)
Discussion started by: xyz
2 Replies
8. UNIX for Dummies Questions & Answers
Hi folks,
I am a newbie, and a little dum too.
I have installed and been able to run eFax on my Linux Conectiva box.
Using this comand I can put my FaxServer receiving faxes:
efax -d /dev/ttyS1 -w -iS0=2
It works fine.
Problem:
This will receive the fax, and once it is done I... (0 Replies)
Discussion started by: fundidor
0 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)