Sendmail a zvedani linky
Tomas Lada
Lada na bitservis.cz
Pátek Březen 8 12:34:38 CET 2002
Zdenek Pizl
<z.p na linux-cd Komu: sendmail na linux.cz
.cz> Kopie:
Předmět: Re: Sendmail a zvedani linky
08.03.2002
11:55
Odpovězte
prosím
uživateli
sendmail
Dne pá 8. březen 2002 12:02 Tomas Lada napsal(a):
> Dne pá 8. březen 2002 10:57 Tomas Lada napsal(a):
> > Dobry den
> > rad bych nastavil sendmail tak, aby vyprazdnoval frontu
> > cca 1x za 4hod. Kdyz totiz posilam e-mail sendmail mi
> > vzdy vytoci a snazi se poslat e-mail hned, coz neni
> > ekonomicke. Rad bych ho presvedcil k tomu, aby vse
> > daval do fronty a jednou za 4 hodiny ji "vypustil do
> > sveta". Mam RH7.2 vytacim pres ppp - dial-on-demand.
> > Sendmail je 8.11.6 - 8.9.3.
>
> viz predchzi mejl a
> http://www.uwsg.iu.edu/edcert/session3/mail/op/op-sh-5.6.
>html
>
>
> z.p. predchozi e-mail si bohuzel asi neprectu, jelikoz
> jsem se prihlasil do konference az ted ....ale rad bych
> :-)
sel i do linux na linux.cz
> V /etc/sendmail.conf mam nastaveno defaultdelivery na
> queue, ale on se pta dns a vzdy vytoci, tak nevim kde
> bych to potlacil.... S pozdravem
snazi se resolvovat nejake DNS jmeno (mate nastaveneho
smarthosta, ze?).
---> ano
Zkuste v /etc/nsswitch.conf nastavit, aby
se ptal nejprve lokalne (hosts) a pak az DNS, a do
/etc/host pridejte radek resolvujici Vaseho smarthosta ...
^^^^^^^^^^
---> /etc/hosts radek pro "smarta" jsem doplnil
tady je muj /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also
called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db)
files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files nisplus
shadow: files nisplus
group: files nisplus
#hosts: db files nisplus nis dns
hosts: files nisplus dns ------> tohle jste myslel?
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files nisplus
rpc: files
services: files nisplus
netgroup: files nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
Tohle jsem zmenil a nezabralo to.........
Jinak na tom server bezi jeste DNS - bind
S pozdravem
Tomas Lada
Další informace o konferenci Sendmail