Questions tagged [fetchmail]
28 questions
7
votes
3 answers
Setting up a MRA (fetchmail/getmail) to pull all folders from Gmail over POP/IMAP
I would like to setup fetchmail or getmail to pull email from Gmail. I would prefer it to be IMAP but I can live with POP as well. The issue I'm running into is that all these seem to want you to specify the exact list of folders you want checked…

Sriram Krishnan
- 296
- 2
- 11
6
votes
1 answer
Using fetchmail for one time email extraction from gmail
I'm trying to use fetchmail in terminal to extract e-mails from my gmail account.
I configured my ~/.fetchmailrc with:
poll imap.gmail.com protocol POP3
user "someuser@gmail.com" is oren here
password 'verysecretpassword'
(Of course with…

OrenIshShalom
- 5,974
- 9
- 37
- 87
4
votes
2 answers
ssh tunnel for sendmail
I'm going nuts here, trying to get my system configured.
I have a laptop at home and a workstation at work. I use mutt and sendmail. I have a home ISP that is on a lot of blacklists, so that any email I send from my laptop through my ISP is…

Chris Duncombe Rae
- 603
- 1
- 7
- 9
2
votes
0 answers
fetchmail warns about imap.gmail.com server certificate
I'm quite new here but i want to share my problem and found solution to everyone.
Maybe this helps someone and save time.
I choosen stackoverflow, because i've often found here a solution for my problems.
Problem: fetchmail prompts some warnings…

Oliver_D.
- 21
- 3
2
votes
1 answer
fetchmail/procmailrc filter by date
I have fetchmail grab my email from a pop account and send it to procmail. I have 'keep' set in my fetchmailrc file because i also use the email for outlook and i cant have fetchmail taking all my emails.
My problem is i want to download just todays…

Bbbh
- 321
- 7
- 20
1
vote
1 answer
Delay in pop download of mails using fetchmail
We are using fetchmail to retrieve mails from different mailboxes and create tickets in queues configured in the request tracker. Fetching mail from one of the mail-ids is taking long. Anybody had similar experience? What can be the possible reasons…

lazilyInitialised
- 108
- 7
1
vote
1 answer
Can fetchmail write to file?
During testing of a new server I need to test the fetchmail functionality but I can't get it to work the way I expect it to. How can I send the fetched email either to a specified file or to stdout?
My /etc/fetchmailrc looks something like this:
set…

UlfR
- 4,175
- 29
- 45
1
vote
2 answers
Postfix "bad sender address syntax" causes fetchmail to re-fetch the same email repeatedly
I use fetchmail to retrieve email from an IMAP server every five minutes, passing it to a local postfix process for delivery. The problem: sometimes an email has an invalid "From" line (usually spam), like this one with a leading hyphen:
From: "-…

DanB
- 342
- 3
- 18
1
vote
1 answer
How do I specify another procmail script other than .procmailrc?
I am trying to set up two different environments (development and test) on a single machine where I am using fetchmail/procmail. How would I specify a procmail script other than .procmailrc?

GregH
- 12,278
- 23
- 73
- 109
0
votes
1 answer
reading from multiple imap.gmail.com from the same fetchmail client
For my portfolio software I have been using fetchmail to read from a Google email account over IMAP and life has been great. Thanks to the miracle of idle connection supported by imap3, my triggers fire in near-realtime due to server push, much…

Marcos
- 4,796
- 5
- 40
- 64
0
votes
0 answers
receiving email with fetchmail and MTA , rcpt to: issue
I need to collect emails from ISP mailserver and send it to internal mailserver.
i'm trying to do this, using additional mail transfer server, Debian linux with Fetchmail as downloader and Exim as MTA.
Internal mailserver is old legacy MS Exchange…

voe
- 1
- 1
0
votes
4 answers
Is it possible to Access a Users Sent Email over POP?
I have been asked to quote a project where they want to see sent email using POP. I am pretty sure this is not possible, but I thought if it was.
So is it possible given a users POP email server details to access their sent mail?
If so any examples…

Mark Ellul
- 1,906
- 3
- 26
- 37
0
votes
0 answers
fetchmail /bin/sh: 0: Can't open date
I was running this from bash shell :
fetchmail -vk
it says in the log
/bin/sh: 0: Can't open date
..and terminated.

unixbhaskar
- 129
- 2
- 3
- 12
0
votes
1 answer
Procmail/munpack: Extracting headers similar to text and attachments?
I currently have set up fetchmail to transfer mail to procmail and a .procmailrc file with the following content:
FILE_DIR=$HOME/incoming
:0
*
| munpack -q -C "$FILE_DIR"
If I receive emails with attachments, munpack will create a file123.ext and…

SoWhy
- 143
- 1
- 1
- 6
0
votes
1 answer
How to delete IMAP mail with fetchmail / procmail
I use fetchmail with imap protocol to upload emails from a mail server, and pipe them in procmail. I do this with the following command:
fetchmail -f /home/$USER/.fetchmailrc --ssl -t 100 -d 240 -s -m "/usr/bin/procmail /home/$USER/.procmailrc "…

Laurent Mortier
- 79
- 1
- 7