Questions tagged [fetchmail]

33 questions
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
  • 3,258
  • 4
  • 18
  • 39
5
votes
2 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
  • 276
  • 2
  • 11
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
  • 503
  • 1
  • 6
  • 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
  • 2
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
  • 181
  • 5
  • 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…
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,350
  • 5
  • 36
  • 61
0
votes
0 answers

Is there a way to deliver some addresses from internal domain to external (smart) host with postfix?

I have inherited a setup, where the local domain and user USER@NAME.LOCAL gets rewritten via postfix "sender_canonical" to EXT_USER@NAME.TLD and forwarded to a smart host (relay_host) at the ISP. Incomming mails to EXT_USER@NAME.TLD are fetched…
WLE
  • 1
  • 1
0
votes
0 answers

Receive Email message reply in odoo system(CRM Lead) Odoo11

I send message on client email from CRM Lead and client replied this message in email. Now i want to fetch this email in odoo system(in crm lead log note). So, what kinds of configuration and methods i need to apply? Currently i setup outgoing and…
PAWAN SHARMA
  • 1,092
  • 6
  • 22
0
votes
0 answers

Fetchmail username different from "user"@example.com

I'm struggling with this. Basically I have to login to an imap server with the email address myaddress@example.com The username that I need to use in order to login is DOMAIN\myaddress and the server that I need to connect to is mail.example.com. If…
andyinno
  • 871
  • 2
  • 7
  • 22
0
votes
0 answers

Test postfix delivery with existing email

I was wondering if its possible to reinject a previously delivered email back into postfix so i can test the spam filters etc. Thanks
Macka
  • 23
  • 3
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
  • 89
  • 2
  • 3
  • 11
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
  • 63
  • 1
  • 5
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 "…
0
votes
0 answers

Python - fetchmail to execute command based on email subject

I am wanting to control a remote system based on an email inbox. For example, a email account with a message in it, with a subject of "Start motor". I have fetchmail retrieving one message and outputting it into file. Is there an option to just…
HenryD
  • 1
1
2 3