Hi,
On Mon, 27 May 2013, The Doctor wrote:
> In the virtual user file I have
>
>
> user@???: user-group@localhost
>
> The user-group is a legitimate mailbox found in the
> /var/mail directory .
>
> What do I need in the exim configure file to make this work?
If I understand correctly, you want to deliver mail for
user-foo@??? to "user-foo" if user-foo exists as a system user,
otherwise deliver to "user" instead?
I do this by having two routers, identical except that the first one has
no local_part_suffix (so it only accepts the mail if the address matches
exactly) and the second one has a local_part_suffix. If the second one
applies, then the suffix will be removed.
Cheers, Chris.
--
_____ __ _
\ __/ / ,__(_)_ | Chris Wilson <chris+sig@???> Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\__/_/_/_//_/___/ | We are GNU : free your mind & your software |