Re: [Exim] virtual headaches

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: insane bob, Andromeda
CC: Exim
Tárgy: Re: [Exim] virtual headaches
On Tue, 9 Jan 2001, insane bob wrote:

> I have several virtual domains set up....they all used
> to work just fine but that is irrelevant. right now,
> exim will not allow mail sent from these virtual
> domains to any outside host, after running exim -bh
> 127.0.0.1 it appears that exim thinks it would be
> relaying mail from a foreign source to a foreign
> destination (and since every domain in the world is
> not in relay_domains, it refuses to send the
> mail)....how can I get it to realize that the virtual
> domains are local??? I have it set it local_domains
> and all of the other proper places, and they can
> receive mail no problem....


127.0.0.1 is not treated specially. Just allow it to relay, by setting

host_accept_relay = 127.0.0.1

If you RTFM about relaying, you will find this documented in section
46.4 "Control of relaying" in the current Exim manual.


On Wed, 10 Jan 2001, Andromeda wrote:

> At 19:46 09/01/2001 -0800, you wrote:
> >it didn't work...in fact, the behavior didn't change
> >at all, it still gives it's reason for refusing that
>
> *erm* *cough* Add this:
>
> host_accept_relay = *


NO! Do not do this. It allows any host to relay through your box, and
setting sender_address_relay isn't a very strong guard - anybody can
forge senders.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.