Re: ask-2.5.0-1 IOerror

Erez Zadok <[email protected]>
Newsgroups gmane.mail.spam.active-spam-killer.general
Message-ID <[email protected]>
In message <[email protected]>, Marco Paganini writes:
> Hi Erez,
> 
> > I'm getting these errors from ask-2.5.0-1:
> 
> > > IOError: [Errno 32] Broken pipe
> 
> It looks like ASK cannot open the pipe. Can I take a look at your .askrc
> file? 

This is what I do in my .forward:

"| /usr/bin/spamc | /usr/bin/ask.py --loglevel=5 --logfile=/home/ezk/.ask/ask.log --home=/home/ezk --procmail | /usr/lib/nmh/slocal -suppressdup -user ezk"

And this is my .askrc:

[ask]
rc_mymails    = [email protected],[email protected],[email protected],[email protected]
rc_myfullname = Erez Zadok
rc_mymailbox = /var/spool/mail/ezk
rc_junkmailbox = ${HOME}/.ask/Junk
rc_bulkmailbox = ${HOME}/.ask/Bulk
rc_mailkey   = Erez_Zadok
rc_md5_key = Spam Be Gone
rc_remote_cmd_enabled = on
rc_remote_cmd_htmlmail = off
rc_basic_headers = From:,To:,Cc:,Bcc:,Date:,Subject:
rc_askdir = ${HOME}/.ask
rc_msgdir = %(rc_askdir)s/queue
rc_tmpdir = %(rc_askdir)s/tmp
rc_confirm_dirs = %(rc_askdir)s/templates
rc_blacklist_dirs = %(rc_askdir)s/templates
rc_whitelist_on_mailkey = true
rc_confirm_langs = en
rc_blacklist_langs = en
rc_whitelist  = %(rc_askdir)s/whitelist.txt, %(rc_askdir)s/whitelist-local.txt
rc_blacklist  = %(rc_askdir)s/blacklist.txt, %(rc_askdir)s/blacklist-local.txt
rc_ignorelist = %(rc_askdir)s/ignorelist.txt, %(rc_askdir)s/ignorelist-local.txt
rc_mta_command = /usr/sbin/sendmail -t -f '<>' < MAILFILE
rc_max_attach_lines = 50

I've upgraded to 2.5.0 this weekend (finally :-).  I started w/a blank
configuration, and followed your advise on careful diff-ing b/t the old
config and the new config, manually adding configuration parameters.

Erez.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.