Tuesday, October 21, 2014

MAIL CLIENT CONFIGURATION IS SOLARIS

mail-client:-
1)enter relay server IP in client level
#cat /etc/hosts
10.25.1.5      mailhost.google.com <<<=====add relay server info
#cat /etc/mail/sendmail.cf & cat /etc/mail/submit.cf
DSmailhost.google.com
#svcadm disable smtp
#svcadm enable smtp

#mailx -vvn test@google.com
subjet:test
testmail.
.
now mail sending properly.
#cat /etc/mail/sendmail.cf
O DaemonPortOptions=NAME=NoMTA4, Family=inet, Addr=127.0.0.1
O DaemonPortOptions=Name=MSA4,   Family=inet, Addr=127.0.0.1, Port=587, M=E
O DaemonPortOptions=NAME=NoMTA4, Family=inet, Addr=172.16.1.20
O DaemonPortOptions=Name=MSA4,   Family=inet, Addr=172.16.1.20, Port=587, M=E
O DaemonPortOptions=NAME=NoMTA4, Family=inet, Addr=10.25.12.20
O DaemonPortOptions=Name=MSA4,   Family=inet, Addr=10.25.12.20, Port=587, M=E
#O DaemonPortOptions=Name=MTA-v4, Family=inet
#O DaemonPortOptions=Name=MTA-v6, Family=inet6
#O DaemonPortOptions=Port=587, Name=MSA, M=E

==============
3)Clinet not listening port 25
root 22894     1   0 13:37:19 ?           0:00 /usr/lib/sendmail -bl -q15m
  
    root 26730 17187   0 14:04:04 pts/4       0:00 grep send
   smmsp 22992     1   0 13:37:25 ?           0:00 /usr/lib/sendmail -Ac -q15m

From Client) telnet serverip 25
not listening
solution:--

so we execute following command
#/usr/lib/sendmail -bd -q15m
root 23264     1   0 13:38:35 ?           0:00 /usr/lib/sendmail -bd -q15m
root 22894     1   0 13:37:19 ?           0:00 /usr/lib/sendmail -bl -q15m
smmsp 22992     1   0 13:37:25 ?           0:00 /usr/lib/sendmail -Ac -q15m
with out /usr/lib/sendmail -bd -q15m process 25 port is not listening client request

From Client) telnet serverip 25
 listening

===============
4) if we creat wrong alias in /etc/hosts
#cat /etc/hosts
10.25.1.5      mailhost.google.com <<<=====add relay server info ==>coreect one
serverip       hostname          mailhost.google.com <<========   >> if u mention like this my sendmail service
chek server ip as relay server ip it does to allow to send mail please careful to add entry
============================

No comments:

Post a Comment