Kep Brown writes:
> One hack is to write a simple shell script, mine is called qmail-aliasemail,
> that calls fastforward then runs another process if the user is still not
> found.

No need to write a script; just use the pass-through option
of fastforward:

    -p  Pass through. If fastforward does not find the
        recipient in cdb, it exits 0, giving the message to
        further commands in .qmail-default. If fastforward
        finds the recipient, it forwards the message and
        exits 99, so that further commands are skipped.

The .qmail-default file would look like:

    |fastforward -d -p /etc/aliases.cdb
    &postmaster

-- 
Tetsu Ushijima

Reply via email to