12-15-2010
Can't configure sendmail to send mails to external SMTP Server
Hi all,I know, that this is very common issue, but I can't find where is the problem... I have Solaris 10 installed.I want to send mail to external SMTP server, like:echo "letter body"| mailx -s "subject"
test@test.comBut I donno what kind of changes I have to do in /etc/hosts and sendmail.cf or sendmail.mc files...I kindly ask someone to help me to configure the system.Thanks in advance,Roman
10 More Discussions You Might Find Interesting
1. Solaris
Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it (5 Replies)
Discussion started by: ganeshh
5 Replies
2. SuSE
Hi All,
I have a system running with Suse Enterprise Linux 9.0.
xyz# uname -a
Linux xyz 2.4.21-291-smp #1 SMP Tue May 24 14:07:45 UTC 2005 i686 unknown
I would like to configure postfix on this system for sending mails as a root user using "mail" command to smtp server (Windows System)... (5 Replies)
Discussion started by: jumadhiya
5 Replies
3. UNIX for Advanced & Expert Users
Hi,
We had an upgrade today morning and since then mailx command is not working.
I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address.
Can someone please help me out to know where can I change this on a Unix Server.
Thanks
Aman (5 Replies)
Discussion started by: chawlaaman
5 Replies
4. SCO
Did anyone know or can provide some instructions on how to setup smtp
for sendmail.
All I need to do is email files from sco thru my ISP smtp provider.
please help (3 Replies)
Discussion started by: miles556
3 Replies
5. UNIX for Dummies Questions & Answers
Hi Unix Gurus,
Please help me out here.
Please tell me the steps to conigure sendmail to receive emails (same way we configure outlook client in windows)?
Thanks in advance.
-Dejavu (1 Reply)
Discussion started by: DejaVu
1 Replies
6. Shell Programming and Scripting
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies
7. Solaris
Hi,
Iam not able to send mails from solaris servers to external mailid (gmail,yahoo).I am able to send mails to internal mailids with in network.
Requesting you all to please help me to resolve this issue.
Thanks in advance.
Venkat (2 Replies)
Discussion started by: venkatasiva85
2 Replies
8. Red Hat
Hi,
We current use an email/hosted exchange server (provided by 3rd party company).
Our production DNS (RH5) server has got the MX rec configured for this 3rd party mail relay server. So in order to resolve hostnames to send outbound mails an A record entry is also required on the external... (1 Reply)
Discussion started by: Duffs22
1 Replies
9. Solaris
Hello Everybody !
I'm Harry from Athens Greece and i have a problem with my Sendmail 8.13.3 installed on Solaris SunOS ultra 5.10.
The problem is that when someone sends to us an e-mail and his e-mail address is like : xxxx@xxxx.com, our e-mail server adds up in the senders address a .com.gr... (2 Replies)
Discussion started by: Mcasim
2 Replies
10. Solaris
Hello,
I'm trying to configure sendmail with SMTP authentication on a SunOS 5.11 operating system. I have been read various documentation / tutorials and unfortunately is not working. I need help from someone who has configured smtp on this operating system.
When I try to send a mail, I have... (2 Replies)
Discussion started by: d4rkm4nx99
2 Replies
System Administration Commands etrn(8)
NAME
etrn - start mail queue run
SYNOPSIS
etrn [-v] server-host [client-hosts]
DESCRIPTION
SMTP's ETRN command allows an SMTP client and server to
interact, giving the server an opportunity to start the pro
cessing of its queues for messages to go to a given host.
This is meant to be used in start-up conditions, as well as
for mail nodes that have transient connections to their ser
vice providers.
The etrn utility initiates an SMTP session with the host
server-host and sends one or more ETRN commands as follows:
If no client-hosts are specified, etrn looks up every host
name for which sendmail(1M) accepts email and, for each
name, sends an ETRN command with that name as the argument.
If any client-hosts are specified, etrn uses each of these
as arguments for successive ETRN commands.
OPTIONS
The following option is supported:
-v The normal mode of operation for etrn is to do all of
its work silently. The -v option makes it verbose,
which causes etrn to display its conversations with
the remote SMTP server.
ENVIRONMENT
No environment variables are used.
FILES
/etc/mail/sendmail.cf sendmail configuration file
SEE ALSO
sendmail(1M), RFC 1985.
CAVEATS
Not all SMTP servers support ETRN.
CREDITS
Leveraged from David Muir Sharnoff's expn.pl script. Chris
tian von Roques added support for args and fixed a couple of
bugs.
AVAILABILITY
The latest version of etrn is available in the contrib
directory of the sendmail distribution through anonymous ftp
at ftp://ftp.sendmail.org/ucb/src/sendmail/.
AUTHOR
John T. Beck <john@beck.org>