On Thu, 25 Sep 2003, Paul Farber wrote:
> Since I am using a single uid/gid to deliver mail to all users I cannot use 
> dir ownership (or can I?)  Can I rip it out of the message somehow?
> 
> Any fellow qmail users up against this??

If you look in the qmail-command man page you will see that the
RECIPIENT environment variable is set to the expanded email address
for the user.  I have a script I run from the .qmail file that takes
this information to determine which SQL user prefs to use.  You can
find the script at:

  http://www.flarenet.com/consulting/software/spamassassin/spamassassin.sh

It should hopefully be commented enough to follow.  If you go up one
directory in the path above you will find additional information.
(The key lines are the recipient comment though.)

I hope this helps.
        -- Robert

-- 
    Robert James Kaes    ---  Flarenet Inc.  ---    (519) 426-3782
                 http://www.flarenet.com/consulting/
      * Putting the Service Back in Internet Service Provider *

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to