Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2303

From: <debian-user-digest-request(at)lists.debian.org>
Date: Mon Sep 03 2007 - 12:07:09 EDT


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2303

Today's Topics:

  Re: mail (un)delivery                 [ "Douglas A. Tutty"  ]
  DDNS service for domain name          [ KS  ]
  Re: mail (un)delivery                 [ michael  ]
  Re: exim4/fetchmail/mutt problem      [ Benjamin A'Lee  ]
  How to pipe from python script to sy  [ Freddy Freeloader  ]
  Re: mail (un)delivery                 [ Freddy Freeloader 

Date: Mon, 3 Sep 2007 09:27:55 -0400
From: "Douglas A. Tutty" <dtutty@porchlight.ca> To: debian-user@lists.debian.org
Subject: Re: mail (un)delivery

Message-ID: <20070903132755.GA7189@titan.hooton>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

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?

Do you need help?X

Doug.

Date: Mon, 03 Sep 2007 08:43:24 -0500
From: "John W. Foster" <johnwfoster@verizon.net> To: debian-user@lists.debian.org
Subject: Auto update for kde menu

Message-id: <200709030843.24483.johnwfoster@verizon.net>
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Content-disposition: inline

Anyone know how to or IF the kde menu editor can be made to auto update the menu system? Does gnome have a auto updater for the menu system? For example I removed several debian packages from the system and the menu links are still in kde-menu. It seems to me that this should be automatic. I currently have to run a command line update-menus after every maintainence of my system in order to keep it up to date.
Thanks!

-- 
John W. Foster

Date: Mon, 03 Sep 2007 14:49:56 +0100 From: michael <cs@networkingnewsletter.org.uk> To: debian-user@lists.debian.org Subject: Re: mail (un)delivery Message-Id: <1188827396.3349.29.camel@manchester-campaigns> Content-Type: text/plain Content-Transfer-Encoding: 7bit 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:
michael@ratty:/etc/exim4$ less update-exim4.conf.conf # /etc/exim4/update-exim4.conf.conf # # Edit this file and /etc/mailname by hand and execute update-exim4.conf # yourself or use 'dpkg-reconfigure exim4-config' dc_eximconfig_configtype='smarthost' dc_other_hostnames='ratty' dc_local_interfaces='127.0.0.1' dc_readhost='ratty.phy.umist.ac.uk' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='mailrouter.mcc.ac.uk' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='false' dc_mailname_in_oh='true' dc_localdelivery='mail_spool'
>
> 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...) 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

Date: Mon, 3 Sep 2007 10:20:36 -0400 From: "Douglas A. Tutty" <dtutty@porchlight.ca> To: debian-user@lists.debian.org Subject: Re: mail (un)delivery Message-ID: <20070903142036.GA7636@titan.hooton> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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.

Date: Mon, 3 Sep 2007 15:36:38 +0100 From: Steve Kemp <skx@debian.org> To: debian-user@lists.debian.org Subject: Re: mail (un)delivery Message-ID: <20070903143638.GA20959@steve.org.uk> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon Sep 03, 2007 at 10:20:36 -0400, Douglas A. Tutty wrote:
> I don't have nslookup installed but it seems wierd to me that one
> hostname would have more than one IP address.
Not at all. e.g: nslookup google.com Server: 80.68.80.24 Address: 80.68.80.24#53 Non-authoritative answer: Name: google.com Address: 72.14.207.99 Name: google.com Address: 64.233.187.99 Name: google.com Address: 64.233.167.99 Steve -- # Kink-Friendly Dating http://ctrl-alt-date.com/

Date: Mon, 03 Sep 2007 10:36:30 -0400 From: KS <lists04@fastmail.fm> To: debian-user <debian-user@lists.debian.org> Subject: DDNS service for domain name Message-ID: <46DC1BEE.9050103@fastmail.fm> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I have been using a free DDNS service with a sub-domain for my machine running over a DSL line. It has been good enough for a few web pages. But I was wondering if there is free DDNS service which supports personal registered domain names. I have a domain name that will be used with a hosting when we buy one. But is it possible to test run it with a free DDNS service for the time being? Thanks, KS.

Do you need more help?X

Date: Mon, 03 Sep 2007 15:47:31 +0100 From: michael <cs@networkingnewsletter.org.uk> To: debian-user@lists.debian.org Subject: Re: mail (un)delivery Message-Id: <1188830851.3349.33.camel@manchester-campaigns> Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2007-09-03 at 10:20 -0400, Douglas A. Tutty wrote:
> 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 see. I get no output doing that: michael@ratty:~$ sudo mailq Password: michael@ratty:~$
> >
> > 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.
As Steve said it's not unusual but in this case the 130.88.128.163 is a 'dead' IP (the 'old' IP for the same box)
> See what mailq say and see what are in exim's logs.
I don't have a /var/log/exim.log (or sim) and the /var/log/mail* files don't have any recent info in them, and syslog has nothing that seems relevant... is there a command for showing all output as it happens of 'mail michael'? thanks, M

Date: Mon, 03 Sep 2007 09:51:50 -0500 From: Hugo Vanwoerkom <hvw59601@care2.com> To: debian-user@lists.debian.org Subject: Re: a LaTeX question Message-ID: <fbh726$g8j$1@sea.gmane.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Douglas A. Tutty wrote:
> On Sun, Sep 02, 2007 at 01:10:15PM +0100, Ari Constancio wrote:
>> On 9/2/07, Ari Constancio <ari.constancio@gmail.com> wrote:
>>>> I suppose I'll have to get a copy. This is not the first time I have
>>>> seen that recommendation. It is just that I prefer to use online
>>>> resources. TeX/LaTeX seems unique in lacking a good online manual.
>>> Probably because there *is* a good online manual, called "The not so
>>> Short Introduction to LaTeX2e" (http://tobi.oetiker.ch/lshort/).
>> The link is http://tobi.oetiker.ch/lshort/lshort.pdf
>
> Funny, I have that doc on my Etch system as part of one of the Texlive
> doc packages. Try running texdoctk. You'll get a selection of online
> manuals. Click on one and the correct viewer will pop up.
>
Good clue. Interesting package Hugo

Date: Mon, 03 Sep 2007 10:52:12 -0400 From: "Thomas H. George" <lists@tomgeorge.info> To: debian-user@lists.debian.org Subject: Re: exim4/fetchmail/mutt problem Message-id: <46DC1F9C.4060301@tomgeorge.info> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Kumar Appaiah wrote:
> On Mon, Sep 03, 2007 at 08:26:19AM -0400, Thomas H. George wrote:
>
>> In ./usr/sbin exim is a symlink to exim4. exim is owned by root:root with
>> 777 permissions. exim4 was owned by root:tom with 731 permissions. I
>> changed the permissions to 777 but this did not correct the problem. I
>> still got exim: permission denied when I executed mailq as user tom. mailq
>> works for root.
>>
>
> OK, I meant su;mailq or sudo mailq.
>
> You should be able to run mailq as root. Otherwise, you have a
> problem. For me, it's just a symbolic link to /usr/sbin/exim4.
>
> Kumar
>
strace -e trace=open,write mailq run from user tom exits after open ("/etc/passwd write(2, "exim: permission denied If I run /etc/init.d/exim4 restart I get a warning that the exim4 paniclog is not empty. tail/var/exim4/paniclog ends with "failed to read delivery status for tom@dragon.zoo from the delivery subprocess. I have tried editing exim4.conf.template and uncommenting the Login lines in the Authentication section and entering my user name and password after the colons in the server_promts line. This does not solve the problem. Tom

Date: Mon, 03 Sep 2007 09:56:36 -0500 From: ZephyrQ <zephyrq@earthlink.net> To: Debian Users <debian-user@lists.debian.org> Subject: nvidia-glx redux... Message-ID: <46DC20A4.4050608@earthlink.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am also still having problems getting nvidia-glx to work under Etch with latest updates. nv works fine (but no glx...). I've checked my apt-sources list and made sure that the appropriate drivers are pointing to the appropriate version. I've edited the xorg.conf file back and forth several times (usually manually changing 'nv' to 'nvidia' and back again when glx couldn't load) and checked the previous thread for help (read the man pages and other docs.) Unfortunately, none of it helped. I'm running a GeoForce FX 5500 on an AMD Duron (1.3G) but using the i386 stock kernel. Does this have anything to do with my problem (i.e. do I need to upgrade the kernel to i686 or k7?). Note that glx worked fine before last xorg up-dates. Or do I need to downgrade xorg to its previous version? Thank you for the help. I was using Ubuntu the past couple of years and I think it made me lazy (I went back to straight Debian this summer).

Date: Mon, 3 Sep 2007 16:21:02 +0100 From: Benjamin A'Lee <bma@subvert.org.uk> To: debian-user@lists.debian.org Subject: Re: exim4/fetchmail/mutt problem Message-ID: <20070903152102.GA9796@gilmour.subvert.org.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 03, 2007 at 10:52:12AM -0400, Thomas H. George wrote:
> Kumar Appaiah wrote:
>> On Mon, Sep 03, 2007 at 08:26:19AM -0400, Thomas H. George wrote:
>> =20
>>> In ./usr/sbin exim is a symlink to exim4. exim is owned by root:root=
=20
>>> with 777 permissions. exim4 was owned by root:tom with 731 permissions=
=2E =20
>>> I changed the permissions to 777 but this did not correct the problem. =
I=20
>>> still got exim: permission denied when I executed mailq as user tom. =
=20
>>> mailq works for root.
>>> =20
>>
>> OK, I meant su;mailq or sudo mailq.
>>
>> You should be able to run mailq as root. Otherwise, you have a
>> problem. For me, it's just a symbolic link to /usr/sbin/exim4.
>>
>> Kumar
>> =20
> strace -e trace=3Dopen,write mailq run from user tom exits after
>
> open ("/etc/passwd
> write(2, "exim: permission denied
>
> If I run /etc/init.d/exim4 restart I get a warning that the exim4 paniclo=
g=20
> is not empty. tail/var/exim4/paniclog ends with "failed to read delivery=
=20
> status for tom@dragon.zoo from the delivery subprocess.
>
> I have tried editing exim4.conf.template and uncommenting the Login lines=
=20
> in the Authentication section and entering my user name and password afte=
r=20
> the colons in the server_promts line. This does not solve the problem.
Firstly, IIRC, Exim4 has its own ideas about who can run it as /usr/sbin/sendmail or /usr/sbin/exim; you'd need to run it as root or find the setting to permit other users to run the commands. This isn't a problem for Fetchmail, though, as Fetchmail is trying to connect to a mailserver running on the local machine, port 25. Fetchmail's problem is that Exim isn't configured to run as a server, so it has no idea what to do with the mail it's fetching. You need to either configure Exim to listen on port 25, or configure Fetchmail to deliver to a program such as procmail; the second option is probably better all round, unless fetchmail is downloading mail for more than one local user. Ben --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG3CZeEUZDNrttL6ARAhW3AJ4/xBDVsyBLryqWuh6/cf0/0LqacQCgqCrA FopsE7DG/+uUA0mvhJRkj50= =nghi -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--

Date: Mon, 03 Sep 2007 08:05:16 -0700 From: Freddy Freeloader <fredddy@cableone.net> To: Debian User <debian-user@lists.debian.org> Subject: How to pipe from python script to system process that script starts Message-ID: <46DC22AC.7030209@cableone.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all, This will be sort of involved.... I'm wanting to learn python so I'm starting with projects that I want to automate at work. What I want to do in this specific instance is use a python script to call exipick to find all frozen messages in the Exim queue, then feed the message id's to something such as "exim -Mvh" so I can look at the message headers. So far I've been able to get everything working except for how to get my python script to be able to pass the message id's to the exim command as the needed single parameter. I'm assuming that a pipe is the logical way to do this, but just haven't found any kind of example for what I am wanting to do. My Python reference book is just a little too cryptic for me yet and "Learning Python" barely touches on piping. All the examples there are on how to pipe from stdin with sys.stdin and that won't work for this task. So far I've coded everything as process oriented rather than object oriented as that is what I am familiar with, but I'm beginning to believe that using classes is probably the way to go as it would be much easier to abstract concepts out that way. If someone has an example or two they could share with me on how to do interprocess piping in either oo or process oriented, or both, manner I would appreciate the help. And, yes, I know, I could have done this very simply with a bash script, but that is not the point. I'm doing this as much to learn python as I am to accomplish the task. So, please, no tips on how to do this in a bash script. I already know how to do that. I'm just very much a Python noob at the moment....

Date: Mon, 3 Sep 2007 11:05:09 -0400 From: "Douglas A. Tutty" <dtutty@porchlight.ca> To: debian-user@lists.debian.org Subject: Re: mail (un)delivery Message-ID: <20070903150509.GA8183@titan.hooton> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
> I see. I get no output doing that:
>
> michael@ratty:~$ sudo mailq
> Password:
>
All right. Exim4 doesn't have anything in its queues. Either it delivered the mail or it didn't accept it for delivery in the first place.
> > See what mailq say and see what are in exim's logs.
>
> I don't have a /var/log/exim.log (or sim) and the /var/log/mail* files
> don't have any recent info in them, and syslog has nothing that seems
> relevant...
>
Look in /var/log/exim4/mainlog Doug.

Date: Mon, 3 Sep 2007 11:07:15 -0400 From: "Douglas A. Tutty" <dtutty@porchlight.ca> To: debian-user@lists.debian.org Subject: Re: nvidia-glx redux... Message-ID: <20070903150715.GB8183@titan.hooton> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 03, 2007 at 09:56:36AM -0500, ZephyrQ wrote:
> I am also still having problems getting nvidia-glx to work under Etch
> with latest updates. nv works fine (but no glx...). I've checked my
> apt-sources list and made sure that the appropriate drivers are pointing
> to the appropriate version.
>
> I've edited the xorg.conf file back and forth several times (usually
> manually changing 'nv' to 'nvidia' and back again when glx couldn't
> load) and checked the previous thread for help (read the man pages and
> other docs.)
Just changing nv to nvidia doesn't help. Look at nvidia-xconfig. Doug.

Can we help you?X

Date: Mon, 3 Sep 2007 12:16:06 -0300 From: "Sergio Belkin" <sebelk@gmail.com> To: debian-user@lists.debian.org Subject: Radius using passwd file Message-ID: <8c6f7f450709030816uec56d01t672c56bbc16668c9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am trying to run radius in order to authenticate against passwd/shadow files (unix users), but I can't do that. In radiusd.conf I have: unix { cache = no cache_reload = 600 passwd = /etc/passwd shadow = /etc/shadow group = /etc/group radwtmp = ${logdir}/radwtmp } And users file contains: DEFAULT Auth-Type = System Fall-Through = 1 When I issue : radtest test test localhost 0 testing123 It outputs: Sending Access-Request of id 11 to 127.0.0.1:1812 User-Name = "test" User-Password = "test" NAS-IP-Address = spike.myhost.com NAS-Port = 0 Re-sending Access-Request of id 11 to 127.0.0.1:1812 User-Name = "test" User-Password = "\223O%\23105\016T\244\227\035\201\255a%{" NAS-IP-Address = spike.myshost.com NAS-Port = 0 rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=11, length=2 Why?? Thanks in advance! -- -- Sergio Belkin -

Date: Mon, 03 Sep 2007 08:23:23 -0700 From: Freddy Freeloader <fredddy@cableone.net> To: Debian User <debian-user@lists.debian.org> Subject: Re: mail (un)delivery Message-ID: <46DC26EB.7060807@cableone.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Douglas A. Tutty wrote:
> 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.
>
>
>
If you traceroute ratty.ph.umist.ac.uk it will go to one ip address and then the other the next time you traceroute the url, so I'm assuming this is some form of load balancing using dns.

Date: Mon, 03 Sep 2007 16:26:49 +0100 From: michael <cs@networkingnewsletter.org.uk> To: debian-user@lists.debian.org Subject: Re: mail (un)delivery Message-Id: <1188833209.3349.62.camel@manchester-campaigns> Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2007-09-03 at 11:05 -0400, Douglas A. Tutty wrote:
> On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
>
> > I see. I get no output doing that:
> >
> > michael@ratty:~$ sudo mailq
> > Password:
> >
>
> All right. Exim4 doesn't have anything in its queues. Either it
> delivered the mail or it didn't accept it for delivery in the first
> place.
> > > See what mailq say and see what are in exim's logs.
> >
> > I don't have a /var/log/exim.log (or sim) and the /var/log/mail* files
> > don't have any recent info in them, and syslog has nothing that seems
> > relevant...
> >
>
> Look in /var/log/exim4/mainlog
>
aha, thanks for that! here's the o/p when I try to email myself: 2007-09-03 16:13:43 Start queue run: pid=3893 2007-09-03 16:13:43 End queue run: pid=3893 2007-09-03 16:23:32 1ISDm0-00010w-6z <= michael@ratty.phy.umist.ac.uk U=michael P=local S=409 2007-09-03 16:23:55 1ISDm0-00010w-6z => michael@ratty.phy.umist.ac.uk R=smarthos t T=remote_smtp_smarthost H=mailrouter.mcc.ac.uk [130.88.200.145] X=TLS-1.0:RSA_ AES_256_CBC_SHA1:32 DN="C=GB,2.5.4.17=#13074d36302031514,ST=England,L=Manchester ,STREET=Manchester,2.5.4.18=#1302383,O=Manchester University,OU=Internet Service s,OU=Issued through UMIST E-PKI Manager,OU=InstantSSL Pro,CN=mailrouter.mcc.ac.u k" 2007-09-03 16:23:55 1ISDm0-00010w-6z Completed
> Doug.
>
>
End of debian-user-digest Digest V2007 Issue #2303 ************************************************** Received on Mon Sep 3 12:00:45 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:54:25 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library