LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2019, 03:17 AM   #1
2cd4654213
LQ Newbie
 
Registered: Jan 2019
Posts: 3

Rep: Reputation: Disabled
how to download email directly


I want to simply and automatically download email from a remote server (pop3 or imap) straight onto a file, not into the mail thing, just straight plaintext on a file right where where i can parse and read it with a script. I was reading about fetchmail and procmail and etc but i have no idea how any of it works and it's 10,000x too obtuse, i just want the plaintext directly into a file, nevermind users or mailboxes or any of that.

Last edited by 2cd4654213; 02-25-2019 at 02:14 AM.
 
Old 02-21-2019, 05:13 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,390
Blog Entries: 9

Rep: Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652
Quote:
Originally Posted by 2cd4654213 View Post
I want to simply and automatically download email from a remote server (pop3 or imap) straight onto a file, not into the mail thing, just straight plaintext on a file right where where i can parse and read it with a script. I was reading about fetchmail and procmail and etc but i have no idea how any of it works and it's 10,000x too obtuse, i just want the plaintext directly into a file, nevermind users or mailboxes or any of that.
lol, how're you going to login then?
anyhow, a quick search suggests that fetchmail is your best bet.
i guess you're going to have to try a little harder.
 
Old 02-21-2019, 01:02 PM   #3
2cd4654213
LQ Newbie
 
Registered: Jan 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
I've managed to log in with fetchmail, but i have no idea where it's sending it; i want an automated script to check an email for something specific
 
Old 02-22-2019, 06:57 PM   #5
2cd4654213
LQ Newbie
 
Registered: Jan 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
I figured it out using procmail, thanks!
 
Old 02-23-2019, 04:52 AM   #6
l0f4r0
Member
 
Registered: Jul 2018
Location: Paris
Distribution: Debian
Posts: 892

Rep: Reputation: 288Reputation: 288Reputation: 288
^ Great. Is your case closed then? If so I invite you to mark this thread as [SOLVED] (see HOWTO in my sig)
 
Old 02-23-2019, 01:20 PM   #7
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 4,425
Blog Entries: 3

Rep: Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203
You might look at maildrop or fdm also, procmail while great in its day, suffers a lot of problems that can't or won't be fixed. Both maildrop and fdm can fetch mail.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is it possible to send an email to abc123@gmail.com directly from Konsole? Robert.Thompson Slackware 15 03-03-2011 12:27 PM
How to configure Thunderbird to download mail to the local folder directly using IMAP avinash.rao Ubuntu 7 11-25-2008 11:00 PM
Can I email (formatted) directly to a printer? ayhopkins Linux - Newbie 4 02-25-2008 03:58 PM
How email OOWriter and OOCalc doc directly satimis Linux - Software 4 01-21-2008 03:49 AM
Configuring Cups to Print directly to email. ernieg619 Linux - Networking 1 11-28-2005 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration