Advertisement

06.02.2008 at 02:46AM PDT, ID: 23449296
[x]
Attachment Details

SENDMAIL not sending mails to other domains like GMAIL and REDIFF

Asked by umeshexp in HP-UX Unix, SendMail Email Server

Tags: UNIX, HPUX

#! /bin/ksh

SUBJ="Send mail from Unix "
FROM=test1@rediffmail.com
TO=test2@abc.com
CC=test3@gmail.com
ATT=STMT.DOC
(
cat << !
FROM : $FROM
To : ${TO}
Subject : ${SUBJ}
Cc : ${CC}
!

cat << !
HOPE THIS WORKS Test123
This sample E-mail message with the Unix sendmail utility.
!

uuencode ${ATT} ${ATT}
!

) | /usr/lib/sendmail -v ${TO} ${CC}
~

After running this script , mails are sending successfully to test@abc.com .
It is not sending mails to other domains GMAIL and REDIFF.    ABC.com is my home domain..


Please clarify , is there any setup has to be done ?Start Free Trial
[+][-]06.02.2008 at 04:51AM PDT, ID: 21691146

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 05:22AM PDT, ID: 21699570

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 08:00PM PDT, ID: 21706497

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: HP-UX Unix, SendMail Email Server
Tags: UNIX, HPUX
Sign Up Now!
Solution Provided By: kidwickid
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628