In Debian 2.2, logcheck is configured out of the box to mail reports to
root every hour. I'm using Postfix for my MTA. Here's what's happening:

logcheck mails its report to root, which is translated into
[EMAIL PROTECTED] On my local lan, the domain is mars.lan, but I
get my email from my ISP at quillandmouse.com. So the "root" address is
being rewritten as [EMAIL PROTECTED] So what happens is that
Postfix sends this out to my ISP. On my domain at my ISP, any mail not
to a known addressee at quillandmouse.com gets forwarded to me. So I get
all these hourly messages when I fetch mail for [EMAIL PROTECTED]

I don't mind getting the messages, but they're going all the way to my
ISP and then back down, when they should really just be locally mailed
to me.

But here's what makes it worse: My ISP won't accept any mail from anyone
at mars.lan. It insists mail going to it has the quillandmouse.com
domain on it. So I've had to make nearly everything in postfix so that
it has quillandmouse.com on the end of it. I'm just not sure what to
change so that mail for local delivery (like from root) gets delivered
_locally_.

Any ideas what I'm doing wrong?

Paul

Reply via email to