Question

Exim4 dynamic plus addressing

Posted July 31, 2014 4.5k views

Hi,

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 = +*
local_part_suffix_optional

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?

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.

×
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.

Submit an Answer