07-07-2009
Sendmail not submitting Email on '.'
I have several HP/UX nodes running Sendmail 8.13 ...some work fine, some don't.
When an Email is coming in, the 'DATA' command never ends. The other side of the connection gets to the point where it enters the '.' on a line by itself, but sendmail doesn't accept it...if fact it keeps on holding the connection open like its expecting more data. Eventually the message times out and the system closes the connection. Of course, the big problem is that the other side thinks its successfully sent the message, when in fact the system aborted the message.
I've tried other characters, control characters...nothing seems to close the message for delivery.
When I compare the /etc/mail/sendmail.cf files from those nodes that do work and those nodes that don't, they are identical! ...so I'm guessing it has to be something else.
Anyone every run into this issue?? its a real head scratcher for us.
Thanks for your Help!
-- John
10 More Discussions You Might Find Interesting
1. UNIX and Linux Applications
Does anyone know what's Sendmail outgoing email rate? e.g. 1000 outgoing email per minutes. If so, can we modify it?
Thanks.
:) (1 Reply)
Discussion started by: sunmagic2003
1 Replies
2. Solaris
I need to reconfigure Sendmail to strip the SMTP email addresses from all email and replace them with a single address used for testing purposes.
I have a vended application hosted on Solaris 10 servers. I have access to support the application framework (IBM WebShere Application Server 6.1),... (1 Reply)
Discussion started by: dunkar70
1 Replies
3. Shell Programming and Scripting
Hi,
Can anyone kindly provide some information about how to populate the subject field of the email while using the sendmail utility ? Itried the following command line argument :
echo -e "Body of the email" | /usr/lib/sendmail -f from@from.com -t to@to.com -s " Subject of the email"
... (4 Replies)
Discussion started by: sdiptanil
4 Replies
4. Debian
Hi ,
I'm using sendmail command to send a email.
To send a email sendmail taking 3minutes to complete the process.
Is there any configuration needs to be done in server or another solution is there to resolve this issue.
Thanks in Advance.
Regards
Latika (1 Reply)
Discussion started by: latika
1 Replies
5. Red Hat
Hi Friends,
I am very much new to sendmail or any other mta. I just installed sendmail 8.14 on my rhel6 machine. I was trying to send email to local user but after entering the message when i press CTRL-D it simply hangs. I also tried sending email via mutt but again mutt also hangs. It sends... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies
6. AIX
Hi everyone,
I'm trying to send an email on unix using sendmail command. For setting the priority to high I use:
X-Priority: 1
And it works on HP but when I tried it on AIX the email is sent but no priority!!
Anyone can help me
Thanks in advance,
Hiposh (3 Replies)
Discussion started by: hiposh
3 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to send the contents of a file as email body. I am using html email and sendmail option of unix. I am using the below piece of code for the same :
#!/usr/bin/ksh
export MAILTO="email@domain.com"
export SUBJECT="Report"
export BODY="file_directory_path/test_file.txt"... (1 Reply)
Discussion started by: rockygsd
1 Replies
8. UNIX for Advanced & Expert Users
Hi All,
Sorry, for the double posting. Don't know how to move to a different forum.
I am very new to Unix. I have a test server running FreeBSD 10.1 and SendMail 8.14.9.
I need to filter incoming emails based on the sender's email address or domain and forward them to another address on a... (1 Reply)
Discussion started by: simplemind
1 Replies
9. Shell Programming and Scripting
Hi All,
Can anyone help with an email formatting question:
Im using the following example to try and send a formatted email:
outputFile="file.txt"
(
echo "From: oracle@inovis.com"
echo "To: john.dickinson@gxs.com"
echo "MIME-Version: 1.0"
echo "Subject: Test Font"
echo... (4 Replies)
Discussion started by: jonnyd
4 Replies
10. Shell Programming and Scripting
Hi, Here is my script to send out emails.
#!/bin/ksh
{
print "From: Prod@`hostname`.mycomp.com"
print "To: me@mycomp.com"
print "MIME-Version: 1.0"
print "Content-Type: text/html"
print "Subject: Usage Report"
print ""
print... (2 Replies)
Discussion started by: mohtashims
2 Replies
LEARN ABOUT OSF1
mail_intro
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)