Exim4 dynamic plus addressing

  • Posted July 31, 2014


I have Ubuntu and Exim4, where I’d like to enable “plus addressing”, in order to be able to use dynamic aliases.

I’ve been told I need to insert this in exim.conf:

local_part_suffix = +*

I don’t have exim.conf so I opened exim4.conf. But there I see “#–AUTOMATICALLY GENERATED - DO NO EDIT!”. I searched a bit and it looks like on Ubuntu/Debian I should work with exim4.conf.template or update-exim4.conf.conf then run update-exim4.conf but it doesn’t seem to work.

Someone already successfully configured this?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

On Ubuntu, the master configuration file is actually /var/lib/exim4/config.autogenerated You can make your changes in the /etc/exim4/update-exim4.conf file. After that, you need to run:

sudo update-exim4.conf
sudo service exim4 restart

Check out the docs on the Ubuntu wiki.