[linux] Postfix

Peter Mann Peter.Mann na tuke.sk
Úterý Březen 12 05:21:45 CET 2002


On Mon, Mar 11, 2002 at 05:09:33PM +0100, Ronald Pupala wrote:
> Na internej sieti nepoužívame FQDN. Ako donútiť Postfix na mojej stanici,
> aby ich nevyžadoval ?
> Relayhost, ktorý používam má FQDN zo strany i-netu, ale z intranetu je tiež
> bez FQDN, a takto by som chcel svoj Postfix aj nastaviť.

myslim, ze by stacilo pridat rozsah ip adries internej siete do
mynetworks v main.cf:

# The mynetworks parameter specifies the list of "trusted" SMTP
# clients that have more privileges than "strangers".
#
# In particular, "trusted" SMTP clients are allowed to relay mail
# through Postfix.  See the smtpd_recipient_restrictions parameter
# in file sample-smtpd.cf.
#
# You can specify the list of "trusted" network addresses by hand
# or you can let Postfix do it for you (which is the default).
#
# By default (mynetworks_style = subnet), Postfix "trusts" SMTP
# clients in the same IP subnetworks as the local machine.
# 
# Specify "mynetworks_style = class" when Postfix should "trust" SMTP
# clients in the same IP class A/B/C networks as the local machine.
# Don't do this with a dialup site - it would cause Postfix to "trust"
# your entire provider's network.  Instead, specify an explicit
# mynetworks list by hand, as described below.
#  
# Specify "mynetworks_style = host" when Postfix should "trust"
# only the local machine.
# 
#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host

# Alternatively, you can specify the mynetworks list by hand, in
# which case Postfix ignores the mynetworks_style setting.
#
# Specify an explicit list of network/netmask patterns, where the
# mask specifies the number of bits in the network part of a host
# address.
#
# You can also specify the absolute pathname of a pattern file instead
# of listing the patterns here.
#
#mynetworks = 168.100.189.0/28, 127.0.0.0/8

-- 

5o   Peter.Mann at tuke.sk
     KLFMANiK ICQ 12491471
         PM2185-RIPE




Další informace o konferenci linux