Exim4 dynamic plus addressing

July 31, 2014 2.1k views


I have Ubuntu and Exim4, where I'd like to enable "plus addressing", in order to be able to use some+alias@example.com 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?

1 Answer

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.

Have another answer? Share your knowledge.