[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim wildcard mailbox



patrick@kirks.net (Patrick) wrote:
>I want to add a default mailbox that gets all mail not meant for
>specific users.  For example, sales@ or info@ and anything@
>
>With fetchmail and a .forward file, this is easy.  But how can it be
>done with exim?

Put something like [1] the following at the end of the list of directors
in your /etc/exim.conf:

defaultuser:
  driver = smartuser
  new_address = catch_all_address
  no_verify_recipient
  no_verify_sender

Have a look at the documentation of the smartuser director in chapter 24
of /usr/doc/exim/spec.txt.gz, particularly the description of how
new_address is handled.

You can also have directors like this depend on the local part to which
the mail was sent; see the documentation of local_parts in chapter 19 of
the above specification.

[1] That is, I haven't tested it :)

-- 
Colin Watson                                           [cjw44@cam.ac.uk]


Reply to: