I am trying to send a mail from Solaris 5.9 using JAVA code.but when I am trying to do the same.then I am not able to read a line(data) from buffer..I am only able to connect to SMTP server but not able to get the data from buffer.
when I am trying to read the line --
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)
Hi all !
I want to know if i can send an email with a C code...
the thing i wanna do is when my code is finished it creates a log file with all the information of the process in it...i want to know if its possible at the and of my code in C, under Unix_Solaris, to send that log file to a... (4 Replies)
Hi All,
I have a requirement to send and email of body html with an attachment.
concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail.
my command to send HTML body is as below:
export MAILTO="recipient@domain.com"... (1 Reply)
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)
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)
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)
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)
Hi Guys..
yesterday i purchased a VPS server and installed sendmail on ubuntu 12.4 with Webmin & Apache runing webserver
problem is..
i can send mail via webmin user interface account to anybody to out side to any domain and able to recieve any mail from any domain..
Now main... (2 Replies)
Can someone help me to understand how to configure java mail on unix or what is syntex for that to put in script so email can be sent.
earlier i was using 'send mail' to send email and not SMPT is stopped in unix machine and they asked us to use java mail.
Before I was using this ... (0 Replies)
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
LEARN ABOUT REDHAT
qmail-remote
qmail-remote(8) System Manager's Manual qmail-remote(8)NAME
qmail-remote - send mail via SMTP
SYNOPSIS
qmail-remote host sender recip [ recip ... ]
DESCRIPTION
qmail-remote reads a mail message from its input and sends the message to one or more recipients at a remote host.
The remote host is qmail-remote's first argument, host. qmail-remote sends the message to host, or to a mail exchanger for host listed in
the Domain Name System, via the Simple Mail Transfer Protocol (SMTP). host can be either a fully-qualified domain name:
silverton.berkeley.edu
or an IP address enclosed in brackets:
[128.32.183.163]
The envelope recipient addresses are listed as recip arguments to qmail-remote. The envelope sender address is listed as sender.
Note that qmail-remote does not take options and does not follow the getopt standard.
TRANSPARENCY
End-of-file in SMTP is encoded as dot CR LF. A dot at the beginning of a line is encoded as dot dot. It is impossible in SMTP to send a
message that does not end with a newline. qmail-remote converts the UNIX newline convention into the SMTP newline convention by inserting
CR before each LF.
It is a violation of the SMTP protocol to send a message that contains long lines or non-ASCII characters. However, qmail-remote will hap-
pily send such messages. It is the user's responsibility to avoid generating illegal messages.
RESULTS
qmail-remote prints some number of recipient reports, followed by a message report. Each report is terminated by a 0 byte. Each report
begins with a single letter:
r Recipient report: acceptance.
h Recipient report: permanent rejection.
s Recipient report: temporary rejection.
K Message report: success. host has taken responsibility for delivering the message to each acceptable recipient.
Z Message report: temporary failure.
D Message report: permanent failure.
After this letter comes a human-readable description of what happened.
The recipient reports will always be printed in the same order as qmail-remote's recip arguments. Note that in failure cases there may be
fewer recipient reports than recip arguments.
qmail-remote always exits zero.
CONTROL FILES
helohost
Current host name, for use solely in saying hello to the remote SMTP server. Default: me, if that is supplied; otherwise qmail-remote
refuses to run.
smtproutes
Artificial SMTP routes. Each route has the form domain:relay, without any extra spaces. If domain matches host, qmail-remote will
connect to relay, as if host had relay as its only MX. (It will also avoid doing any CNAME lookups on recip.) host may include a
colon and a port number to use instead of the normal SMTP port, 25:
inside.af.mil:firewall.af.mil:26
relay may be empty; this tells qmail-remote to look up MX records as usual. smtproutes may include wildcards:
.af.mil:
:heaven.af.mil
Here any address ending with .af.mil (but not af.mil itself) is routed by its MX records; any other address is artificially routed to
heaven.af.mil.
The qmail system does not protect you if you create an artificial mail loop between machines. However, you are always safe using smt-
proutes if you do not accept mail from the network.
timeoutconnect
Number of seconds qmail-remote will wait for the remote SMTP server to accept a connection. Default: 60. The kernel normally imposes
a 75-second upper limit.
timeoutremote
Number of seconds qmail-remote will wait for each response from the remote SMTP server. Default: 1200.
SEE ALSO addresses(5), envelopes(5), qmail-control(5), qmail-send(8), qmail-smtpd(8), qmail-tcpok(8), qmail-tcpto(8)qmail-remote(8)