[Pkg-exim4-users] Catch all mailbox
Martin D Fraser
mdf@darksnow.net
Fri, 8 Apr 2005 15:56:38 +0100
Hello.
I've recently upgraded my exim3 setup to exim4 and all is mainly working
as it should. It picked up most settings from the old setup and I could
immediately send mail through it.
I also have a fetchmail setup collecting mail from two different POP
boxes. The problem I am having is that although mail sent to my username
or an aliase of my username gets to me, mail addressed to an invalid
username doesn't. Under exim3 I had a catch all director which in the
event of all the other directors failing it sent the message to
postmaster, which was as alias for me.
I found a few net postings about doing this in exim4 and created a new
router after all the others with the following:
> catch_all:
> driver = redirect
> data = postmaster # this was a lookup in aliases but I removed it
> no_verify
Now, when fetchmail downloads the mail all mail not to a named alias
gets bounced because the username is unknown (SMTP error 500).
I've asked on the exim4 mailing list but they directed me to here since
the config system is so different.
So, any help setting up a catch all mailbox, ideally using a lookup for
*: in the aliases file, that works for any of the named local domains:
dc_other_hostnames='domain1.co.uk:domain2.net:domain.local'
I hope that is clear and that somebody can help.
Cheers.
Martin...