Hallo, Am Mon, 05 Jun 2000 schrieb Steffen Moser:
Die Zeilen:
FEATURE(`accept_unresolvable_domains')dnl FEATURE(`accept_unqualified_senders')dnl
in der "mc"-Datei (die zur Generierung der "sendmail.cf" ueber "m4" verwendet wird) sollten Abhilfe schaffen. Ueber YaST ist es -glaube ich- auch einstellbar...
Ich habe (bevor ich deine mail gelesen habe) die Datei sendmail.mc
erstellt und sie nach /usr/share/sendmail/m4/ kopiert:
divert(-1)
include(`../m4/cf.m4')
VERSIONID(`@(#)sendmail.mc 1.0 by Randolf.Skerka@TU-Clausthal.DE')
FEATURE(nouucp)
OSTYPE(linux)
MAILER(local)
MAILER(smtp)
define(`ALIAS_FILE',`/etc/mail/aliases')
define(`LOCAL_RELAY',local:`localhost')
define(`SMART_HOST', `192.168.0.1')
define(`confCOPY_ERRORS_TO', `Postmaster')
define(`confTO_QUEUERETURN', `2d')
define(`confUSERDB_SPEC',`/etc/mail/userdb.db')
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`accept_unqualified_senders')dnl
In /etc/mail/userdb.db habe ich folgende Zeile eingetragen.
janto:mailname meine@email.adresse
Dann habe ich wie in
http://www.linux-magazin.de/ausgabe/1997/05/Internet/internet1.html
beschrieben "m4 ./sendmail.mc > /etc/sendmail.cf" ausgeführt.
Nun funktioniert zwar sendmail aber wo wird meine mail
gespeichert? :-)
Schön wäre wenn sie in /home/user/mail/inbox gespeichert würde. Wie
bringe ich das sendmail / fetchmail bei?
Hier die ausgabe von fetchmail:
fetchmail: 5.3.0 querying 192.168.0.1 (protocol POP3) at Tue, 06 Jun
2000 21:07:
23 +0200 (CEST)
fetchmail: POP3< +OK WinRoute Pro 4.0 POP3 server ready <230.9603219
75@no.host>
fetchmail: POP3> USER janto
fetchmail: POP3< +OK please send PASS command
fetchmail: POP3> PASS *
fetchmail: POP3< +OK 1 messages (424 octets)
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 424
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
1 message for janto at 192.168.0.1 (424 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK scan listing follows
fetchmail: POP3< 1 424
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK message 1 (424 octets)
reading message 1 of 1 (424 octets)
fetchmail: SMTP< 220 client01.local ESMTP Sendmail 8.9.3/8.9.3; Tue,
6 Jun 2000
21:07:26 +0200
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-client01.local Hello root@localhost [127.0.0.1]
, pleased to meet you
fetchmail: SMTP< 250-EXPN
fetchmail: SMTP< 250-VERB
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ONEX
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XUSR
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM: