The messages I send to a '|/some/program' alias just get stuck in the queue:

4 Nov 2006 06:51:25 GMT  #5686481  2498  <[EMAIL PROTECTED]> 
        local   [EMAIL PROTECTED]

I can't find any errors in any of the /var/log/qmail logs, and I don't receive 
a bounce. Any ideas what I am doing wrong? 

Quinn


On Fri, 3 Nov 2006 23:06:41 -0800, Quinn Comendant wrote:
> I'm trying to create an alias that pipes a message to sa-learn. I've 
> created the alias:
> 
> [EMAIL PROTECTED]/1 ~]$valias -s strangecode.com | grep spam
> [EMAIL PROTECTED] -> |sa-learn --ham --no-sync
> [EMAIL PROTECTED] -> |sa-learn --spam --no-sync
> 
> 
> That didn't work, so I tried this:
> 
> [EMAIL PROTECTED]/1 ~]$valias -s strangecode.com | grep spam
> [EMAIL PROTECTED] -> |/root/bin/learnham
> [EMAIL PROTECTED] -> |/root/bin/learnspam
> 
> 
> And those scripts are something like:
> 
> [EMAIL PROTECTED]/1 ~]$cat /root/bin/learnham 
> #!/bin/sh
> sa-learn --spam --no-sync -D &> /tmp/learnspam.log
> 
> And they work fine is fed spam directly...
> 
> [EMAIL PROTECTED]/1 ~]$bin/learnspam <<EOF
>> ...spam here...
>> EOF
> 
> [EMAIL PROTECTED]/1 ~]$head /tmp/learnspam.log
> [8532] dbg: logger: adding facilities: all
> ...
> Learned tokens from 1 message(s) (1 message(s) examined)
> 
> 
> So I assume I setup the aliases wrong? Do the scripts need to be 
> owned by vpopmail or something?
> 
> Thanks!
> Quinn
> 
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to