sendmail ignoriert nsswitch



Hi,

ich habe gerade mühsam ein eigentlich simples szenario
zum Laufen bekommen.

Ein FreeBSD-Host mit sehr begreenzter Weltsicht soll hin und
wieder Mail verschicken.

Dazu hat er genau einen Smarthost und genau gar keinen DNS.

Das Smarthost-Feature - wiewohl richtig konfigurieret - wird
von sendmail fröhlich ignoriert.

Ebenfalls ignoriert wird
- der Smarthost als name, der in /etc/hosts steht
- beide Varianten in eckigen Klammern

Erst wenn man ein file /etc/mail/service.switch anlegt und mit

"hosts files"

befüllt, wird plötzlich das Smarthost Makro korrekt ausgewertet
und die Mail ausgeliefert. Ohne das landet die Mail in der
clientmailqueue und wird nah einigen Stunden mit "DNS Error"
gebounced.

Dieses File ist unter FreeBSD völlig undokumentiert. Auch die
diversen Anleitungen für die Smarthost-Verwendung erwähnen es
nicht.

Frage(n):

- sollte sendmail nicht /etc/nsswitch.conf auswerten?
- gibts ein setting, das DNS anders unterdrückt ?
- sollte Smarthost nicht auf jeden Fall gehen (IIRC war
das früher so)
- oder macht das sowieso jedermann heute per mailertable ?

Und, nein, Postfix ist an genau dieser Stelle nicht angesagt.

Gruß

Christoph Weber-Fahr
.



Relevant Pages

  • Re: SBS 2003 - Exchange SMTP - send mail by DNS
    ... Point taken about simply using smarthost for all outgoing mail being ... We were happy using DNS to send directly out from our Server [as it kept us ... our ISP become our problem in terms of sending mail outwards... ...
    (microsoft.public.windows.server.sbs)
  • Re: Exchange Problem
    ... required solution when people have trouble sending to certain email domains. ... Simply switch from DNS to SmartHost and enter the name of your ISP's ... >>SMTP Connector properties). ...
    (microsoft.public.windows.server.sbs)
  • Re: Unable to send email through firewall
    ... When you setup mail in the CEICW dit you setup to use DNS or Smarthost to ... Do you have a Domain registered on the Internet? ... Are you sending DNS or Smarthost? ...
    (microsoft.public.windows.server.sbs)
  • Re: Reverse DNS and SMTP/POP3 mail
    ... Small Business Server 2003 and WSBS Best Practices). ... > smarthost for almost 2yrs now and I have never had a problem. ... > stand-alone Outlook or Outlook Express. ... if your really want to use DNS... ...
    (microsoft.public.windows.server.sbs)
  • PTR Records and hosting our own mail
    ... We are hosting our own mail on our SBS2k3, and using DNS to send mail. ... through a SmartHost). ... Company C contracts with Company B to provide mail services to the DSL ... accounts, ...
    (microsoft.public.windows.server.sbs)

Loading