Douglas A. Tutty wrote:
On Mon, Sep 03, 2007 at 11:48:48AM -0700, Freddy Freeloader wrote:Now on to the next step, to figure out a way to poll for stdin, pass that to exim, and process the message(thaw or remove it) based on what I read in the header.Before we get too far down the garden path with this, what is the big issue? I'm on dialup. I've never had to deal with removing messages from the queue since I have exim run with -qqff which automatically thaws the list every time it runs. After enough retries, exim returns the message to sender. Then again, I'm going to a smarthost. Under what circumstances would you need to manually remove a message from the queue? As for polling stdin, why? What will it get from stdin? Doug.
Mainly the issue is learning to use python. What I want the script to read from stdin in will be my choice to either thaw the message or remove it from the queue. And, yes, I know Exim will delete anything in the queue after so many tries to deliver it. This is more a learning project than anything else at this point. I'm a newbie exim admin and a newbie to python, and I'm just wanting to make sure all frozen messages have nothing to do my acl's, and learn something about python at the same time. So, if you don't like my dinky little Python project all I can say is, stop replying. It's my time, and my energy being put into it. If you don't want to help any further, don't. I'll get my answers elsewhere, and there will be no hard feelings on my part....