logs archiveIRC Archive / Freenode / #exim / 2015 / August / 8 / 1
bishopj
hello, is there a way to set a default recipient for all incoming emails? Aka if email arrives for an account that doesn't exist, accept the message anyway and forward it to say the root user
henk
sure, thats more or less the definition of 'catchall'
bishopj
odd that term is not found in the exim man page or the specification file in debian >.<
henk
yes, its a term describing a kind of setup one can build with exim, not simply an option in exim. There might be something in the wiki &
bishopj
the closest thing I think I found was this line in a debian mailing list from 4 years ago: *@yourdomain.com dropall@yourdomain.com T
something like appending that at the end of the exim.conf to achieve the desired affect
Another alternate version mentioned putting something in the DIRECTORS part but that does not seem to be in the documentation either.
henk
great! looked at the wiki yet?
bishopj
The github wiki? trying to
The exim tutorial page is blank and github wiki does not do content seach
henk
yeah, right & the wiki is a bit hard to use /-:
bishopj
This seems like the sort of thing that has been asked hundreds of times before but the answers seem rather vague. And unfortunately google searching for the terms found is not bringing up anything really useful.
         

henk
https://github.com/Exim/exim/wiki/Q0418 comes close to what you want, right?
There is also https://wiki.debian.org/PkgExim4UserFAQ#How_do_I_configure_a_catch-all.3F
bishopj
maybe, I'll try adding that change to my aliases file and hopefully that will work
henk
TIMTOWTDI as usual. I guess Id make a redirect router and put it in a sensible position. But maybe Im overlooking something and its not that simple &
bishopj
maybe I am missing a step somewhere, besides restarting exim do I need to do anything to load the updated alias file?
henk
no, but maybe you need to rebuild your config. debians config needs some reading and getting used to & There is https://github.com/Exim/exim/wiki/DebianExim4 and /usr/share/doc/exim4-base/README.Debian.gz
bishopj
That only says: 1 add a * to the lsearch statement in the system_aliases router, giving lsearch* 1 add a line *: your.catchall.target.example to /etc/aliases
but no clue what file that is in
henk
then you need to read about how to deal with your distributions config layout (:
bishopj
is there any distribution config layout you are familiar with that I can use as an example to achieve this sort of functionality?
Ok debian dpkg-reconfigure, set to single file. Now have a single file /etc/exim4/exim4.conf; literally a stock file on a brand new vps.
« prev