Exim: how to set up an email address?

I'm new to Exim and I'm having a hard time figuring out this:

How can I tell Exim to accept mail to the address foo@example.com and deliver it to the local user foouser, which mail is stored in /var/mail/foouser in mbox format?

The domain is specified in /etc/exim4/update-exim4.conf.conf like this: dcotherhostnames='example.com'

Debian version 7.5

3 Replies

Why would you pick the oh so obscure (and convoluted) Exim instead of PostFix?

Using debian defaults is worth it sometimes… exim was a steep learning curve in the beginning. I have been there.

this link may help:

http://serverfault.com/questions/173104 … tc-aliases">http://serverfault.com/questions/173104/understanding-exim4s-etc-aliases

I use exim4(since lenny) along with sa-exim(spamassasin plugin) and it has worked very well.

Thanks, Motohoss. That link led me to http://www.debian-administration.org/articles/140 which provided a good solution :-)


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct