Questions tagged [fetchmail]

33 questions
0
votes
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
  • 3,393
  • 24
  • 37
0
votes
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
  • 313
  • 3
  • 14
0
votes
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
  • 10,640
  • 21
  • 63
  • 96
0
votes
1 answer

fetchmail forwarding to gmail via procmail - what is happening?

I've set up fetchmail with the following configuration poll my.exchange.server protocol IMAP user "my_name" password "my_pass" smtpname "my_gmail_account@gmail.com" ssl keep no rewrite mda "/usr/bin/procmail -f %F -d…
TimmyJ
  • 888
  • 1
  • 10
  • 22
0
votes
1 answer

How to forward emails to PHP script?

I'm trying to figure out how I can forward (or pipe) an email to a PHP script using fetchmail. I've never done this and am not even sure if I'm on the right track. From what I've read I think I need to use an MDA to forward the mail. I'm using…
ctown4life
  • 729
  • 1
  • 8
  • 22
-1
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,806
  • 3
  • 26
  • 37
-1
votes
0 answers

How to fetch only promotional mails from Gmail using IMAP?

I am creating a web application using flask and python. I want to fetch the promotional mails for a user from his/her Gmail using IMAP. I have fetched the mail from whole inbox but I only need Promotion emails. Please find my code below: import…
Sneha Roy
  • 49
  • 2
  • 11
-1
votes
2 answers

How to split single mail with procmail?

I have a quarantine folder that I periodically have to download and split by recipient inbox or even better split each message in a text file. I have c.a. 10.000 mails per day and I'm coding something with fetchmail and procmail. The problem is that…
Wyatt Gillette
  • 138
  • 1
  • 12
-1
votes
1 answer

How do Apple Mail and Thunderbird apps fetch emails in real time?

I am trying to read my emails from a terminal using fetchmail, procmail and mutt. I can fetch my emails almost in real time using fetchmail daemon to fetch every 5 seconds over IMAP or POP. This solution works on both Mac and Linux, but I would like…
Diego Mora Cespedes
  • 2,538
  • 4
  • 18
  • 30
-2
votes
1 answer

Where can I see the email?

with this command on a ubuntu machine: fetchmail -d0 -avNk -m "/usr/sbin/sendmail -i -f %F -- %T" pop.gmail.com I can see on the terminal that there is a new message: fetchmail: POP3> LIST 4 fetchmail: POP3< +OK 4 570 fetchmail: POP3> RETR 4…
tom
  • 1
  • 2
-2
votes
1 answer

Need to fetch email from mail server immediately

I would like to "misuse" my email a little for a printing work. I have the whole setup ready but lack how to get my emails from my mailserver immediately as soon they arrive. In short I will get an email with a pdf attachment and need to print the…
user3358102
  • 169
  • 1
  • 12
-2
votes
1 answer

Fetchmail and Server certificate verification error: unable to get local issuer certificate

ok, this familiar question, not sure what I am missing to still get the local issuer certificate as when I ran the check with openssl I got success. I was under the impression all I needed was the Global CA certificate (the openssl shows that it is…
-2
votes
1 answer

Fetchmail: Is it possible to retrieve remote folders and put these into specific local folders?

I'd like to keep my Sent (Draft etc) emails in sync between a Zimbra hosted email provider's and my own server. Apparently fetchmail does not automatically download all folders, just the inbox. What is the best practice to keep both in sync?
BjornW
  • 15
  • 5
-2
votes
2 answers

After upgrade to OSX Mavericks, fetchmail fails to call procmail

I just upgraded from OSX Snow Leopard to Mavericks, and now fetchmail fails to invoke procmail. Mutt is also not working, but that is a different story. The following poll (with names changed) has worked for several years: poll pop.1and1.com …
Tom Baker
  • 633
  • 5
  • 14
-2
votes
1 answer

Cannot fetch email with large attachment

I use fetchmail to fetch emails from my Gmail account. But when the mail attachment is very large(like more than 20M), the mail will not be fetched to my local mail inbox. How to force the fetchmail to download such a large email(Maybe it's the…
Libin Wen
  • 404
  • 1
  • 3
  • 17