On Tue, 13 Feb 2001, [iso-8859-2] Szirányi András wrote:
> I'd like to configure my mail server that i accept mails from only my
mail users (with only my domains). Because of I haven't got a fix IP
range I can't denied relaying for domains, so now my config file like
this:
> local_domains = localhost:lsearch;/etc/mail/domains
> relay_domains = *
^
This makes you into an open relay. Do not do it.
> host_accept_relay = localhost
This will never be tested because all domains are in relay_domains.
> sender_address_relay = my.test.domain
Sender addresses are trivially forged. However, this also won't be
tested, because all domains are in relay_domains. The manual isn't
clear on this; sender_address_relay applies only to "outgoing" relaying.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.