[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail

On Tue, 2003-10-14 at 08:18, Joyce, Matthew wrote:
> Hi,
> I'm using Fetchmail and have a fetchmailrc in etc.
> Fetchmail starts and syslog show my messages being gathered.
> the problem is the messages do not end up in my home Maildir (courier-imap),
> they end up in spool somewhere.

exim (assuming you use exim, that is) delivers in /var/spool/mail/user
by default. I have the following in /etc/exim/exim.conf (modify the
existing local_delivery entry).

  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  return_path_add = true
  #file = /var/spool/mail/${local_part}
  directory = ${home}/Maildir
  maildir_format = true
  prefix = ""

It seems to do the trick. Mail gets dropped into ~/Maildir and I read it
through Courier IMAP.

Reply to: