l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Dec 03 11:50

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox] Re: Mean to Linux... Mean to OpenSource... :-/
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox] Re: Mean to Linux... Mean to OpenSource... :-/

On Wednesday, Nov 27 2002, Joel Baumert spake thus:

> I was having two problems.  First, sendmail was listening on
> instead of an external interface.

A default setup in most Linux distributions.  Security reasons.

> I was able to solve that problem, but I am still having a problem
> with sendmail rejecting outside mail.

From the message you included below, there are a few potential

From the looks of it, you're using this machine as the mail gateway to
your domain.  If that's truly the case, yes, you're right, you will
need a mail alias for each user that receives mail in your domain.  A
sample entry would look something like this:

kender:  user@the_machine_where_his_mail_spool_resides.yourdomain.blah

However, If the machine in question is supposed to be the machine
where the mail spool for each user resides you will need to list
yourdomain.com in the /etc/mail/local-host-names so the mail machine
knows that its supposed to deliver mail locally for the users at that
domain.  An actual user account with that name will need to exist on
that machine or you'll receive a user unknown message like what was
shown in your post.

If this is a machine that is already receiving mail from a mail
gateway, you need to make sure that whatever hostname is being used to
relay the mail to that machine (the right-hand side of the "@" symbol)
is listed in /etc/mail/local-host-names so that the sendmail daemon
knows to use local delivery for those users at that domain.

> Has anyone seen this before?

It's pretty much the most common configuration snafu with sendmail.
You're not alone.

> I saw something on a newsgroup that suggested setting up aliases,
> but I didn't have to do that in the past.

If it's the mail gateway, yes, if it's not, then it's probably the
/etc/mail/local-host-names file.

> Its probably something simple that I'm missing.  I have been able to
> get away with linux-conf in the past for setting up sendmail...

This probably isn't about aliases since you mention not having used
them before, but knowing how to work with the /etc/aliases file is
pretty essential to proper mail administration with sendmail.

Don't forget to restart the sendmail daemon after you've made the

Also, I'm no sendmail guru so it's possible that I'm completely
mis-diagnosing your problem.  Take what I say with a grain of salt

> [-- Attachment #1 --]
> [-- Type: text/plain, Encoding: 7bit, Size: 0.5K --]
> The original message was received at Sun, 24 Nov 2002 04:09:04 -0800
> from jbaumert@localhost
> kender@geeksource.net
>     (reason: 550 5.7.1 <kender@geeksource.net>... Relaying denied)
> ... while talking to mail.geeksource.net.:
> >>> RCPT To:<kender@geeksource.net>
> <<< 550 5.7.1 <kender@geeksource.net>... Relaying denied
> 550 5.1.1 kender@geeksource.net... User unknown
> [-- Attachment #2 --]
> [-- Type: message/delivery-status, Encoding: 7bit, Size: 0.3K --]
> Reporting-MTG: dns; demo.zweng.com
> Arrival-Date: Sun, 24 Nov 2002 04:09:04 -0800
> Final-Recipient: RFC822; kender@geeksource.net
> Action: failed
> Status: 5.7.1
> Remote-MTA: DNS; mail.geeksource.net
> Diagnostic-Code: SMTP; 550 5.7.1 <kender@geeksource.net>... Relaying denied
> Last-Attempt-Date: Sun, 24 Nov 2002 04:09:04 -0800
> [-- Attachment #3 --]
> [-- Type: message/rfc822, Encoding: 7bit, Size: 0.5K --]
> Date: Sun, 24 Nov 2002 04:09:03 -0800
> From: jbaumert@demo.zweng.com
> To: kender@geeksource.net
> Subject: test test test
> User-Agent: Mutt/1.2.5i
> asdfsadf;asdlkfja;sdlfkjas;dflkj
> On Wed, Nov 27, 2002 at 02:55:06PM -0800, Peter Jay Salzman wrote:
> > begin Joel Baumert <kender@geeksource.net> 
> > > 
> > > Maybe by distribution:  95, 98, 98 OSR1 98 OSR2, NT 3.5 SPx,
> > > NT 4.0 SPx, 2000 SPx, ME, CE, 2000 SP2, 2000 SP3, XP Home, 
> > > XP Pro, etc :-).  There are alot of Windows variants...
> > > Too bad they are so fragmented :-).
> >  
> > guffaw!  that was a funny quip!  :-)
> > 
> > > I had my Linux system broken into a couple of months ago
> > > because of an exploit in Squirrel Mail...
> > 
> > not that i use squirrel mail (i'm not even sure i know what it is.  it's
> > a mail client?), but i'm curious.  if you have the time, can you post
> > what happened?
> > 
> > pete
> > _______________________________________________
> > vox mailing list
> > vox@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox
> _______________________________________________
> vox mailing list
> vox@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox

| sam -- Programmer I                                                |
| University of California, Davis : Hart Interdisciplinary Programs  |
| GPG Fingerprint: 4F08 E33E 92A2 EA88 CE75  75DC D84C 6046 0240 515F|

Attachment: pgp00000.pgp
Description: PGP signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.