Re: Sendmail trouble

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
From: "Michael St. Laurent" <mikes@hartwellcorp.com>
To: <psyche-list@redhat.com>
Sent: Tuesday, January 14, 2003 2:05 PM
Subject: Sendmail trouble


> I'm having trouble with email on an 8.0 system that has sendmail-8.12.5-7
> installed.  When I attempt to send mail on this system I get the following
> in the /var/log/maillog:
>
> Jan 12 04:33:19 ftp sm-msp-queue[5133]: h0AGXJmQ001182: to=root,
> delay=1+20:00:0
> 0, xdelay=00:00:00, mailer=relay, pri=3991765,
relay=ftp.hartwellcorp.com.,
> dsn=
> 4.0.0, stat=Deferred: Connection refused by ftp.hartwellcorp.com.
> Jan 12 04:33:19 ftp sm-msp-queue[5133]: h0AC246g001027: to=root,
> ctladdr=root (0
> /0), delay=2+00:31:15, xdelay=00:00:00, mailer=relay, pri=4440053,
> relay=ftp.har
> twellcorp.com., dsn=4.0.0, stat=Deferred: Connection refused by
> ftp.hartwellcorp
> .com.
>
> --
> Michael St. Laurent
> Hartwell Corporation

Hello,
I think your sendmail config's are fine due to the 'connection refused'
error.
I think that you are not supposed to use CNAME's for MX records
Your mail.hartwellcorp.com should point to the IP with an A record.
CNAME's are ok for non MX hosts.
Your mail is trying to go to [and is refused by] ftp.hartwellcorp.com
instead of mail.hartwellcorp.com
Is this correct?

See below for some stuff I did to check things out.
Kevin B


:[root@rhlan1 squid]# host -t mx hartwellcorp.com
hartwellcorp.com mail is handled by 10 mail.hartwellcorp.com.


[root@rhlan1 squid]# host -a  mail.hartwellcorp.com
[snipped]
;; QUESTION SECTION:
;mail.hartwellcorp.com.         IN      ANY
;; ANSWER SECTION:
mail.hartwellcorp.com.  86400   IN      CNAME   guardian.hartwellcorp.com.
;; AUTHORITY SECTION:
hartwellcorp.com.       86400   IN      NS      guardian.hartwellcorp.com.
hartwellcorp.com.       86400   IN      NS      ftp.hartwellcorp.com.

[root@rhlan1 squid]# host -a  ftp.hartwellcorp.com
Trying "ftp.hartwellcorp.com"
;; QUESTION SECTION:
;ftp.hartwellcorp.com.          IN      ANY
;; ANSWER SECTION:
ftp.hartwellcorp.com.   604800  IN      A       216.237.48.19
;; AUTHORITY SECTION:
hartwellcorp.com.       604800  IN      NS      ftp.hartwellcorp.com.
hartwellcorp.com.       604800  IN      NS      guardian.hartwellcorp.com.
;; ADDITIONAL SECTION:
guardian.hartwellcorp.com. 604360 IN    A       216.237.48.18


[root@rhlan1 squid]# host -a  guardian.hartwellcorp.com
[snipped]
;; QUESTION SECTION:
;guardian.hartwellcorp.com.     IN      ANY
;; ANSWER SECTION:
guardian.hartwellcorp.com. 604800 IN    A       216.237.48.18



[root@rhlan1 squid]# telnet ftp.hartwellcorp.com 25
Trying 216.237.48.19...
Connected to ftp.hartwellcorp.com.
Escape character is '^]'.
421 SMTP service not available, closing transmission channel
Connection closed by foreign host.



[root@rhlan1 squid]# telnet guardian.hartwellcorp.com 25
Trying 216.237.48.18...
Connected to guardian.hartwellcorp.com.
Escape character is '^]'.
220 guardian.hartwellcorp.com ESMTP/smap Ready; NO UCE Tue, 14 Jan 03
15:23:00 -0800
helo there
250 (there) pleased to meet you.






-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux