Questions tagged [fetchmail]

Fetchmail is a unix/unix-like utility used to retrieve emails from a remote server and deliver them to users

61 questions
16
votes
2 answers

How to sync a local email storage to IMAP (mutt-friendly)?

Summary My problem: I want to read email offline with my choice of client (mutt), but I want actions like moving emails, etc. to be kept in two-way snc with an imap server. My question: Is there a straightforward way to do this while still using…
Cera
  • 534
  • 4
  • 8
  • 21
10
votes
2 answers

How to stop Fetchmail marking messages as read

When fetchmail checks my IMAP inbox, it downloads any unread messages and removes the message 'unread' flag on the mail server. Is there a way to have fetchmail download new messages without marking them as read? I use procmail to automatically…
Steve HHH
  • 683
  • 7
  • 12
7
votes
1 answer

How to download all the e-mail messages from POP3 server to a single text file with mailx?

I would like to download all the e-mails in my old e-mail server. It uses POP3 and I'm interested in e-mails in "Inbox" and "Sent" folders. Once I have downloaded all the messages, I would like to make a script which lists all the e-mails between my…
Martin
  • 7,284
  • 40
  • 125
  • 208
6
votes
2 answers

fetchmail without an mda

I would like to retrieve mail from a server using fetchmail and have it deposit it directly into an mailbox/repository and not hand it off to a mda. Is this possible? How? In the alternate, is there an mda which simply recieves things from er…
HandyGandy
  • 2,201
  • 3
  • 23
  • 30
5
votes
1 answer

What replaces /etc/services in openSUSE, and how

I am running openSUSE Linux, the Tumbleweed version. I discovered that it does not use an /etc/services file, though I do not know what is replacing it, or how it is done, and I do not have much success searching the web. Actually, what happened to…
babou
  • 826
  • 11
  • 19
5
votes
2 answers

Download big imap directory to maildir

I search a solution to download (for archiving) a large mail directory via imap from a mail-server and stores all mails in a local maildir. I need a robust solution, which repeatedly tries if time-outs occur. So far I have tried using regular mail…
highsciguy
  • 2,534
  • 4
  • 21
  • 29
5
votes
1 answer

Connecting fetchmail (or another MRA) to Exchange

I currently use fetchmail as my MRA, using IMAP to connect to my office's Exchange 2007 server. Unfortunately, IT is disabling POP3 and IMAP access soon. Does fetchmail support connecting to Exchange servers directly? If not (and I'm pretty…
Michael Mrozek
  • 91,316
  • 38
  • 238
  • 232
4
votes
1 answer

Modify an incoming mail from text/plain to text/html

I'm using mutt to process my mail. There is one sender which declares the wrong content type. The mail arrives with Content-Type: multipart/alternative; boundary=--… and has two parts. They are declared as: Content-Type: text/plain;…
qbi
  • 1,369
  • 1
  • 14
  • 32
4
votes
5 answers

Why can't I echo the password to fetchmail?

I'm trying to configure a fetchmail. Before I deal with the syntax of fetchmailrc ( I discovered that the level of bugginess of a problem is synergistic with the number of different aspects of the problem that I do not understand, so one new thing…
HandyGandy
  • 2,201
  • 3
  • 23
  • 30
4
votes
2 answers

How to specify the inbox for fetchmail?

I'm setting up a system calling fetchmail from the commandline and specifying that the mail be stored in a specific file which is not /var/spool/mail/$USERNAME.
HandyGandy
  • 2,201
  • 3
  • 23
  • 30
3
votes
1 answer

extracting attachments from mail that is coming to my postfix inbox

How do I extract attachments from mails arriving at my postfix mailbox and preferably send the content of the attachment to another email account? I am interested in being able to acquire/read the content of the attachment on ubuntu terminal.
user40952
  • 467
  • 1
  • 5
  • 5
3
votes
2 answers

Make fetchmail leave mail on server for a specified period of time?

I know that fetchmail can be configured to leave mail on the server (usually done with the keep uidl keyword combination), but is there a way to configure it to leave mail on the server for a specified minimum period of time and delete them…
user
  • 28,161
  • 13
  • 75
  • 138
3
votes
0 answers

fetchmail mail folder

I configured fetchmail to fetch my mails per IMAP. After I start fetchmail everything is fine (see in debug-mode that mails are successfully downloaded). The Problem is: I expect so find my mails in $HOME/Mails, but these folder does not exists…
alwe
  • 131
  • 4
3
votes
2 answers

Downloading an attachment from Inbox using the command-line

Please help me figure out the right program to use to solve the following: Everyday I have a report emailed as a PDF attachment to my inbox. The subject is the same, and it is from the same email address. I would like to be able to use a utility…
cotton
  • 31
  • 1
  • 1
  • 3
3
votes
2 answers

Can't find emails retrieved by fetchmail

So I set up fetchmail to retrieve emails with IMAP from a remote mail server, I was able to run it. How can I know that it found any emails or not since I did send test emails to the account being polled and haven't read them so that they can be…
1
2 3 4 5