[EMAIL PROTECTED] writes:

> echo odel.on.ca > /var/qmail/control/defaulthost
> chmod 644 /var/qmail/control/defaulthost
> 
> My question is does this affect anything but qmail-inject?

It only affects qmail-inject. However, unless odel.on.ca is a host you
own or have root on, I suggest that THIS IS A BAD IDEA. A VERY BAD
IDEA.

Here's why: "defaulthost" is a file which specifies the "default host"
of recipients. Hence, email addressed to "mybuddy" will now go to
"[EMAIL PROTECTED]". Yes, that's probably what you wanted.

BUT, what about cron jobs? Or any number of daemons and other tasks?
They often address email to "root". Where does that go? You guessed
it! "[EMAIL PROTECTED]"! Thus errors, output, and all sorts of junk will
go to the superuser of that machine.

In the best case, the administrator of odel.on.ca will be quite
annoyed. In the worst case, if your cron jobs do anything funny, the
admin will be very alarmed. Do not anger your admin--unless he's you.

Len.

-- 
Hast thou found honey? eat so much as is sufficient for thee, lest
thou be filled therewith, and vomit it.  Withdraw thy foot from thy
neighbour's house; lest he be weary of thee, and so hate thee.  --
Proverbs 25:16-17

Reply via email to