Re: [EXIM] question on .forward

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: patl
Data:  
Para: arb-exim
CC: exim-users
Asunto: Re: [EXIM] question on .forward
> Hello. It's me again. ... Now I just have one small problem:
>
> if mail comes in from the outside for a virtual domain, and gets delivered
> into a POP account, it will have the correct envelope-to header, eg:
>
> Envelope-to: user@??? (the RCPT TO)
>
> However, if I originate mail locally to the POP account on my system, then
> the message gets delivered with an evelope-to of my local domain, eg:
>
> envelope-to: pop_account@???


Did you address the mail to 'pop_account' or to 'user@???' ?

> In the qmail system, I solved this by having a .qmail file in the POP
> account's home directory that forwarded the message to
> postmaster@???. The message gets injected into the queue from
> the top and processed like any other incoming mail via SMTP. I tried the
> same with exim by having a .forward
> file forwarding to postmaster@???, but the envelope-to header
> still has the local domain in it. Is there any way to put the virtual
> domain into the envelope for locally generated mail? We need to do this
> because when we send out bulletins, we want the postmasters of the virtual
> domians to receive the same mail as our local dial-in users (mostly about
> upgrade work which will affect them too).


It should work fine if you actually address the mail to the virtual
address instead of directly to the POP account.



-Pat

--
*** Exim information can be found at http://www.exim.org/ ***