8 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] How to get extra info...
FromSent OnAttachments
Dan HorneSep 28, 2005 2:28 pm 
Jay LeeSep 28, 2005 2:47 pm 
Jay LeeSep 28, 2005 2:49 pm 
Dan HorneSep 29, 2005 6:44 am 
Dan HorneSep 29, 2005 6:45 am 
Jay LeeSep 29, 2005 7:10 am 
Dan HorneSep 29, 2005 7:14 am 
Jay LeeSep 29, 2005 7:17 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [maildropl] How to get extra info from MySQL db into filtersActions...
From:Dan Horne (da@taisweb.net)
Date:Sep 29, 2005 6:44:02 am
List:net.sourceforge.lists.courier-maildrop

RUN_SA=`echo "SELECT value FROM userpref where username = '$USER' and preference = 'use_sa'" | mysql -s -u dbuser -pdbpass spamassassin`

**NOTE: Resending this to list as original went to Jay Lee's address instead of the list. (Unfortunately so did my first resend, sorry Jay.)**

Thanks, I will give that one a try. Just to be clear the "spamassassin" at the end of the mysql command is the db name, right?

Thanks again.