Operating System - HP-UX
1832577 Members
3597 Online
110043 Solutions
New Discussion

Re: HPUX11.11 Setting up mailx to work

 
Paul Bertino
Frequent Advisor

HPUX11.11 Setting up mailx to work

I am trying to setup mailx to work. We have a server within our intranet and I keep getting a "Connection refused by cable.comcast.com".
eferred: Connection refused by cable.comcast.com.
Apr 3 15:50:34 pacdctn2 sendmail[15942]: gethostbyaddr(192.168.1.1) failed: 1
Apr 3 15:51:01 pacdctn2 sendmail[15942]: PAA15942: from=root, size=60, class=0, pri=60, nrcpts=0, msgid=<200704031950.PAA15942@PACDCTNIPROD01.cable.comcast.com>, relay=root@localhost
Apr 3 16:16:00 pacdctn2 sendmail[18084]: LAA15663: to=paul_bertino@cable.comcast.com, ctladdr=cpacni (11022/561), delay=4+05:11:07, xdelay=00:03:50, mailer=esmtp, relay=cable.comcast.com. [147.191.82.231], sta
t=Deferred: Connection refused by cable.comcast.com.
Apr 3 16:16:26 pacdctn2 sendmail[18559]: gethostbyaddr(192.168.1.1) failed: 1
Apr 3 16:16:26 pacdctn2 sendmail[18559]: QAA18559: from=root, size=164, class=0, pri=30164, nrcpts=1, msgid=<200704032016.QAA18559@PACDCTNIPROD01.cable.comcast.com>, relay=root@localhost
Apr 3 16:19:00 pacdctn2 sendmail[18561]: QAA18559: to=paul_bertino@cable.comcast.com, ctladdr=root (0/3), delay=00:02:34, xdelay=00:02:34, mailer=esmtp, relay=cable.comcast.com. [10.18.6.3], stat=Deferred: Con
nection refused by cable.comcast.com.
Apr 3 16:43:35 pacdctn2 sendmail[21200]: gethostbyaddr(192.168.1.1) failed: 1
Apr 3 16:43:35 pacdctn2 sendmail[21200]: QAA21200: from=root, size=59, class=0, pri=30059, nrcpts=1, msgid=<200704032043.QAA21200@PACDCTNIPROD01.cable.comcast.com>, relay=root@localhost
Apr 3 16:44:49 pacdctn2 sendmail[21078]: QAA18559: to=paul_bertino@cable.comcast.com, ctladdr=root (0/3), delay=00:28:23, xdelay=00:02:34, mailer=esmtp, relay=cable.comcast.com. [10.178.97.35], stat=Deferred:
Connection refused by cable.comcast.com.
Apr 3 16:44:49 pacdctn2 sendmail[21078]: LAA15663: to=paul_bertino@cable.comcast.com, ctladdr=cpacni (11022/561), delay=4+05:39:56, xdelay=00:00:00, mailer=esmtp, relay=cable.comcast.com., stat=Deferred: Conne
ction refused by cable.comcast.com.
Apr 3 16:47:25 pacdctn2 sendmail[21202]: QAA21200: to=paul_bertino@cable.comcast.com, ctladdr=root (0/3), delay=00:03:50, xdelay=00:03:50, mailer=relay, relay=cable.comcast.com. [165.137.118.240], stat=Deferre
d: Connection refused by cable.comcast.com.
7 REPLIES 7
Sandman!
Honored Contributor

Re: HPUX11.11 Setting up mailx to work

Are you using a smart relay to send outbound mail? If so make sure that sendmail is listening on port 25.
Paul Bertino
Frequent Advisor

Re: HPUX11.11 Setting up mailx to work

How do I do that?
Sandman!
Honored Contributor

Re: HPUX11.11 Setting up mailx to work

Ask the mail administrator at your site and then create a DSR entry in the sendmail.cf file.
Rasheed Tamton
Honored Contributor

Re: HPUX11.11 Setting up mailx to work

Smart Relay Host (DS) - This setting identifies another server that the local server can relay mail to for delivery.

DSmailserver.domain.com
Steven E. Protter
Exalted Contributor

Re: HPUX11.11 Setting up mailx to work

Shalom,

mailx uses sendmail as an MTA.

Comcast as a cable provider has had a lot of trouble with spammers sending out mail on port 25. To the point where I banned the entire domain from my mail servers for a while.

They have come around a bit and now block outbound on port 25 unless you use one of their designated mail servers.

Because of a lot of inbound spam, they block mail from a lot of places as well.

Normally the way to get around th is is to use an accredited mail relay server. These are provided by ISP and normally require login.

If you are your own ISP, the following critera should be met:

1) There MUST be a reverse lookup record for the outbound mail server's IP address. It must match the domain name assigned in the A record and the impression that the sending address if forged must not be given.

2) The criteria in item 1 must apply to any SMTP relay server you use as recommended above.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Keith Johnson
Valued Contributor

Re: HPUX11.11 Setting up mailx to work

I'd suggest you talk to the mail administrator for the relay you're trying to use. Based upon the mail log entry:

"Apr 3 16:16:00 pacdctn2 sendmail[18084]: LAA15663:to=paul_bertino@cable.comcast.com, ctladdr=cpacni (11022/561), delay=4+05:11:07, xdelay=00:03:50, mailer=esmtp, relay=cable.comcast.com. [147.191.82.231], stat=Deferred: Connection refused by cable.comcast.com."

it looks as if the relay is rejecting your mail.
No matter where you go...there you are.
Paul Bertino
Frequent Advisor

Re: HPUX11.11 Setting up mailx to work

Thanks all. I had to change the sendmail.cf and put an entry in DS for the relay server and now it works.