[Gllug] Problem sending mail with squirrelmail

Andy McGarty andy at mac1systems.com
Fri Feb 7 03:32:47 UTC 2003


On Wed, Feb 05, 2003 at 06:59:01PM -0000, Andy wrote:
> Hi,
>
> I'm got a server running sendmail and squirrelmail on Redhat.  Its the
first time I've used Sendmail (I'm normally a Postfix man) and I've also not
used Squirrelmail before.
>
> Anyway, I can read mail no problems.  I can send to my own domain on the
box.
>
> But when I try and send outside the server I get a host not found error.
>
> dsn=5.1.2, stat=Host unknown (Name server: relay.clicknames.net.: host not
found)

>Where do you see this error?  If it's the sendmail logs, is there any
>other information relating to the send attempt?

I see the following in the sendmail log (and get a mail from the server
saying it can't send the mail with a summary)

Feb  7 02:51:30 p15114419 sendmail[27749]: h172pUG27747: to=<my email
address>, de
lay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30564,
relay=relay.clicknames.net
., dsn=5.1.2, stat=Host unknown (Name server: relay.clicknames.net.: host
not found)
Feb  7 02:51:30 p15114419 sendmail[27749]: h172pUG27747: h172pUG27749: DSN:
Host u
nknown (Name server: relay.clicknames.net.: host not found)

A ping to relay.clicknames.net works ok.

A successful send (via smtp) to the same address gives a different relay?

Feb  7 03:10:09 p15114419 sendmail[27898]: h1739gr27896: to=<my email
address>, de
lay=00:00:27, xdelay=00:00:27, mailer=esmtp, pri=30456,
relay=uk-mail-b.mcgarty.net. [194.176.93.119],
 dsn=2.0.0, stat=Sent (ok 1044587409 qp 22267)

This is the MX section of a dig request.
;; QUESTION SECTION:
;mcgarty.net.                   IN      MX

;; ANSWER SECTION:
mcgarty.net.            80935   IN      MX      10 uk-mail-a.mcgarty.net.
mcgarty.net.            80935   IN      MX      10 uk-mail-b.mcgarty.net.
mcgarty.net.            80935   IN      MX      30 relay.clicknames.net.

;; AUTHORITY SECTION:
mcgarty.net.            48765   IN      NS      ns3.clicknames.net.
mcgarty.net.            48765   IN      NS      ns1.clicknames.net.
mcgarty.net.            48765   IN      NS      ns2.clicknames.net.

;; ADDITIONAL SECTION:
uk-mail-a.mcgarty.net.  80935   IN      A       194.176.77.7
uk-mail-b.mcgarty.net.  80935   IN      A       194.176.93.119
relay.clicknames.net.   80935   IN      A       194.176.66.5
ns1.clicknames.net.     48765   IN      A       195.97.204.2
ns2.clicknames.net.     48765   IN      A       194.176.93.118
ns3.clicknames.net.     48765   IN      A       195.97.204.4

>
> I can ping the domain, dig looks ok and I've also tried sending to other
domains with the same problem.
>
> If I use mailto then the mail gets sent and the log looks ok.
>
> I've checked my resolv.conf and this looks fine.
>

>Personally, I don't think it's a good idea for you to be using two new
>applications in combination, since it makes it very hard for you to know
>which application is causing the problem.  If I were you, I'd replace
>Sendmail with Postfix and get it working with that, first.  Then, if you
>replace Postfix with Sendmail and have problems, it'll be a
>configuration error in Sendmail.
I wish I could, but I've got a server running ensim so I can host multiple
sites (supposedly with ease) and I don't think it supports Postfix.

Cheers

Andy


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list