[Exim] Re: SMTP/POP3 Splits

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Miquel van Smoorenburg
Data:  
Para: exim-users
Asunto: [Exim] Re: SMTP/POP3 Splits
In article <000001c2687e$2d7d0050$650212ac@dougpc>,
Doug Milns <doug.milns@???> wrote:
>Can anyone please help with this - its driving me mad!
>
>I am running exim 3.36 serving email for virtual domains. This is being
>handled as per the alias style example configuration and works well for
>delivering mail to local popboxes. I have a need however to deliver SOME
>emails for a domain to local popboxes and forward the remainder onto
>another SMTP server (in this case an in house server on the customers
>site) This is possible with sendmail by having a user@???
>%1@doman-name-referring-to-alt-server. entry in a virtual users table.
>There surely must be some way I can achieve this with exim?!


Sure. If your alias file looks like user1@???    localuser
you can expand the data before processing it, using ${expand: }.
That way you can put $local_part in the alias file.


*@domain.com        $local_part@other_domain.com


Exact syntax depends on your current director.

Mike.