D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Messed up exim.

 

On Tuesday 22 February 2005 12:29 am, Neil Stone wrote:
Neil Williams wrote:
| I've got a v.v.v.long mailqueue and lots of blocked internal messages.
|
| Some of the error messages read using # exim -Mvb
|
|  root@xxxxxxxxxxxxxxxxx
|     unknown local-part "root" in domain "garfield.codehelp"

Do you have roots mail box aliased some place ?

Yes, but it was more messed up than that - it was trying a reverse lookup on 
the main domain MX which was refusing authorisation for an SMTP relay 
operation - not surprisingly.

Only now have I managed to sift through 6,589 messages (!) 8.4MB of mail! and 
clear the queue. 

I had permission problems on the mail spool, I had this reverse lookup thing 
that I still don't quite understand and then a non-existent user.

R=lookuphost T=remote_smtp: SMTP error from remote mailer after end of data

T=local_delivery defer (13): Permission denied: creating lock file hitching 
post /var/mail/neil.lock

The user problem was down to cron sending email as my internet address, not 
local. Still haven't figured out what I did to cause that.

In the end, I stopped reverse lookups by exim:
#host_lookup = *
commented out:
freeze_tell_mailmaster = true
(adding more to the queue wasn't going to help!)

and then I added the non-existent user as an alias to me in /etc/aliases

Finally, I've got no more mail queue.

-- 

Neil Williams
=============
http://www.dcglug.org.uk/
http://www.nosoftwarepatents.com/
http://sourceforge.net/projects/isbnsearch/
http://www.neil.williamsleesmill.me.uk/
http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3

Attachment: pgp00046.pgp
Description: PGP signature