[TriLUG] sendmail question -ONoRecipientAction=Add-To-Undisclosed

Chris Hedemark chrish at trilug.org
Fri May 23 14:17:49 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Friday, May 23, 2003, at 12:28 PM, Jeremy Portzer wrote:

> This requirement is important enough to me that I'll switch to postfix
> if Postfix can do this properly.  Does anyone have experience with
> similar options in Postfix ?

Jeremy, is your list of students fairly static?  Would it be 
accommodated well by an alias in your MTA?

Even if it isn't fairly static, if your students were tracked in an 
RDBMS already you could use a simple SELECT statement every time mail 
was sent to a given alias to generate the recipient list.  The TO 
header would then only have the name of the alias.

If you need further access controls so that only certain people can 
send to the alias, Mailman 2.1 is supposed to be able to use an RDBMS 
back end though I haven't tried it yet.

So you could say something like "trig101 at school.edu" expands into a 
SELECT statement that returns all email addresses for students 
currently enrolled in trig101.  If a student drops the class, they are 
automagically dropped from the alias as soon as the change in status is 
reflected in the back end RDBMS.

All of this is a lot easier, of course, if you're already using an 
RDBMS back end for managing tables of students & classes.

- --

Chris Hedemark
UNIX / Linux / BSD / Mac OS X / Windows consulting available.  No job 
too small!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iEYEARECAAYFAj7OZdEACgkQYPuF4Zq9lvYB4gCeKcSHpZrwCQysOj6CjnozDa/C
1HwAn2wA3HF3Nsy7wPnweWpqm9/hp8Ms
=CHvk
-----END PGP SIGNATURE-----




More information about the TriLUG mailing list