Questions tagged [fetchmail]

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

62 questions
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,209
4
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
  • 141
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,209
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,901
1
vote
0 answers

Fetchmail not writing to log

I'm setting up fetchmail for use with Request Tracker on a RHEL 8 server. It's not working and I'm unable to troubleshoot because it doesn't appear to be writing to /var/log/syslog or /var/log/fetchmail.log. How do I get it to write to one of these…
Chanel
  • 99
1
vote
0 answers

fetchmail delivering mail to local mailbox sometimes, should go to an exchange server

This feels like a sendmail problem, but I have a feeling that some part of fetchmail is duplicating some of sendmail's behavior, because when it happens, and I reboot fetchmail, it stops happening - until the next time. I'm using fetchmail…
1
vote
1 answer

Encode literal percent in fetchmail's mda option

I want to download emails without any processing, without procmail. I'm trying to configure fetchmail like this: mda "/bin/sh -c 'cat > INBOX/new/$(date +%s_%N)'" But it resulted in a file named "yuchao_326621000", but not the expected…
heiz
  • 1,803
0
votes
1 answer

Fetchmail won't run as daemon

I have fetchmail set up to grab emails from a Google account. If I set fetchmailrc ownership to root:root and run fetchmail -vvv --nodetach --nosyslog -f /etc/fetchmailrc, it gets the emails as expected. If I set ownership to fetchmail:root and…
Chanel
  • 99
0
votes
1 answer

fetchmail not honouring daemon time

I have fetchmail daemon set to 60 seconds in the fetchmailrc file. However it takes up to 8 minutes and sometimes even more to start fetching. Here is my fetchmailrc: set daemon 60 set postmaster "root" set syslog set logfile…
Danny
  • 175