Postfix+access.db+smtp relay

rad0 misovic rado na freejane.sk
Neděle Červen 24 20:24:54 CEST 2001


Zdar.

Pohlad do /etc/postfix/main.cf :

# The relay_domains parameter restricts what clients this mail system
# will relay mail from, or what destinations this system will relay
# mail to.  See the smtpd_recipient_restrictions restriction in the
# file sample-smtpd.cf.
#
# By default, Postfix relays mail
# - from trusted clients whose IP address matches $mynetworks, 
# - from trusted clients matching $relay_domains or subdomains thereof,
# - from untrusted clients to destinations that match $relay_domains
#   or subdomains thereof, except addresses with sender-specified routing.
# The default relay_domains value is $mydestination.
# 
# In addition to the above, the Postfix SMTP server by default accepts mail
# that Postfix is final destination for:
# - destinations that match $inet_interfaces,
# - destinations that match $mydestination
# - destinations that match $virtual_maps.
# These destinations do not need to be listed in $relay_domains.
# 
# Specify a list of hosts or domains, /file/name patterns or type:name
# lookup tables, separated by commas and/or whitespace.  Continue
# long lines by starting the next line with whitespace. A file name
# is replaced by its contents; a type:name table is matched when a
# (parent) domain appears as lookup key.
#
# NOTE: Postfix will not automatically forward mail for domains that
# list this system as their primary or backup MX host. See the
# permit_mx_backup restriction in the file sample-smtpd.cf.
#
relay_domains = $mydestination


... a je to :-)
				rad0



On Fri, Jun 22, 2001 at 11:18:35AM +0200, Zkoumalek wrote:
> Dobry den.
> Mam nainstalovany SuSE linux 7.1 cz. Pro odesilani posty pouzivam Postfix. Problem je v tom, ze pres nas server muze kazdy posilat e-maily. Zkousel jsem to nastavit podle manualu - access => access.db, ale nedari se mi to. Mohli byste me, prosim, nasmerovat? Potreboval bych zamezit posilani e-mailu pres nas server ze vsech domen, krome domeny "nase.domena.cz".
> 
> Predem dekuji za nasmerovani.
> S pozdravem
> T. Zkoumalek

-- 

raTboy  --> rad0van misovic 
Public key:
     http://pks.pgp.cz:11371/pks/lookup?op=index&search=rado@freejane.sk

     1024D/3079CCFA 2001-03-03 rad0van misovic <rado na freejane.sk>
     Key fingerprint = 0159 7A31 F1E1 DA0F 2D1B  5F20 A9E1 850A 3079 CCFA

>>> Polární medvěd je kartézským medvědem v transformovaných souřadnicích


Další informace o konferenci Linux