Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] I'm getting mail for "nobody"

Bill Horne wrote:
> I just noticed that my new server is accepting mail for "nobody".
> Which is probably not a good thing. ;-)

You probably want to alias nobody to root or your designated admin user,
if it is not already, so you can catch error messages that might end up

I'm assuming your concern is with respect to external senders trying to
reach nobody. You probably don't want them emailing root either.


That explanation falls a bit short of spelling out the specifics. I
don't know what the canonical recommended solution is for setting up a
mapping table for allowing only a subset of local users to receive mail
from external senders. (I normally use Postfix either with trivial,
default setups that relay mail to a smart host, or with virtual domains
and maps, where local users are not relevant.)

The above would suggest altering the local_recipient_maps parameter, but
it's quite possible that the preferred solution is to employ virtual
domains, and have your local machine be identified as something
different from what your machine is publicly known as. That way you can
set up a rule to accept mail for users in /etc/passwd and /etc/aliases
only from the localhost, and for everything else consult a virtual map.


Tom Metro
The Perl Shop, Newton, MA, USA
"Predictable On-demand Perl Consulting."

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /