Toon posts:

[sendmail] host name lookup failure

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hoe zet ik de optie uit dat sendmail de hosts niet gaat resolven

Foutmelding in /var/log/mail.log is als volgt "host name lookup failure"

mijn sendmail.mc

define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.12.3-4 2002-04-15 17:35:56 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
dnl #
dnl # General defines
dnl #
dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()
dnl # into this directory before writing files.
dnl # If *all* your user accounts are under /home then use that
dnl # instead - it will prevent any writes outside of /home !
dnl # define(`confSAFE_FILE_ENV', `')dnl
LOCAL_CONFIG
MASQUERADE_AS(`blaat.nl')dnl
FEATURE(`nocanonify')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
dnl # HACK(`nodns')dnl
FEATURE(`mailertable')dnl
FEATURE(`smrsh')dnl
dnl #
dnl # Dialup/LAN connection overrides
dnl #
dnl # include(`/etc/mail/dialup.m4')dnl
dnl # include(`/etc/mail/provider.m4')dnl
dnl #
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl

LOCAL_CONFIG
## Custom configurations below (will be preserved)

  • miniBSD
  • Registratie: Augustus 2002
  • Laatst online: 20-12-2023
Je moet
code:
1
2
3
FEATURE(`nodns')dnl
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`accept_unqualified_senders')dnl
opnemen in je configuratie.

Quidquid latine dictum sit, altum sonatur (Whatever is said in Latin sounds profound).


Verwijderd

Topicstarter
FEATURE(`accept_unresolvable_domains')dnl

is dit niet al genoeg?

Verwijderd

Topicstarter
Ja blijkbaar is alleen de regel "FEATURE(`accept_unresolvable_domains')dnl" genoeg.
De mail komt nu allemaal in 1 x aan.

  • Freee!!
  • Registratie: December 2002
  • Laatst online: 10-05 10:54

Freee!!

Trotse papa van Toon en Len!

Verwijderd schreef op 10 February 2003 @ 12:46:
Ja blijkbaar is alleen de regel "FEATURE(`accept_unresolvable_domains')dnl" genoeg.
De mail komt nu allemaal in 1 x aan.
offtopic:
Had je niet beter Afbeeldingslocatie: http://gathering.tweakers.net/global/templates/got/images/icons/edit.gif kunnen gebruiken?

The problem with common sense is that sense never ain't common - From the notebooks of Lazarus Long

GoT voor Behoud der Nederlandschen Taal [GvBdNT