The script is great, but 1) Why don't you programm it in BASH? 2) What exactly does this line? message_name=$(/usr/bin/spamc -f -u"$user" | reformail -A"X-SA-UserName: $user" | maildir ./Maildir/) 3) What is "reformail"? If it's a mail program, can I use something else instead of this "reformail"?
Thanks for your answer. Maca On Fri, 26 Sep 2003, Robert James Kaes wrote: > 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 * > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk