Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 13:44:35 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        Axel.Thimm@physik.fu-berlin.de (Axel Thimm)
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: sendmail in -stable and aliases
Message-ID:  <199804222044.NAA17270@hub.freebsd.org>
In-Reply-To: <19980422223508.A27999@physik.fu-berlin.de> from Axel Thimm at "Apr 22, 98 10:35:08 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Axel Thimm wrote:
> I cannot say if this is general sendmail related or FreeBSD specific, as I only have a
> FreeBSD box to tamper with.
> 
> On a three week old -stable system I get the following behaviour from sendmail:
> 1) If I add aliases to /etc/aliases and call newaliases thereafter, everything works as
> it should
> 2) If I make a new aliases file and wish sendmail to take both into account, by e.g.
> 
> O AliasFile=/etc/aliases,/usr/local/etc/aliases

	on hub.freebsd.org, the mail server for all the freebsd mailing
	lists, we use:

	O AliasFile=/etc/aliases,/etc/majordomo.aliases

> then localy everything works again, but not for incoming mails from outside:
> > Apr 22 22:12:03 rige sendmail[29993]: WAA29993: <testing@rige.physik.fu-berlin.de>... User unknown

	works for incoming mail as well as local mail.

> where testing was defined as an alias in /usr/local/etc/aliases.
> telnet localhost 25 and vrfy also don't work.
> 
> Have I done something wrong? Or is this a bug in sendmail.cf?
> 
> On a related note I also have problems installing the majordomo aliases (I get a
> strange error from newaliases), which I posted on freebsd-ports.

	please check you configuration.
	what are the permissions and ownerships on /usr/local/etc/aliases,
	/usr/local/etc, /usr/local, and /usr.  they should be reasonable,
	so that only users that sendmail trusts can modify the aliases
	files.

	here's what we are using:


drwxr-xr-x  10 root  wheel   2048 Apr 22 07:39 /etc
-rw-r--r--   1 root  wheel  39567 Mar 17 09:23 /etc/aliases
-rw-r--r--   1 root  wheel  65536 Apr 15 09:32 /etc/aliases.db
-rw-r--r--   1 root  wheel  46717 Apr 15 09:32 /etc/majordomo.aliases
-rw-r--r--   1 root  wheel  81920 Apr 15 09:32 /etc/majordomo.aliases.db

jmb

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804222044.NAA17270>