crowston@athena.mit.edu (Kevin Crowston) (11/12/89)
I'm having two problems with aliases using the sendmail distributed with AU/X. 1. I want to set up a mailing list with about 60 names. When I put these in the /usr/lib/aliases file and run newaliases, however, I get an error message saying, in effect, that that's too many names (actually, what it says is first that the line is too long and then that I have an illegal continuation line). How can I expand this limit? I thought of making it a two level list (i.e., list expands to list1, list2, etc., each of which expands to 10 names), but I don't think that's such a great answer. 2. According to the sendmail man page, you can have sendmail include files in the aliases by using ":include:file". When I did this, the database had ":include:file" as the translation for name, rather than the contents of the file. When I tried to test this with /usr/lib/sendmail -bt name, I got an error message. So, why can't I do this? Or is the test mode of sendmail wrong? Or is the documentation wrong? Kevin Crowston P.S. Do any Apple people read this list?
dyer@spdcc.COM (Steve Dyer) (11/12/89)
In article <15828@bloom-beacon.MIT.EDU> crowston@athena.mit.edu (Kevin Crowston) writes: >2. According to the sendmail man page, you can have sendmail include > files in the aliases by using ":include:file". When I did this, > the database had ":include:file" as the translation for name, rather > than the contents of the file. When I tried to test this with > /usr/lib/sendmail -bt name, I got an error message. So, why can't > I do this? Or is the test mode of sendmail wrong? Or is the > documentation wrong? The test mode of sendmail works on addresses, not on entries in the aliases file. That is, you can't type an alias entry to sendmail. You may have done this already, but just in case I misinterpreted you or you misinterpreted the man page, the line in /usr/lib/aliases should be: name::include:/file/name Note the two colons after the name, not a single colon. I'd try this directly, but my A/UX system isn't up right now. -- Steve Dyer dyer@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer dyer@arktouros.mit.edu, dyer@hstbme.mit.edu
crowston@athena.mit.edu (Kevin G Crowston) (11/14/89)
A little bit of experimentation has revealed my mistake. The sendmail man page shows the syntax as: poets: ":include:/usr/local/lib/poets.list" but this does not work. The format shown by (I think) Steve Dyer poets::include:/usr/local/lib/poets.list with the double :: does seem to work. This also seems to solve the problem of having too many names for makedbm to handle. Kevin Crowston