9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Shell Programming and Scripting
Hello,
I am using centos-6.2
I have apache server,php5 on my system and I want to send mail using sendmail on my system.
when I try to send mail from shell that time mail is succesfully sent to respective address()
but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies
4. UNIX for Dummies Questions & Answers
I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client.
Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies
5. UNIX for Advanced & Expert Users
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)
Discussion started by: amitranjansahu
2 Replies
6. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
7. 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
8. UNIX for Dummies Questions & Answers
hi, Gurus,
I need some help with sending mail out from my UNIX server:
It is running Solaris 2.6 and the sendmail version is 8.8.
Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.8.8+Sun
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
... (5 Replies)
Discussion started by: b5fnpct
5 Replies
9. UNIX for Dummies Questions & Answers
When I try to use the CLI mail, I get the following error. What's wrong?
Welcome to Darwin!
% mail root
Subject: test
test
.
EOT
% /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory
Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
binmail(1) General Commands Manual binmail(1)
Name
binmail - send or receive mail among users
Syntax
/bin/mail [+] [-i] [person...]
/bin/mail [+] [-i] -f file
Description
This is the old version 7 UNIX system mail program. The default command is described in and its binary is in the directory The program is
still used to actually deliver a mail message into the users system-wide mailbox ( ), however, the reading of these messages has been
replaced with the program Do not remove from your system.
The command with no argument prints a user's mail, message-by-message, in last-in, first-out order; the optional argument + displays the
mail messages in first-in, first-out order. For each message, it reads a line from the standard input to direct the disposition of the
message.
Issue the following commands from the program prompt:
<CR> Go on to next message
d Delete message and go on to the next.
p Print message again.
- Go back to previous message.
s [file...] Save the message in the named files (`mbox' default).
w [file...] Save the message, without a header, in the named files (`mbox' default).
m [person...] Mail the message to the named persons (yourself is default).
EOT (control-D) Put unexamined mail back in the mailbox and stop.
q Same as EOT.
!command Escape to the Shell to do command.
* Print a command summary.
An interrupt normally terminates the command; the mail file is unchanged.
When persons are named, takes the standard input up to an end-of-file (or a line with just `.') and adds it to each person's mail file.
The message is preceded by the sender's name and a postmark. Lines that look like postmarks are prepended with `>'. A person is usually a
user name recognized by To denote a recipient on a remote system, prefix person by the system name and exclamation mark. For further
information, see
The program sends a message to the screen that there is mail when the user logs in.
When is used to deliver mail, (usually calls to do this), a mailbox is created for the user in the directory if it doesn't already exist.
The mailbox is created with the mode 700 so that only its owner can access it. In addition, the directory has the mode 777 with the sticky
bit set. The mode is 777 so that other mail programs, notably can create the appropriate lock files to prevent another process from writ-
ing to the mailbox at the same time. The sticky bit set on the directory prevents one user from unlinking another user's mailbox.
Options
-f Displays mail messages contained in the specified file (next argument) in place of your mailbox file.
-i Notifies mail to continue after interrupts.
Restrictions
Race conditions sometimes result in a failure to remove a lock file.
Files
/etc/passwd to identify sender and locate persons
/usr/spool/mail/* incoming mail for user *
mbox saved mail
/tmp/ma* temp file
/usr/spool/mail/*.lock lock for mail directory
dead.letter unmailable text
See Also
mail(1), uucp(1c), uux(1c), write(1), sendmail(8)
binmail(1)