03-14-2017
Hi,
In RHEL/CentOS 7, the default mail server (MTA) is Postfix rather than Sendmail. Sendmail is certainly still available as a supported and installable alternative via yum, but unless you absolutely need Sendmail for a particular purpose, Postfix is probably the way to go. Certainly if all you want is for the server to be able to send SMTP mail, then the Red Hat default choices should be fine.
This User Gave Thanks to drysdalk For This Post:
5 More Discussions You Might Find Interesting
1. OS X (Apple)
Hello!
Id like to configure my mail command, please, can anyone help me?
thank you all (2 Replies)
Discussion started by: Jariya
2 Replies
2. UNIX for Dummies Questions & Answers
How to restart mail service ??
thanks (1 Reply)
Discussion started by: moreg
1 Replies
3. Solaris
Hello All:
I am trying to configure mail service on Solaris 10 and I am unable to send using mailx. It appears the server may not be listening on port 25:
bash-3.00# mconnect
connecting to host localhost (127.0.0.1), port 25
connect: Connection refused
services is configured to use port... (7 Replies)
Discussion started by: hoo5091
7 Replies
4. Shell Programming and Scripting
Hi All
Need help
Can any one share a basic script that is used for monitor sendmail service whether online, offline.etc in solaris
Thanks in advance
Zimmy (5 Replies)
Discussion started by: zimmyyash
5 Replies
5. UNIX for Dummies Questions & Answers
Hello friends,
I am new to shell scripting.I am assigned a task in Unix to prepare a script which will check if OBI 10g services are running or not and to send email if the services are down.Any help will be appreciated. I tried searching for it in the blog and came across the following code
... (1 Reply)
Discussion started by: pradeep467
1 Replies
mailq(1) General Commands Manual mailq(1)
NAME
mailq - Displays the contents of the mail queue
SYNOPSIS
mailq [-v]
DESCRIPTION
The mailq command displays a list of messages in the mail queue. The mailq command is the same as the sendmail command with the -bp
option; see sendmail for more information.
EXAMPLES
The mailq command lists the mail queue as shown in the following example: Mail Queue (1 request) --QID--- -Size- ---Q-
Time------- --Sender/Recipient--- AA002508 3 Thu Dec 17 10:01 root The mailq -v command lists the mail queue as shown in the
following example: Mail Queue (1 request) --QID--- -Size- -Priority- ---Q-Time---- -Sender/Recipient- AA002508
3 1005 Dec 17 10:01 root
(Output might be formatted differently on your system.)
The fields have the following meaning: Contains the message queue ID of the message. Contains the number of bytes in the body of
the message (header information not included). Contains the priority of the message. Contains the date that the message entered
the queue. Contains the user ID of the sender (first), and then the user ID of the receiver of the message. In this example, a
message also indicates the status of the message.
FILES
Contains the log file and temporary files associated with the messages in the mail queue.
SEE ALSO
Commands: sendmail(8)
mailq(1)