- "Guilherme Barile" <[EMAIL PROTECTED]>:

| I created an account called newsmaster ... and I want this account to
| receive messages ONLY from people that are on a list ... is it possible?
| (using Qmail 1.03)

Yup.  Let the first line in the account's .qmail file call a program.
That program will look up $SENDER in the list and exit with a suitable
exit status depending on the result (zero if the mail is to be
accepted, 99 to drop it silently on the floor, 100 to bounce, 111 for
a temporary problem with the lookup).  RTFM qmail-command.

The remaining line(s) in the .qmail file should contain delivery
instructions to be followed if the sender is accepted.

If you want to base your decision on the From header field instead of
the envelope sender you have to work harder.  You must parse the
sender address yourself (but look at Dan's mess822 package).

- Harald

Reply via email to