10 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
We use Redhat server , we always use mailq to check any pending mail in mailq , when run the command mailq , it shows all existing pending mail would advise how to write a script to show the pending mails which are older than 24 hours , ( if possible , then send this pending mail info to... (9 Replies)
Discussion started by: ust3
9 Replies
3. Shell Programming and Scripting
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)
Discussion started by: ust3
3 Replies
4. 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
5. Shell Programming and Scripting
Hi Guys,
My mail queue is showing a mail.
I want to flush the queue.
Can you let me know how to flush the mail queue.
Regards,
Magesh (12 Replies)
Discussion started by: mac4rfree
12 Replies
6. IP Networking
hi all.
Am using smtpd_recipient_restrictions & check_recipient_access in postfix.
The hash file looks like this:
emailaddress1 HOLD
emailaddress2 HOLD
The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have some problems w/ the sendmail. I see that messages are queued in the /var/spool/mqueue
and they are never sent to the recipients. This problem just suddenly started without any modifications in the current configuration. I already started and stop the sendmail and it did not help.... (3 Replies)
Discussion started by: ktanya
3 Replies
8. Shell Programming and Scripting
Hi shell experts,
I would like to have a shell script running in a redhat server for monitoring the mailqueue status. I have already installed the qmHandle and I am using it to get a status of the mail queue in daily basis. I am executing the qmhandle in the cron.
Now I am planning to execute... (10 Replies)
Discussion started by: Nightman
10 Replies
9. Shell Programming and Scripting
Is there someone out there that has a script for cleaning up the mail queue after viruses such as MyDoom? (5 Replies)
Discussion started by: pmj1970
5 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am trying to clear my mail queue with the following command:
rm /var/spool/mqueue/*
But when I do this I get this error:
/bin/rm: Argument list too long.
Can someone tell me what that error means and what I can do to correct it so I can clear my mail queue?
Thanks (2 Replies)
Discussion started by: Chet
2 Replies
mail_intro(7) Miscellaneous Information Manual mail_intro(7)
NAME
mail_intro - Introductory information on the Tru64 UNIX mail system
DESCRIPTION
The Tru64 UNIX mail system enables you to exchange mail with other users on your system, as well as with other systems connected to your
local network and with users on other networks (provided your system and network are connected to other networks).
Mail System Concepts
Mail systems consist of the following components: User agent - The user agent provides the interface through which you interact with the
mail system. Generally, the user interface enables you to create, send, receive, read, save, and manage your mail messages.
Tru64 UNIX provides the following user agents: CDE's Mailer - For further information, see the Common Desktop Environment: User's
Guide . Mail or mailx - For further information, see the Command and Shell User's Guide . The Rand Message Handling program (MH) -
For further information, see the mh(1) and xmh(1X) reference pages. Transport agent - The transport agent provides an interface
between the user agents and the delivery agents. The sendmail command is a transfer agent. Delivery agent - The delivery agent
provides the mechanism for delivering the mail messages to end users, systems, and networks. The binmail and deliver commands are
delivery agents for standard mail and IMAP mail, respectively.
In Tru64 UNIX, the sendmail program acts as both the transport and delivery agent. It does so by implementing the Simple Mail Transfer Pro-
tocol (SMTP), which is the specification for the Internet's delivery agent.
Initially standards did not exist for mail addresses and computer networks. Many different address formats and network protocols exist.
Mail programs must interact with different network protocols, as well as recognize and reformat different mail address formats. Fortu-
nately, these difficulties were recognized and standards, such as the Standard for the Format of ARPA Internet Text Messages (RFC 822) and
The Domain Naming Convention for Internet User Applications (RFC 819), emerged. A mail program still must recognize addresses in various
formats and communicate with different network protocols. The sendmail program addresses these issues through the use of the sendmail.cf
configuration file.
The Sendmail Configuration File
The sendmail.cf configuration file provides the sendmail program with the information to perform the following tasks: Choose delivery
agents Use address rewriting rules Define mail header information Perform some routing
When it starts, the sendmail program reads the sendmail.cf configuration file. The information in the sendmail.cf configuration file
enables sendmail to rewrite the addresses of mail it receives into the address form expected by the mail delivery agent. It also enables
sendmail to set parameters and arguments to the mail delivery program.
The configuration file contains information that is used for the following functions: Define message precedence for mail delivery Define
administrative IDs to override the sender's address Define message headings Define the mail program to use Set options used by the sendmail
command
The default Tru64 UNIX configuration file (located in /var/adm/sendmail/sendmail.cf) is adequate for most standalone systems. However, if
you plan to connect your system to a network, you will have to modify the sendmail.cf file.
Tru64 UNIX provides the mailconfig and mailsetup utilities, which you can use to create mail configuration files. If you prefer to manipu-
late the configuration file manually, you should use the m4 macros provided for this purpose. (See the sendmail.m4 reference page.)
For more information on configuring mail, see the Network Administration manual.
RELATED INFORMATION
Commands: binmail(1), mailconfig(8), mailsetup(8), mailx(1), sendmail(8), sendmail.m4(8)
Files: sendmail.cf(4)
Network Administration
Standard for the Format of ARPA Internet Text Messages (RFC 822)
The Domain Naming Convention for Internet User Applications (RFC 819)
UNIX System Administration Handbook, Englewood Cliffs, N.J.: Prentice Hall, Inc., 1989. delim off
mail_intro(7)