This is a discussion on exim4 with Maildir and courier-imap - Debian ; Hi, I am trying to setup exim4 with Maildir support. Just can't get it to work. I want to set up an 'internet' server, receiving and sending email directely from and to the internet. Imagine my full domain name to ...
I am trying to setup exim4 with Maildir support. Just can't get it to work.
I want to set up an 'internet' server, receiving and sending email directely
from and to the internet.
Imagine my full domain name to be host.domain.com and host.domain.org
I wish to accept e-mail for firstname.lastname@example.org and email@example.com
use 'name' is a system user added with "adduser name" and so has homedir
Am I supposed to add "dc_relay_domains='domain.com:domain.org'" ?
If I don't do it, e-mail sent to firstname.lastname@example.org is refused with "Relaying
denied" message even though the e-mail is to be delivered locally. If I do
add it, e-mail is accepted, but ends up in "/var/spool/exim4/input/"
It doesn't get delivered to the user's homedir.
Now, I read somewhere that exim4 can automatically create a Maildir
directory in the user's homedir if it doesn't exist already. Is this true?
If so, how do I make that work?
I tried "maildirmake /home/name/Maildir" under "root" and that creates the
maildir, but ownership is "root:root".
Courier-imap can not access this then unless I manually do "chown -R
name:name /home/name/Maildir", but then exim probably can't deliver it
I'm I correctely assuming that by default exim4 tries to deliver the
messages to the user's homedir, and doesn't rely on procmail or something?
Somebody please advise. I've been struggling for 2 days with this.