[Exim] Help - .forward and userunknown

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: David McNab
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Help - .forward and userunknown
Hi,

I have a need to allow emails sent to *anyone*@???.

To that end, I've got the following in my /etc/exim.conf:

  userunknown:
    driver = smartuser
    transport = local_delivery
    user = david
    new_address = david@???
  end


When email comes in that's addressed to 'david@???', my
.forward file gets invoked - fine.

But when email comes in that's addressed to someone else, eg an address
I've used in a website sign-up, eg 'nytimes@???', my .forward
gets ignored.

Can anyone please suggest something I can put into exim.conf, so that
all unknown recipients' emails get forwarded to my main mailbox, but
where my .forward file gets invoked too?

I'd vastly prefer if this can be done without having to add each
separate address to my aliases file.

Thanks so much!

David