Andreas Winkelmann schrieb:
Am Sonntag, 29. Februar 2004 22:21 schrieb Matthias Appel:
Das war's wohl irgendwie. Ich habe jetzt meinem Router im DNS
explizit localhost = 127.0.0.1 beigebracht und komme immerhin etwas
weiter:
Wäre es nicht geschickter, die Namensauflösung erst über die
/etc/hosts zu machen und erst dann den DNS-Server abzufragen.
Das hab' ich versucht und folgendes sollte doch eigentlich richtig sein:
pundit:~ # grep localhost /etc/hosts
127.0.0.1 localhost
::1 localhost ipv6-localhost ipv6-loopback
pundit:~ # grep -e '^[a-z]' /etc/host.conf
order hosts, bind
multi on
pundit:~ # grep hosts /etc/nsswitch.conf
hosts: files dns
pundit:~ # less /etc/resolv.conf
nameserver 10.0.0.1
search local.gadma.net
Aber trotzdem erhalte ich:
pundit:~ # host localhost
Host localhost not found: 3(NXDOMAIN)
obwohl natürlich:
pundit:~ # ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.021 ms
funktioniert.
id=02430-01, virus_scan FAILED: NO VIRUS SCANNERS AVAILABLE (in reply to
end of DATA command))
Vielleicht solltest Du einen Virenscanner installieren?
Hm, da hat bei mir das Wald und Bäume Problem zugeschlagen. Mit einem
installierten Virenscanner kommt dann auch Email an. :-)
Dumm nur, daß es von dem FQDN localhost.local.gadma.net ausgeht, das
ist falsch, aber egal.
Irgendwoher wird das Sytem diesen fqdn haben, check das und ändere es. Im Log
fehlte der Teil.
Hm, ich weiß nicht genau wo ich das finden kann. Hier mal ein frischer
Auszug aus /var/log/mail:
postfix/smtpd[9388]: connect from localhost[127.0.0.1]
postfix/smtpd[9388]: 763C9140C6: client=localhost[127.0.0.1]
postfix/cleanup[9390]: 763C9140C6: message-id=<030289490420.pVb6tu6oVcuXuk@localhost>
postfix/qmgr[28952]: 763C9140C6: from=, size=5838, nrcpt=1 (queue active)
amavis[25474]: (25474-02) ESMTP::10024 /var/spool/amavis/amavis-20040301T220213-25474: -> <post at localhost.local.gadma.net> Received: SIZE=5838 from pundit.local.gadma.net ([127.0.0.1]) by localhost (pundit [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25474-02 for <post at localhost.local.gadma.net>; Mon, 1 Mar 2004 22:14:45 +0100 (CET)
amavis[25474]: (25474-02) Checking: -> <post at localhost.local.gadma.net>
postfix/smtpd[9388]: disconnect from localhost[127.0.0.1]
amavis[25474]: (25474-02) spam_scan: hits=3.4 tests=FORGED_RCVD_TRAIL,HTML_30_40,HTML_MESSAGE,RCVD_IN_NJABL,SUBJ_FOR_ONLY
amavis[25474]: (25474-02) SPAM-TAG, -> <post at localhost.local.gadma.net>, No, hits=3.4 tagged_above=3.0 required=5.0 tests=FORGED_RCVD_TRAIL, HTML_30_40, HTML_MESSAGE, RCVD_IN_NJABL, SUBJ_FOR_ONLY
amavis[25474]: (25474-02) FWD via SMTP: [127.0.0.1:10025] -> <post at localhost.local.gadma.net>
postfix/smtpd[9396]: connect from localhost[127.0.0.1]
postfix/smtpd[9396]: EF4A1140DD: client=localhost[127.0.0.1]
postfix/cleanup[9390]: EF4A1140DD: message-id=<030289490420.pVb6tu6oVcuXuk@localhost>
postfix/qmgr[28952]: EF4A1140DD: from=, size=6461, nrcpt=1 (queue active)
amavis[25474]: (25474-02) Passed, -> <post at localhost.local.gadma.net>, Message-ID: <030289490420.pVb6tu6oVcuXuk@localhost>, Hits: 3.4
amavis[25474]: (25474-02) TIMING [total 2883 ms] - SMTP EHLO: 1 (0%), SMTP pre-MAIL: 0 (0%), SMTP pre-DATA-flush: 2 (0%), SMTP DATA: 79 (3%), body hash: 0 (0%), mime_decode: 17 (1%), get-file-type: 9 (0%), get-file-type: 7 (0%), decompose_part: 2 (0%), decompose_part: 0 (0%), parts: 0 (0%), AV-scan-1: 157 (5%), SA msg read: 1 (0%), SA parse: 1 (0%), SA check: 2489 (86%), fwd-connect: 13 (0%), fwd-mail-from: 1 (0%), fwd-rcpt-to: 2 (0%), write-header: 3 (0%), fwd-data: 0 (0%), fwd-data-end: 94 (3%), fwd-rundown: 1 (0%), unlink-2-files: 3 (0%), rundown: 0 (0%)
postfix/smtp[9392]: 763C9140C6: to=<post at localhost.local.gadma.net>, orig_to=<post at localhost>, relay=localhost.local.gadma.net[127.0.0.1], delay=4, status=sent (250 2.6.0 Ok, id=25474-02, from MTA: 250 Ok: queued as EF4A1140DD)
postfix/smtpd[9396]: disconnect from localhost[127.0.0.1]
postfix/pipe[9398]: EF4A1140DD: to=<post at localhost.local.gadma.net>, relay=cyrus, delay=1, status=sent (pundit.local.gadma.net)
Was kann ich denn noch prüfen?
Hm, das frag ich mich auch ;-)
Selbstgespräch ? ;-)
Tja, die langen Abende vor dem flackernden Monitor hinterlassen dann
doch ihre Spuren.
--
MFG Matthias Appel