From: Ingo Bruell (ibruell@gmx.de)
Date: Fri Oct 04 2002 - 23:38:30 CEST
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo,
>> MS> a) Was schreibt Postfix denn ins log?
>> Gute Frage, hab ich noch nicht gesehen, irgendwie habe ich das Gefühl
>> das postfix noch nicht involviert ist.
MS> Na, da kommen wir dem Problem doch schon einmal naeher.
>> MS> b) Wie uebergibt fetchmail die mails an postfix? (i.e. sendmail -t oder nicht)
>> Wo finde ich dass denn ?
MS> Kann fetchmail in ein Logfile schreiben? Falls ja, was steht drin?
MS> Falls nein, starte es mit "strace -o logfile fetchmail parameter",
MS> dann kannst Du im logfile *vieles*nachlesen.
So habe ich nu gemacht. Also den Logs nach zu urteilen scheint postfix
doch von fetchmail verwendet zu werden.
Hier ein Schnippsel aus '/var/log/maillog':
- --- snip ---
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F3D991C863: from=<>, size=6346, nrc
pt=1 (queue active)
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F3D991C863: to=<users-admin@lists.f
reeswan.org>, relay=none, delay=612163, status=deferred (unknown mail transport
error)
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F3D991C863: from=<>, status=expired
, returned to sender
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F3C1B1C881: from=<>, size=7182, nrc
pt=1 (queue active)
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F3C1B1C881: to=<jboss-user-admin@li
sts.sourceforge.net>, relay=none, delay=612142, status=deferred (unknown mail tr
ansport error)
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F3C1B1C881: from=<>, status=expired
, returned to sender
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F41DF1C847: from=<>, size=5907, nrc
pt=1 (queue active)
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F41DF1C847: to=<users-admin@lists.f
reeswan.org>, relay=none, delay=612187, status=deferred (unknown mail transport
error)
Oct 4 21:17:36 BueroDB postfix/nqmgr[1749]: F41DF1C847: from=<>, status=expired
, returned to sender
- --- snap ---
Und folgend ein Ausschnitt aus dem log von strace mit fetchmail:
- --- snip ---
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
recv(7, "\r", 1, MSG_PEEK) = 1
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
recv(7, "\r\n<!DOCTYPE HTML PUBLIC \"-//W3C/"..., 8191, MSG_PEEK) = 737
read(7, "\r\n", 2) = 2
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(9, "MAIL FROM:<nobody@virtualisp.co."..., 47) = 47
time([1033766168]) = 1033766168
getpid() = 1767
rt_sigaction(SIGPIPE, {0x402d7ff0, [], 0x4000000}, {0x8056f40, [PIPE], SA_RESTAR
T|0x4000000}, 8) = 0
send(5, "<22>Okt 4 23:16:08 fetchmail[17"..., 89, 0) = 89
rt_sigaction(SIGPIPE, {0x8056f40, [PIPE], SA_RESTART|0x4000000}, NULL, 8) = 0
recv(9, "250 Ok\r\n", 8190, MSG_PEEK) = 8
read(9, "250 Ok\r\n", 8) = 8
time([1033766168]) = 1033766168
getpid() = 1767
rt_sigaction(SIGPIPE, {0x402d7ff0, [], 0x4000000}, {0x8056f40, [PIPE], SA_RESTAR
T|0x4000000}, 8) = 0
send(5, "<22>Okt 4 23:16:08 fetchmail[17"..., 50, 0) = ? ERESTARTSYS (To be res
tarted)
- --- SIGINT (Interrupt) ---
time([1033766168]) = 1033766168
getpid() = 1767
rt_sigaction(SIGPIPE, {0x402d7ff0, [], 0x4000000}, {0x402d7ff0, [], 0x4000000},
8) = 0
send(5, "<22>Okt 4 23:16:08 fetchmail[17"..., 62, 0) = 62
rt_sigaction(SIGPIPE, {0x402d7ff0, [], 0x4000000}, NULL, 8) = 0
open("/root/.fetchids", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10
fstat64(10, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40367000
write(10, "1457260@pop.gmx.de 3b89ccfa1012b"..., 4096) = 4096
write(10, "297e7679e33\n1457260@pop.gmx.de a"..., 4096) = 4096
write(10, "afbd85297c9819966bebf48\n1457260@"..., 4096) = 4096
write(10, "de 7640654888772ef1a7141f44a1066"..., 4096) = 4096
write(10, "260@pop.gmx.de 2c39f7171dc49dae5"..., 4096) = 4096
write(10, "c0801d5\n1457260@pop.gmx.de 2ac09"..., 4096) = 4096
write(10, "81a7ad6a1182144b65b\n1457260@pop."..., 4096) = 4096
write(10, "0849536b0\n.@fwdallmx.t-online.co"..., 51) = 51
close(10) = 0
munmap(0x40367000, 4096) = 0
unlink("/var/run/fetchmail.pid") = 0
munmap(0x40366000, 4096) = 0
_exit(0) = ?
- --- snap ---
Ich hoffe nur das postfix nicht irgendwas an die Leute rausgeschickt
hat.
Ich frage mich, woran postfix erkennen kann das die mails einer
Mailingliste tatsächlich für mich bestimmt sind.
bis dann
Ingo Bruell
- ---
<ibruell@gmx.de>
<Ingo.Bruell@epost.de>
<ICQ# 40377720>
Oldenburg PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E E5FC
Germany PGP-Public-Key available at pgpkeys.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBPZ38To/nxkgWnuX8EQIcXwCeINfy901gQ64gRMPD0zzf52S372EAoJIH
VG2+KXnQ7NLVZBncigJ0A5ok
=jT8Y
-----END PGP SIGNATURE-----
This archive was generated by hypermail 2.1.4 : Fri Oct 04 2002 - 23:37:31 CEST