From: Erik Sundermann <erik () petaxp ! rug ! ac ! be>
To: tru64-unix-managers
Subject: Summary: Group aliases for sendmail
Date: Mon, 06 Nov 1995 17:08:26 +0000 [thread overview]
Message-ID: <96075325006495.tru64-unix-managers.marc@archive.invalid> (raw)
A few days ago, I asked the following question:
> I'm trying to configure sendmail to work with group aliases.
> When I add the line
>
> > our_group: user1,user2,user3
>
> to /usr/var/adm/sendmail/aliases, everything works fine.
>
> However, when I create a file /usr/var/adm/sendmail/our_group.list
> (containing user1, user2 & user3 on separate lines) and add the
> following line to /usr/var/adm/sendmail/aliases,
>
> > our_group: ":include:/usr/var/adm/sendmail/our_group.list"
>
> I get the following error from our mail-daemon (mserv.rug.ac.be)
>
> > ----- Transcript of session follows -----
> > While talking to mserv.rug.ac.be:
> > >>> RCPT To:<":include:/usr/var/adm/sendmail/our_group.list">
> > <<< 550 <":include:/usr/var/adm/sendmail/our_group.list">... User unknown
> > 550 ":include:/usr/var/adm/sendmail/our_group.list"... User unknown
>
> Sendmail obviously doesn't know how to correctly interpret a line
> starting with ':include'.
>
> The sendmail man-pages say ...
>
> > Aliases can also have the syntax :include:filename to ask sendmail to
> > read the named file for a list of recipients. For example, an alias
> > such as:
> >
> > poets: ":include:/usr/local/lib/poets.list"
> >
> > reads /usr/local/lib/poets.list for the list of addresses making up the
> > group.
>
> which seems to be exactly what I have done.
>
> Before you ask: yes, I have run 'newaliases' afterwards, and I have
> even restarted the whole sendmail.
>
> We are running OSF/1 3.0 on a DEC 3000-600.
1) A number of people suggested removing the quotes. When I change the
line in the aliases file to
> our_group: :include:/usr/var/adm/sendmail/our_group.list
the error from the mail-daemon looked like ...
> ----- Transcript of session follows -----
> While talking to mserv.rug.ac.be:
> >>> RCPT To:<:include:/usr/var/adm/sendmail/our_group.list>
> <<< 554 <:include:/usr/var/adm/sendmail/our_group.list>... Cannot mail
> directly to :include:s
> 554 :include:/usr/var/adm/sendmail/groepje.list... Service unavailable
2) Someone else suggested removing the blank, so that the line looks like...
> our_group::include:/usr/var/adm/sendmail/our_group.list
but that makes no difference.
3) At one time, I suspected that there was an error because of an
empty aliases.dir file ...
> # ls -l /var/adm/sendmail/aliases.*
> -rw-r--r-- 1 root system 0 Nov 6 13:08 aliases.dir
> -rw-r--r-- 1 root system 1024 Nov 6 13:08 aliases.pag
but that seems to be normal.
Anyway, I reconfigured sendmail from scratch (the configuration file
dated from a previous OSF/1 release), and found out that a piece of
code concerning the alias-translation has been changed. Since then,
everything works fine.
Thanks to :
Michael Matthews <matthewm@sgate.com>
Sheila Hollenbaugh <shollen@valhalla.cs.wright.edu>
Brad Davis <bdavis@zinc.com>
Craig Morgan <C.Morgan@soc.staffs.ac.uk>
Patrick O'Brien <pobrien@draco.harvard.edu>
Hugh Messenger <hugh@garply.com>
George R. Rumney II <rumney@amarna.gsfc.nasa.gov>
Bob Berrigan <berrigan@kent.wednet.edu>
Jon Reeves <reeves@zk3.dec.com>
Jim Neeland <neeland@madmax.hrl.hac.com>
Paul Bushen <pb@hawke.co.uk>
,,,
Erik Sundermann (0 0)
MEDISIP Group - University of Ghent +-----oOO----(_)------------+
Sint-Pietersnieuwstraat 41 | You know how Einstein got |
B-9000 Ghent - Belgium | bad grades as a kid ? |
| Well, mine are even worse |
tel : +32-9-264.66.19 | (Calvin) |
fax : +32-9-264.35.94 +-------------------oOO-----+
|__|__|
email: Erik.Sundermann@rug.ac.be || ||
WWW : http://petaxp.rug.ac.be/~erik ooO Ooo
reply other threads:[~1995-11-06 17:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox