
Hans-Robert Wagner wrote:
Am Mittwoch, 17. September 2003 22:01 schrieb Axel Dreher:
postconf -n:
mydestination = $myhostname, localhost.$mydomain mydomain = linux.local myhostname = linux
Das sieht für mich falsch aus, richtig(er) wäre: mydomain=local myhostname=linux.local oder: mydomain=local.mydomain.de myhostname=linux.local.mydomain.de
Ändere das mal und dann 'rcpostfix reload'. Dann mal weitersehen.
Ich habe den oberen Versuch gemacht. Ergebnis: tail -20 /var/log/mail: Sep 19 10:45:19 linux postfix/smtpd[2080]: connect from localhost[127.0.0.1] Sep 19 10:45:19 linux postfix/smtpd[2080]: 46E08FDE9: client=localhost[127.0.0.1] Sep 19 10:45:19 linux postfix/cleanup[2081]: 46E08FDE9: message-id=<200309191015.10912.a.kyek@vodafone.com> Sep 19 10:45:19 linux postfix/qmgr[2035]: 46E08FDE9: from=<suse-linux-return-269753-axeldreher=gmx.de@suse.com>, size=2865, nrcpt=1 (queue active) Sep 19 10:45:19 linux postfix/smtpd[2080]: 70569FDEA: client=localhost[127.0.0.1] Sep 19 10:45:19 linux postfix/smtp[2042]: 46E08FDE9: to=<acki@localhost.local>, relay=none, delay=0, status=deferred (SOFT BOUNCE - Name service error for local: Host not found) Sep 19 10:45:19 linux postfix/cleanup[2081]: 70569FDEA: message-id=<2187598860.20030919093717@bikealert.de> Sep 19 10:45:19 linux postfix/qmgr[2035]: 70569FDEA: from=<suse-linux-return-269754-axeldreher=gmx.de@suse.com>, size=3095, nrcpt=1 (queue active) Sep 19 10:45:19 linux postfix/smtpd[2080]: disconnect from localhost[127.0.0.1] Sep 19 10:45:19 linux postfix/smtp[2040]: 70569FDEA: to=<acki@localhost.local>, relay=none, delay=0, status=deferred (SOFT BOUNCE - Name service error for local: Host not found) Wie man sieht, will er zumindest die eingehende Mail nicht mehr nach "draußen" zustellen, sondern intern belassen. Das ist schon mal ein super Fortschritt. Problem jetzt: Er findet local nicht...
/etc/postfix/virtual: axeldreher@gmx.de acki@linux.local
Du brauchst nichts umschreiben (envelope), weil fetchmail ja schon an acki@localhost umschreibt.
Ok, das habe ich rausgenommen.Danke.
/etc/postfix/canonical: acki@linux axeldreher@gmx.de acki@linux.linux.local axeldreher@gmx.de acki@linux.local axeldreher@gmx.de acki@localhost.linux.local axeldreher@gmx.de root@linux.local axeldreher@gmx.de root@linux axeldreher@gmx.de root@linux.linux.local axeldreher@gmx.de root@localhost.linux.local axeldreher@gmx.de
Wozu brauchst Du canonical? Hast Du keinen vernünftigen MUA? Jedenfalls ist Dein Problem in der Fehlkonfiguration von 'myhostname' oder 'mydomain' zu suchen _oder_ es ist doch eine Restriktion aktiv, die ich bis jetzt übersehen habe.
Das mit der canonical hab ich irgendwo gelesen.Erst nachdem ich es drin hatte, konnte ich Mails versenden. MUA? Hehe, also testweise hab ich einfach das "mail" - Kommando von der Kommandozeile genommen, ist das ein vernünftiger MUA? Ich glaubs ja nicht.. ;-) Diese Mails schreibe ich direkt über Mozilla Mail ohne Postfix direkt an die Liste.
Canonical 'versteckt' den eigentlichen Absender, in dem er den Header (From:) und den Envelope umschreibt.
Danke. Achso: zu dem obigen Log-Auszug habe ich hier noch den korrespondierenden Fetchmail-Auszug, schaut total anders aus.. fetchmail -a -k -vvvv: Aufpassen, das ist lang! fetchmail: 5.9.0 querying gmx (protocol POP3) at Fre 19 Sep 2003 10:45:15 CEST fetchmail: POP3< +OK GMX POP3 StreamProxy ready <24950.1063961114@mp006> fetchmail: POP3> CAPA fetchmail: POP3< -ERR Unknown command. fetchmail: Unknown command. fetchmail: POP3> USER 18079363 fetchmail: POP3< +OK May I have your password, please? fetchmail: POP3> PASS * fetchmail: POP3< +OK mailbox has 2 messages (5396 octets) fetchmail: selecting or re-polling default folder fetchmail: POP3> STAT fetchmail: POP3< +OK 2 5396 2 messages for 18079363 at pop.gmx.de (5396 octets). fetchmail: POP3> LIST fetchmail: POP3< +OK mailbox has 2 messages (5396 octets) fetchmail: POP3< 1 2583 fetchmail: POP3< 2 2813 fetchmail: POP3< . fetchmail: POP3> RETR 1 fetchmail: POP3< +OK message follows reading message 1 of 2 (2583 octets) About to rewrite Return-Path: <suse-linux-return-269753-axeldreher=gmx.de@suse.com> Rewritten version is Return-Path: <suse-linux-return-269753-axeldreher=gmx.de@suse.com> About to rewrite From: Andreas Kyek <a.kyek@vodafone.com> Rewritten version is From: Andreas Kyek <a.kyek@vodafone.com> About to rewrite To: suse-linux@suse.com Rewritten version is To: suse-linux@suse.com fetchmail: SMTP< 220 linux.local ESMTP Postfix on SuSE Linux 8.0 (i386) fetchmail: SMTP> EHLO localhost fetchmail: SMTP< 250-linux.local fetchmail: SMTP< 250-PIPELINING fetchmail: SMTP< 250-SIZE 10240000 fetchmail: SMTP< 250-VRFY fetchmail: SMTP< 250-ETRN fetchmail: SMTP< 250-XVERP fetchmail: SMTP< 250 8BITMIME fetchmail: forwarding to localhost fetchmail: SMTP> MAIL FROM:<suse-linux-return-269753-axeldreher=gmx.de@suse.com> BODY=8BITMIME SIZE=2583 fetchmail: SMTP< 250 Ok fetchmail: SMTP> RCPT TO:<acki@localhost> fetchmail: SMTP< 250 Ok fetchmail: SMTP> DATA fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF> #**********************************fetchmail: SMTP>. (EOM) fetchmail: SMTP< 250 Ok: queued as 46E08FDE9 not flushed fetchmail: POP3> RETR 2 fetchmail: POP3< +OK message follows reading message 2 of 2 (2813 octets) About to rewrite Return-Path: <suse-linux-return-269754-axeldreher=gmx.de@suse.com> Rewritten version is Return-Path: <suse-linux-return-269754-axeldreher=gmx.de@suse.com> About to rewrite From: Stefan Onken <it-support@bikealert.de> Rewritten version is From: Stefan Onken <it-support@bikealert.de> About to rewrite Reply-To: Stefan Onken <it-support@bikealert.de> Rewritten version is Reply-To: Stefan Onken <it-support@bikealert.de> About to rewrite To: SuSE Linux-Liste <suse-linux@suse.com> Rewritten version is To: SuSE Linux-Liste <suse-linux@suse.com> fetchmail: forwarding to localhost fetchmail: SMTP> MAIL FROM:<suse-linux-return-269754-axeldreher=gmx.de@suse.com> BODY=8BITMIME SIZE=2813 fetchmail: SMTP< 250 Ok fetchmail: SMTP> RCPT TO:<acki@localhost> fetchmail: SMTP< 250 Ok fetchmail: SMTP> DATA fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF> #*******************************fetchmail: SMTP>. (EOM) fetchmail: SMTP< 250 Ok: queued as 70569FDEA not flushed fetchmail: POP3> QUIT fetchmail: POP3< +OK bye fetchmail: not swapping UID lists, no UIDs seen this query fetchmail: SMTP> QUIT fetchmail: SMTP< 221 Bye fetchmail: Deleting fetchids file. fetchmail: normal termination, status 0 fetchmail: Deleting fetchids file. Was soll das rewrite? Das hatte ich auch noch nicht. Was meint er mit fetchids file ganz am Ende? Vielen Dank für eure Tips, ich sehe echt Fortschritte. Das Procmail habe ich erst mal rausgenommen. Postfix soll selber zustellen. Gruß Axel