On 3/8/14, 8:34 PM, Voytek wrote:
OT: As there seems to be a few knowledgeable folks here, perhaps someone can
suggest some ways
I have maybe 4 scripts that fetch some text or other data, and, email output
to me, at the moment, I use something like 'ostiary' or 'ssh commander', then,
look at result in k9, that works fine, so what I'd like is to avoid having to
use multiple apps, just, set dedicated email addresses, send an email, get
results
Mail server is postfix dovecot, all virtual domains/ users.
I understand procmail could be used, but, I never used peocmail, and, not sure
2014 is the time to start learning procmail
I could set 'getmail' to monitor such mailboxes, but there must be an easier
way....?
It's never too late to start learning to use procmail. I sense you've left out
some things about what you want to do.
it sounds like you want to run the script, have the output of the script
e-mailed to a specific address, then have mail to that address get sent to a
specific IMAP folder which K-9 would then check. Sound about right?
If it were me, I'd pipe the output of the script to mail or mailx and then let
procmail sort it out. I've been using procmail since the late 90s and I love
it. My use of server side filtering was one of the reasons K-9 was so
attractive to me.
And you don't really need to use a distinct e-mail address, you can filter on
nearly anything. You can use very simple recipes or complex ones.
You could probably also just drop the output of the script (if it's on the
mail server) into an IMAP folder and I bet dovecot would sort it out. But it
would have to be formatted right and I'm not entirely certain it would work
anyway.
--
Seth H Holmes
http://www.route-fu.net/
--
--
You received this message because you are subscribed to the K-9 Mail Users List.
To post to this group, send email to [email protected]
To unsubscribe, email [email protected]
To report an issue with K-9 Mail, visit
http://code.google.com/p/k9mail/issues/list
For more options, visit this group at http://groups.google.com/group/k-9-mail
---
You received this message because you are subscribed to the Google Groups "K-9 Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.