I'm getting regular errors in my syslog (they're occurring exactly every 10 minutes, to the second):
Feb 22 13:01:24 computer sm-mta[5747]: q1MBVO6B003778: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
I don't know how to interpret these errors, but am I right in guessing that the sm-mta[5747]
part of of the error is the application name and process ID? If so, this would seem odd to me as I do not have sm-mta installed and System Monitor does not have a process ID with that number. I'm probably being stupid as usual!
How can I find out what's causing these errors and stop them from occuring, please?
I read
sm-mta
assendmail
MTA (Message transfer agent). That seems to make sense based on the error message.sendmail
is a program that relays email messages around, either letting applications send email through it, or accepting email and routing it towards mailboxes.So a couple of things:
You've got
sendmail
installed! It's a horrible application so unless you've got a good reason for it to be installed, I suggest you nuke it.If this moans about wanting to remove other applications which are dependent on the
sendmail
package, weigh it up. If those applications just need something to providedefault-mta
ormail-transport-agent
, consider usingpostfix
which provides those roles.If you need a local MTA (to handle email), I suggest
postfix
. Nice, fairly simple and very capable.If you need
sendmail
(ie something has a hard dependency on it that you can't replace), then you want to look at fixing this specific error. Something like this might work:Bah! Although I had removed sendmail I had not restarted my computer. I didn't realise that some vestiges of the program would still run after Synaptic had uninstalled it! Checking now, after a restart, I'm not getting those errors any more. Sorry to have troubled everyone! (Should I delete this question? And if so, how?)