Questions tagged [fetchmail]
The fetchmail tag has no usage guidance.
35
questions
1
vote
0
answers
86
views
mutt disallows deletion of message with error "Mailbox is read-only" in WSL
MAIL in .bashrc is set thus:
MAIL=/var/spool/mail/Tryer && export MAIL
fetchmail and mutt commands work fine and display any new message received. However, on trying to delete a message in ...
0
votes
1
answer
896
views
Cleanup duplicate mails after fetchmail messed up the fetchids list
I use fetchmail since years, to get my mails from a free private email provider, always with the "keep" option. Now, due to an update in mailu, the fetchids file got messed up and I have ...
0
votes
2
answers
821
views
How to retrieve the HTML from en email with Linux?
I'm using a Linux machine (Debian) and installed fetchmail and procmail on it. Right now, it is able to fetch mails sent to my gmail address every one minute. However, the file fetched by fetchmail is ...
3
votes
0
answers
942
views
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 ...
0
votes
0
answers
759
views
How can I force fetchmail to re-fetch mail in Gmail's inbox?
My Linux server fetches mails from gmail and sends it to a Domino server process (SMTP). No problem there.
The issue is that mails were fetched before the Domino server was started, so there was no ...
3
votes
1
answer
2k
views
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 ...
1
vote
0
answers
303
views
Postfix with Relay and fetchmail
I have a server with Zarafa, Postfix and fetchmail.
I have a local domain: mylocaldomain.com
The local domain is configured on my server as mydomains on postfix. So every mail to @mylocaldomain.com ...
1
vote
1
answer
2k
views
Correctly configure fetchmail/procmail to forward to gmail (with TLS)
I'll start by saying I'm pretty uninformed when it comes to mail protocols, encryption, and basically everything else relevant to this question.
My goal is to set up fetchmail/procmail on a machine ...
1
vote
1
answer
1k
views
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 ...
0
votes
1
answer
91
views
How can I "undo" fetchmail/copy the mails back to my IMAP server?
Well... as already stated I did a pretty dumb move by using fetchmail without the "keep" option, and now my mails are, of course, all offline. What's the best way to put them all back on the IMAP ...
1
vote
1
answer
1k
views
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 ...
0
votes
1
answer
71
views
How can I download summary info about my emails using e.g. fetchmail?
I am trying to clear out my GMail account and recover some space. I've already searched for large attachments, but it seems like there's a fair amount of "dust" which adds up to gigabytes.
I know ...
1
vote
2
answers
3k
views
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 ...
2
votes
1
answer
611
views
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 ...
0
votes
1
answer
1k
views
Fetchmail redownloading emails
I am using fetchmail to retrieve emails off server and then viewing with mutt. My settings look like,
poll server.com protocol IMAP
user "[email protected]"
password "secret"
keep
mda "/usr/bin/...
0
votes
1
answer
227
views
How does Pop3 for multiple locations work? (Fetchmail)
I use POP3 and Fetchmail to download my gmail at home and on my work machine. But I've noticed that, although I'm using --keep to prevent it being deleted on the server, usually the messages I ...
0
votes
1
answer
241
views
Run fetchmail at login under MacOSX
I'm using MacOSX and I'm trying to migrate to mutt and fetchmail because Mail.app started giving me several issues.
My configuration sits on~/.fetchmailrcand I launch the daemon issuing fetchmail -d ...
2
votes
1
answer
6k
views
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 ...
0
votes
2
answers
814
views
getting fetchmail/procmail to mark/split email by account or domain used to fetch
I've set up fetchmail to grab emails from two different accounts using POP, but I'd like them to be marked in such a way that Gnus or mutt can tell that they're from separate accounts for the purposes ...
1
vote
1
answer
2k
views
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 ...
0
votes
0
answers
99
views
Get rid of "seen" messages at GMail
The following is written by fetchmail in its log file:
fetchmail: 96 messages (96 seen) for my@email at pop.gmail.com (638442 octets).
From time to time this number of "seen" messages increases. It ...
1
vote
1
answer
1k
views
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 ...
0
votes
1
answer
829
views
Preprocessing incoming mail with fetchmail/procmail/mutt
I use fetchmail->procmail->mutt programms to all my mail. Some of mail generated automatically and some people not smart enough, so I would like to reformat mail body with some script.
My best guess ...
2
votes
0
answers
1k
views
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 ...
2
votes
2
answers
4k
views
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
971
views
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 ...
0
votes
1
answer
280
views
fetchmail says I have no mail
here's the output of running fetchmail -v
my .fetchmailrc looks like this
poll pop.gmail.com
with proto POP3
user 'username'
there with password '...
4
votes
3
answers
4k
views
How can I backup a subset of my GMail in an mbox format? [closed]
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 ...
1
vote
0
answers
295
views
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 ...
1
vote
1
answer
1k
views
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, ...
0
votes
0
answers
71
views
Retrieve only message bodies, or messages smaller than a given size, using fetchmail, getmail, etc
Using fetchmail, getmail, or other command-line MRAs, is there a way to retrieve only message bodies (without attachments) or only messages smaller than a given size? (This feature is available in ...
1
vote
1
answer
2k
views
How can I avoid putting my e-mail password in plain text in my `.fetchmailrc` file?
How can I avoid putting my e-mail password in plain text in my .fetchmailrc file? My file looks like this:
poll pop.XXX.com with proto POP3
user 'abc' with password 'PASSWORD' there is foobar here
...
0
votes
2
answers
183
views
How to let fetchmail play a sound when it's done fetching emails?
How to let fetchmail play a sound when it's done fetching emails?
1
vote
1
answer
750
views
Archiving old mail from IMAP to local disk in batch mode
I have an IMAP account with limited space. I would like to archive "old" mails to local storage, and I want to do it automatically (from cron) on my Linux system. I still want to keep the latest mail (...
0
votes
1
answer
607
views
How can I use fetchmail (or another email grabber) with OSX keychain for authentication?
Many fetchmail tutorials I've read say putting your email account password clear-text in a config file is safe. However, I prefer security through layers [***silly example:* if my terminal is up and ...