Re: ask-2.5.0-1 IOerror
Marco Paganini <[email protected]>
| Newsgroups | gmane.mail.spam.active-spam-killer.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Erez, Actually, ASK just aborts with an error code. This happens if you're running ASK from your .forward file or manually. BTW, did ASK send this message to a file called ASK-FATAL-ERROR-something or just to the screen? Regards, Paga On Fri, Aug 22, 2003 at 01:17:02PM -0400, Erez Zadok wrote: > In message <[email protected]>, Marco Paganini writes: > > Hi Erez, > > > [...] > > > So you might want to check how ask.py behaves when it gets SIGINTR or > > > SIGPIPE, or an error reading from stdin, or an error writing to stdout. > > > This isn't an easy task b/c you have to consider that these errors or > > > signals could arrive at any time in ask.py's run. Maybe you might setup > > > some sighandlers just to catch these situations, and later on figure out how > > > to gracefully recover from these situations; or block certain signals during > > > critical times. > > > > The big problem really is that there's no way to "gracefully" recover when > > you're being executed from the .forward file. In the end, you'll have to > > return an error to the MTA, which will then soft or hard fail the delivery. > > Right. But in this case I was hand-feeding accumulated emails into a shell > script that ran spamc|ask|slocal, so there's no need to return an error to > the MTA, only the user who ran the script. > > Erez. > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > A-S-K-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/a-s-k-users -- Marco Paganini | UNIX / Linux / Networking [email protected] | PGP: http://www.paganini.net/pgp/ http://www.paganini.net | Magnus Frater te spectat... ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0