Title: Setting up exim4 on Debian
Author: Alex Kirk
Published: September 27, 2005
Last modified: October 4, 2005

---

# Setting up exim4 on Debian

September 27, 2005

i have been dealing with setting up a mail server, lately. debian seems to have 
a preference for exim. most of the mail admins i know also support this. so i had
a look at this.

as it always happens to me, i start with a not so easy scenario, but after some 
figuring i got it, mostly by following this guide: [Configuring Exim4 and Courier IMAP under Debian GNU/Linux](http://trekweb.com/~jasonb/articles/exim4_courier/).

what the article does not say (and might be common knowledge — i will still describe
this here for anyone who does this the first time) to have mails addressed to domain
xyz.com be sent to the appropriate mail server, there needs to be a so called MX
entry (mail exchanger). See also section 5 of [RFC 2821](http://www.ietf.org/rfc/rfc2821.txt).

I’ve got some more useful links on this topic:
 [Virtual Domains with Exim + Courier-IMAP + MySQL](http://www.tty1.net/virtual_domains_en.html)
[Eleven Examples for Configuring Exim](http://networking.oreilly.com/news/exim_0701.html)
[Secure Mail Relaying with Exim and OpenSSL](http://jeremy.zawodny.com/blog/archives/000453.html)

there also is the [Exim FAQ](http://www.exim.org/exim-html-4.50/doc/html/FAQ.html)
and the [Exim documentation](http://www.exim.org/exim-html-4.50/doc/html/spec.html),
but I’m not to fond of lots of on-screen reading.

exim, courier imap, debian

[linux](https://alex.kirk.at/category/code/linux/)

Read this next

[PHP and Multibyte](https://alex.kirk.at/2005/04/05/php-and-multibyte/)

### Leave a Reply 󠀁[Cancel reply](https://alex.kirk.at/2005/09/27/setting-up-exim4-on-debian/?output_format=md#respond)󠁿

Only people in [my network](https://alex.kirk.at/friends/) can comment.

This site uses Akismet to reduce spam. [Learn how your comment data is processed.](https://akismet.com/privacy/)