You could try to connect to port 25 in telnet. If you can connect from a different machine, it's obviously not firewalled. If you can't connect even from the same machine, port 25 isn't being listened for.
I m able to telnet successfully to port 25,587 & 465 from a remote system.
Also, locally all the ports seems to be listening as shown below.
So, i don't think there is any issue with the firewall.
Can you please tell me what could be the issue with the sending of emails?
Last edited by mohtashims; 09-07-2017 at 04:10 AM..
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)
Hi,
Since i move my Linux Redhat server on another Network with new IP address. WE'RE ABLE TO SEND MAIL OUTSIDE BUT we can not receive any incoming mail. It alway points to the old IP. I updated new IP in /etc/hosts and /etc/sysconfig/network then reboot the system. 10.117.32.20 is an old ip... (3 Replies)
Hi
The script:
#!/bin/sh
#set -x
# set admin email so that you can get email
ADMIN="myemailaddress"
# set alert level
ALERT=4
df -HP | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output;
do
#echo $output
usep=$(echo $output | awk '{ print... (5 Replies)
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)
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... (5 Replies)
Hi Gurus,
I have been searching for this around, but sendmail seems complicated and not sure if "mail" command would do, since all what I need to send internal emails from my solaris 10 box to our exchange server. Would the mailx or mail command do ?
I tried the :
# mailx -s test... (2 Replies)
Hello All,
Sendmail takes too long to start and the host is unable to send emails, below are the steps followed, Please let me know if I'm missing anything, is there a debug mode for mailx?
# time service sendmail restart
Shutting down sm-client:
Shutting... (6 Replies)
Hello i have this longterm issue which im unable to solve, i think this is quite simple issue, i hope you may know the cause
It is on CentOS Redhat server with qmail installed.
# service qmail status
# service qmail start
Starting Qmail:
# ps aux | grep mail
qmails 1688 0.0 0.0 ... (1 Reply)
Hi,
I did setup sendmail on one of AIX LPARs. Its working as expected. But, would like to clarify something with you all.
I stopped the sendmail daemon on AIX LPAR, now it is inactive(&commented it on /etc/rc.tcpip ). But still, am able to send the emails even after stopping daemon.
... (6 Replies)
Hello,
I am trying to use mutt in order to send emails. I have installed mutt using yum and pasted some details about it later in the post.
When I try to run:
echo test | mutt -s "Test Email" user@id.com
It doesn't do anything. I dont receive any emails. I have the SMTP details for... (1 Reply)
Discussion started by: vaibhavraj
1 Replies
LEARN ABOUT REDHAT
mconnect
mconnect(1) User Commands mconnect(1)NAME
mconnect - connect to SMTP mail server socket
SYNOPSIS
mconnect [-p port] [-r] [hostname]
DESCRIPTION
The mconnect utility opens a connection to the mail server on a given host, so that it can be tested independently of all other mail soft-
ware. If no host is given, the connection is made to the local host. Servers expect to speak the Simple Mail Transfer Protocol (SMTP) on
this connection. Exit by typing the quit command. Typing EOF sends an end of file to the server. An interrupt closes the connection immedi-
ately and exits.
OPTIONS
The following options are supported:
-p port Specify the port number instead of the default SMTP port (number 25) as the next argument.
-r "Raw" mode: disable the default line buffering and input handling. This produces an effect similar to telnet(1) to port
number 25.
OPERANDS
The following operand is supported:
hostname The name of a given host.
USAGE
The mconnect command is IPv6-enabled. See ip6(7P).
FILES
/etc/mail/sendmail.hf help file for SMTP commands
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO telnet(1), sendmail(1M), attributes(5), ip6(7P)
Postel, Jonathan B., RFC 821, Simple Mail Transfer Protocol, Information Sciences Institute, University of Southern California, August
1982.
SunOS 5.10 9 Nov 1999 mconnect(1)