cancel
Showing results for 
Search instead for 
Did you mean: 

Mailing from Unix

Shahbaz_1
Regular Advisor

Mailing from Unix

Hi,

Well I used to send mail from unix to external mail server (yahoo/hotmail) using the following .

# mailx -s "Subject" mymailid@hotmail.com < filename
And it was working fine. But now it is not,
why so ?
where I should look at the problem?

Please ....

Thanks in Adv.

Regards
Syed
Let's share the great thing "THE KNOWLEDGE"
9 REPLIES
George_Dodds
Honored Contributor

Re: Mailing from Unix

Can you still mail on the internal domain?

Has anything changed dns wise and are there any erros in the mail logs?
Robin Wakefield
Honored Contributor

Re: Mailing from Unix

Hi Syed,

To start with:

Check the mail account of the sender for a non-delivery.

Check how sendmail is going to deliver to hotmail.com using:

/usr/lib/sendmail -bv mymailid@hotmail.com

see what the relay host is, whether it is alive, accepting connections on port 25.

Check the /var/adm/syslog/mail.log for any errors.

What's changed recently?

Rgds, Robin.
Shahbaz_1
Regular Advisor

Re: Mailing from Unix

Hi
George & Robin
Thanks

Well the internal domain is working fine.
And I don't know whether there was any changes in the system, dns or ...

I tried using sendmail to yahoo account but didn't receive the mail.

I also check the mail log file, didn't find any errors

So Please guide me what to do ?

Regards
Syed



Let's share the great thing "THE KNOWLEDGE"
Robin Wakefield
Honored Contributor

Re: Mailing from Unix

Hi Syed,

What was the result of the -bv test?

Rgds, Robin.
Shahbaz_1
Regular Advisor

Re: Mailing from Unix

Hi Robin

The result was

# sendmail -bv oradba@hotmail.com < start.log
oradba@hotmail.com... deliverable: mailer relay, host pacnetmail, user oradba@hotmail.com


Regards
syed

Let's share the great thing "THE KNOWLEDGE"
Deshpande Prashant
Honored Contributor

Re: Mailing from Unix

HI
Check with the DNS/Firewall team if they are blocking your systems to talk to internet.

Thanks.
Prashant.
Take it as it comes.
Robin Wakefield
Honored Contributor

Re: Mailing from Unix

Hi Syed,

So, does "telnet pacnetmail 25" work OK?

Rgds, Robin.
Sanjay_6
Honored Contributor

Re: Mailing from Unix

Hi Syed,

Your mail servers could be having some problem sendling emails to the inernet. Look at the mail server and see if the mails are being sent to the internet.

Hope this helps.

Regds
Shahbaz_1
Regular Advisor

Re: Mailing from Unix

Hi body,

We are not using FIREWALL, but if the External mailing is blocked by DNS, how should we check that?

Robin,
I tried "telnet pacnetmail", but didn't work.
but ping pacnetmail is giving "reply".

And our mailing system is working file.

The interesting thing is few days back, I tried sending mail from solaris server to external mail server and initially it worked fine, but after some times, no response.

Where should I look at the problem?

Friends:
So far with all the replies, I learnt many things, and your answers are really appreciatable, and I do thank all of you.

Regards
Syed
Let's share the great thing "THE KNOWLEDGE"