Questions tagged [fetchmail]

35 questions
4
votes
3 answers

How can I backup a subset of my GMail in an mbox format?

Basically, I want to download all messages that match a particular search from GMail. But I don't want to have to create a local backup of my entire 25GB+ GMail account. I assume I'm looking for something like fetchmail or getmail, but I very…
aresnick
  • 301
3
votes
1 answer

Can postfix forward all outbound email to a relayhost except for local user-to-user email?

On my home Ubuntu box, postfix is configured to relay all outgoing email to outgoing.verizon.net. Unfortunately this includes local user-to-user email (e.g., from local cron jobs to me, or from me to myself) which should not need to travel…
DanB
  • 135
3
votes
0 answers

Recursively read all folders with Fetchmail (Exchange Server)

I'm currently maintaining a project that relies on fetchmail to import e-mails from a given exchange mail-server, one of the accounts I'm pulling mail from is unfortunately set up with a lot of folders. I found that I can use the folder directive in…
Paradoxis
  • 572
3
votes
1 answer

Where/How does fetchmail store which mail it has seen?

I use fetchmail to fetch mail from a remote POP3 server and deliver it to my local mail server. Now I want to migrate fetchmail from one server to another. But where/how does fetchmail store/know which mails it has already seen? I don't want to end…
sigy
  • 117
2
votes
1 answer

Use IMAP and fetchmail to download messages not seen locally

I have my email stored on a server and I read it from a couple of devices (usually either my smartphone or laptop). I often view messages on my phone but want to respond on my laptop if a longer response is called for. I'd like to have have…
jdbrody
  • 133
2
votes
0 answers

Postfix: change sender address of bounce (mails from fetchmail)

I am running a Postfix MTA. Fetchmail is used to get mails from several POP3 accounts. The problem is: If a mail cannot be delivered, e.g. because it exceeds the size limit of the mailbox, a bounce message is sent. However, the bounce mail uses the…
2
votes
2 answers

How can I enable fetchmail on OS X Mountain Lion?

Snow Leopard came with fetchmail, but in Mountain Lion seems to be missing. Homebrew doesn't have a formula for it either. What's the best way to get back fetchmail?
2
votes
1 answer

Transfer mail from local machine to Gmail

I'm trying to use Gmail to manage a MS Exchange email that I log into with Outlook Web Access. The Exchange email has IMAP and SMTP access but not POP3 access so I can't use Gmail's "check mail from other accounts" feature but I can use the "send…
1
vote
1 answer

Munpack and utf-8 filenames in attachements

i have another UTF-8 problem. I use munpack -C $extrdir $file to automatically extract JPG files from emails that i received with fetchmail. Afterwards I use bash and imagemagick to process images that i can get with find -iname "*.jpg*" -o -iname…
Markus
  • 269
1
vote
1 answer

How do I extract and sort image attachment from emails?

Here is what I was thinking of: I want to create a Raspberry Pi Picture-frame (DPF) for my grandma, but with basic email support. Emails can be sent by six family members and will be received daily by fetchmail/procmail. This already works! In…
Markus
  • 269
1
vote
2 answers

Fetchmail to keep original date/time

I'm setting up my own IMAP and I need to gather emails received during the last 9 years in my own server (and to continuously synchronize from a few email boxes). I have successfully set up fetchmail with a test account on an empty mailbox. Whenever…
1
vote
1 answer

fetchmail/postfix - bounce message if it is too big

I have an Ubuntu mail server that retrieves mails from ISP by fetchmail and delivers it through amavis and postfix. Postfix has a size limit of about 20MB. Mails larger than this are removed from server, but have been silently deleted so far,…
JeffRSon
  • 312
1
vote
1 answer

How to remove duplicate emails in fetchmail?

I have the following situation: gmail polls my university email via pop3, but it does so with a delay(around an hour sometimes). So I set up fetchmail to poll my university email. It solves the delay issue, but since fetchmail polls gmail as well,…
abo-abo
  • 171
1
vote
0 answers

Have mutt check a directory for new mail brought by fetchmail

Is there a way to have mutt check a directory for new emails brought in my fetchmail rather than then my gmail imap? Having mutt check on demand is slow, basically I just reload the imap folder which contains a lot of mail. Is this the solution I'm…
1
vote
1 answer

Is fetchmail resumable?

I hope "resumable" is the correct term. I just installed mutt on my laptop. AFAIK mutt itself cannot download mails to the local filesystem, so you'll need something like fetchmail. I installed it, and here's my ~/.fetchmailrc poll imap.gmail.com …
anta40
  • 895
1
2 3