need simple command line utility to read imap or pop3 mail unattended
Mike Marchywka
marchywka at hotmail.com
Fri May 8 13:19:41 UTC 2020
So now I need some way to decode attachments- is procmail the thing here?
The overall scenario is to mail commands in the text and data files, like media to play,
as attachments.
Are there any "languages" for this kind of thing that work good via email?
I guess I could just mail a bash script if it can find the decoded attachments
but in theory anyone could send email to this address so I'd like
to make it a bit less versatile for now.
I wrote something to invoke a bunch of executables from c++ to scrape
bibtex links from webpages I might be able to adapt that here
but thought something else may exist.
note new address
Mike Marchywka 306 Charles Cox Drive Canton, GA 30115
2295 Collinworth Drive Marietta GA 30062. formerly 487 Salem Woods Drive Marietta GA 30067 404-788-1216 (C)<- leave message 989-348-4796 (P)<- emergency
________________________________________
From: ubuntu-users <ubuntu-users-bounces at lists.ubuntu.com> on behalf of Mike Marchywka <marchywka at hotmail.com>
Sent: Friday, May 8, 2020 5:36 AM
To: Ubuntu user technical support, not for general discussions
Subject: Re: need simple command line utility to read imap or pop3 mail unattended
On Thu, May 07, 2020 at 08:03:29PM -0500, Chris wrote:
> On Fri, 2020-05-08 at 00:28 +0000, Mike Marchywka wrote:
> > I got fetchmail to work but if I get it from the 12.04 repo it was
> > built circa 2011 and needs
> > new ssl libs ( why I finally gave up on this lol ). I was able to
> > build from source pointing to
> > newer ssl lib and it seems to work well. I just wrote a dummy mda (
> > cat - ) to echo the
> > input and this seems to be what I need. With heavy use of
> > LD_LIBRARY_PATH this
> > got the one message from a specific yahoo folder in the .fetchmailrc
> > file,
> >
> > ./fm/fetchmail-6.4.4/fetchmail --ssl --sslproto TLS1 --nosslcertck
> > --all --keep
> >
> > But I'll have to see options for running it every few minutes now...
> > Ideally
> > I can get yahoo to put specific incoming mail into this folder
> > instead of
> > inbox.
> >
> You can set the interval in the .fetchmailrc file. Mine is below:
>
> https://pastebin.com/cjtnjBnY
>
> My main email address is checked every two minutes as shown in this
> setting
> set daemon 120
>
> The rest of the servers checked are multiples of that such as
> poll imap.gmail.com with proto IMAP port 993 interval 2, so my gmail
> account is checked every 4 minutes.
>
> You can also find a lot of info on fetchmail here -
> https://www.fetchmail.info/index.html
>
> HTH
Some of the note suggested avoding procmail although right now
I think I will roll my own for that part.
I've got other command sources that I'm trying to push
through a common pattern - for my own cpp code command line,
config files, sockets - I'm curious if I can integrate the email
thing and then build it so it is wasy to put back onto an old
system. Not sure why libetpan needed all this junk,
which I think is driving the version issues, but I used that
in my account download program.
Apparently this is not Ubuntu 12.04, I guess that was the suggested upgrade
prompt I dismissed :) This seems to be 11 something...
Thanks.
>
> --
> Chris
> 31.11972; -97.90167 (Elev. 1092 ft)
> 19:42:01 up 2:16, 1 user, load average: 0.81, 0.77, 0.56
> Description: Ubuntu 18.04.4 LTS, kernel 5.3.0-51-generic
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
mike marchywka
306 charles cox
canton GA 30115
USA, Earth
marchywka at hotmail.com
404-788-1216
ORCID: 0000-0001-9237-455X
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list