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

Re: mail (un)delivery



On Mon, Sep 03, 2007 at 02:49:56PM +0100, michael wrote:
> On Mon, 2007-09-03 at 09:27 -0400, Douglas A. Tutty wrote:
> > On Mon, Sep 03, 2007 at 02:12:42PM +0100, michael wrote:
> > > I'm feeling a bit dense today so any help welcome!
> > > 
> > > Essentially, I've just noticed that local mail hasn't been delivered for
> > > a couple of weeks. I can email off my box but not to my username on the
> > > box. I can't see what the problem is. They are probably both a red
> > > herring [1] but (a) I did have some DNS problems just prior to the last
> > > received email and (b) switched off the box and physically moved it to a
> > > new location (and the new IP number) just after the last received email.
> > > 
> > > I'm unsure how to go about debugging this so all pointers welcome!
> > 
> > Assuming that you're using exim4, check you
> > /etc/exim4/update-exim4.conf.conf file for the wrong IP addresses.  If
> > you find any, follow the instructions at the top of the file.
> 
> >From what I can tell it seems fine:
agreed

 > 
> > Assuming that you have written yourself an email on the same box, what
> > error messages do you get?  What does mailq say?  Are you having exim do
> > a reverse DNS lookup for every mail?
> 
> Yes, the box is ratty.phy.umist.ac.uk and if I email myself (mail
> localusername) I get no error msgs. 
> 
> mailq gives me a permission error unless I use 'sudo mailq
> localusername' which then gives me 
>       michael-H
>     *** spool read error: No such file or directory ***
> 
> 
> (not sure what that means...)

What it means is that you used mailq wrong.  You don't need any
parameters but if you provide any, they are a list of message IDs.
Since no message ID will be your localusername it will fail.  Try mailq
all by itself.
> 
> I said 'no' to keeping num of DNS lookups minimal. 
> 
> NB: nslookup on the machine gives multiple entries:
> $ nslookup ratty.phy.umist.ac.uk
> Server:         130.88.13.7
> Address:        130.88.13.7#53
> 
> Name:   ratty.phy.umist.ac.uk
> Address: 130.88.15.179
> Name:   ratty.phy.umist.ac.uk
> Address: 130.88.128.163

I don't have nslookup installed but it seems wierd to me that one
hostname would have more than one IP address.

See what mailq say and see what are in exim's logs.

Doug.



Reply to: