-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ich möchte fetchmail benutzen um meine Mails from Pop-Server abzuholen, und KMail, um selbige zu lesen. Ausserdem sollen die Mails mit procmail gleich in die richtige Mailbox einsortiert werden. Da ich unter KMail mehrere Unterorder für z.B. Mailinglisten angelegt habe, habe ich in der rc.subscriptions von procmail z.B. folgendes eingetragen: :0: * ^TO_suse-linux@suse.com /home/tom/Mail/.lists.directory/suse-linux Ich habe also unter KMail einen Unterodner "lists", und darin die Mailbox "suse-linux" im mbox-Format. Ok, das funktioniert auch soweit, Mails werden brav einsortiert. Wenn ich aber KMail starte, werden diese nicht als "neu" gekennzeichnet, sondern erscheinen als bereits gelesen. Frage: mach' ich prinzipiell etwas falsch ? - -- Thomas Götz ICQ 22643485 pgp-key available, just ask ;-) -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPeY2fC2qzH/X3zw8EQIcBACgrP5Z6gvcWSHVnzx2HWqy4S2aQBAAn3ig MSs2Hi0o84foX276CfSs8pZv =DnLc -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Donnerstag, 28. November 2002 16:30 schrieb Thomas Goetz:
Ok, das funktioniert auch soweit, Mails werden brav einsortiert. Wenn ich aber KMail starte, werden diese nicht als "neu" gekennzeichnet, sondern erscheinen als bereits gelesen. Korrektur: sie werden wohl beim Start von KMail erstmal gar nicht angezeigt. Ich bin mir aber sicher, dass sie richtig einsortiert wurden, mit pine sehe ich sie z.b.
- -- Thomas Götz ICQ 22643485 pgp-key available, just ask ;-) -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPeY7aS2qzH/X3zw8EQInCgCgv4WHvoaKRrKzm3rfuVc/qZvEzlcAoLsB L657+T9MBF+oDw/jmpimpk3i =XjT3 -----END PGP SIGNATURE-----
On Thu, Nov 28, 2002 at 04:51:02PM +0100, Thomas Goetz wrote:
Ok, das funktioniert auch soweit, Mails werden brav einsortiert. Wenn ich aber KMail starte, werden diese nicht als "neu" gekennzeichnet, sondern erscheinen als bereits gelesen. Korrektur: sie werden wohl beim Start von KMail erstmal gar nicht angezeigt. Ich bin mir aber sicher, dass sie richtig einsortiert wurden, mit pine sehe ich sie z.b.
Funktioniert es, wenn Du die mbox direkt ins Verzeichnis ~/Mail packst? Vielleicht mag KMail es nicht, dass Du eine mbox in einem Unterverzeichnis veränderst? Schliesslich werden mbox-Dateien im "Hauptverzeichnis" auch als Unterordner in der Baumstruktur angezeigt. Nur so ein Gedanke, ohne da was getestet zu haben... Hannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Donnerstag, 28. November 2002 17:00 schrieb Johannes Studt:
Funktioniert es, wenn Du die mbox direkt ins Verzeichnis ~/Mail packst? Vielleicht mag KMail es nicht, dass Du eine mbox in einem Unterverzeichnis veränderst? Schliesslich werden mbox-Dateien im "Hauptverzeichnis" auch als Unterordner in der Baumstruktur angezeigt. verstehe jetzt nicht so ganz was du meinst. Wenn ich die mbox von z.B. ~/Mail/.lists.directory/suse-linux einfach nach ~/Mail/suse-linux verschiebe, dann erscheint sie doch nicht mehr als Unterorder unter KMail. Oder habe ich dich da jetzt falsch verstanden ?
- -- Thomas Götz ICQ 22643485 pgp-key available, just ask ;-) -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPeY/jC2qzH/X3zw8EQJOZgCff588KUOAbiOtqvuujXqQD14bqpoAoKj+ PS1xYAwnAokjMhuVgxpcaadw =7Pg5 -----END PGP SIGNATURE-----
On Thu, Nov 28, 2002 at 05:08:44PM +0100, Thomas Goetz wrote:
verstehe jetzt nicht so ganz was du meinst. Wenn ich die mbox von z.B. ~/Mail/.lists.directory/suse-linux einfach nach ~/Mail/suse-linux verschiebe, dann erscheint sie doch nicht mehr als Unterorder unter KMail. Oder habe ich dich da jetzt falsch verstanden ?
Doch, bei mir hat KMail genau dies getan. Ich habe irgendwann letztens mal ein paar mbox-Dateien auf meinen IMAP-Server verschieben wollen, und habe sie einfach ins Verzeichnis ~/Mail geworfen. Beim nächsten Start hat KMail diese Dateien als Ordner in der Baumstruktur links angezeigt, ein bisschen indiziert und fertig. Hannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Donnerstag, 28. November 2002 16:51 schrieb Thomas Goetz:
Ok, das funktioniert auch soweit, Mails werden brav einsortiert. Wenn ich aber KMail starte, werden diese nicht als "neu" gekennzeichnet, sondern erscheinen als bereits gelesen.
Korrektur: sie werden wohl beim Start von KMail erstmal gar nicht angezeigt. Ich bin mir aber sicher, dass sie richtig einsortiert wurden, mit pine sehe ich sie z.b. ok, hab folgendes dazu gefunden, wenn es jemanden interessiert ;)
- ---snip--- Can I use KMail and procmail? Yes, but it is important to do it the right way or you might lose mail. In order to use procmail and KMail you need to set up KMail so that it will fetch new mail from the spoolfiles in which procmail drops your mail. Do not set up procmail to deliver mail in a KMail folder, this cannot work. For each procmail spoolfile, you then need to create an account from which KMail will fetch new mail. You also need to make sure you specify the right lockfile name for this account. When setting up an account, KMail will do some minimal parsing on your .procmail file, and will try to list every spoolfile it has found, and also the lockfiles next to the procmail lockfile item. procmail lets the user specify lockfiles in three different ways, so there is no way to establish a correspondence between the spoolfiles and lockfiles. So it's really up to you to make sure you specify the right lockfile for each spoolfile. - ---snip--- - -- Thomas Götz ICQ 22643485 pgp-key available, just ask ;-) -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPeZBrC2qzH/X3zw8EQJi9ACgvsmgh0aK4lD2CHwPvFVoLHGyigkAoKz1 od4nNmdrZnHGcIU6kbwPb7pt =XT/9 -----END PGP SIGNATURE-----
Am Donnerstag, 28. November 2002 17:17 schrieb Thomas Goetz:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am Donnerstag, 28. November 2002 16:51 schrieb Thomas Goetz:
Ok, das funktioniert auch soweit, Mails werden brav einsortiert. Wenn ich aber KMail starte, werden diese nicht als "neu" gekennzeichnet, sondern erscheinen als bereits gelesen.
Korrektur: sie werden wohl beim Start von KMail erstmal gar nicht angezeigt. Ich bin mir aber sicher, dass sie richtig einsortiert wurden, mit pine sehe ich sie z.b.
ok, hab folgendes dazu gefunden, wenn es jemanden interessiert ;)
- ---snip--- Can I use KMail and procmail?
Yes, but it is important to do it the right way or you might lose mail. In order to use procmail and KMail you need to set up KMail so that it will fetch new mail from the spoolfiles in which procmail drops your mail. Do not set up procmail to deliver mail in a KMail folder, this cannot work.
Right. Liegt an dem Index, den KMail verwendet, dort wird die neue Mail nähmlich nicht eingetragen. Das gleiche passiert auch, wenn du beim Umstieg auf mutt (oder pine) mal mit mutt und mal mit KMail auf die Mailordner zugreifst. Solange du allerdings mit mutt nichts änderst (löschen, erstellen, verschieben) passiert auch nichts. Andernfalls musst du die betreffenden Indexfiles löschen, bevor du KMail startest. KMail baut die dann wieder neu auf. Außerdem solltest du bei jedem Beenden von KMail alle Ordner komprimieren. Während der Arbeit mit KMail werden die Mails nähmlich nur in den Indexfiles unterschiedlich markiert (gelesen, gelöscht, verschoben, ..). Erst beim Komprimieren werden sie dann auch wirklich gelöscht (ist übrigens eine Methode, versehentlich gelöschte Mails wiederherzustellen - solange der Ordner noch nicht komprimiert wurde ;-). -- Gruß MaxX
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Donnerstag, 28. November 2002 18:09 schrieb Matthias Houdek:
Liegt an dem Index, den KMail verwendet, dort wird die neue Mail nähmlich nicht eingetragen. Das gleiche passiert auch, wenn du beim Umstieg auf mutt (oder pine) mal mit mutt und mal mit KMail auf die Mailordner zugreifst. Solange du allerdings mit mutt nichts änderst (löschen, erstellen, verschieben) passiert auch nichts. Andernfalls musst du die betreffenden Indexfiles löschen, bevor du KMail startest. KMail baut die dann wieder neu auf. ok, ich habe jetzt einen für mich befriedigenen Lösungsweg gefunden:
pocmail verschiebt alle eingehenden Mails in ein temporäres Verzeichnis, also Mails von "Peter" z.B. nach: ~/Mail/spool/friends/Peter Mit Kmail hole ich dann die Mails vom lokalen Postfach ~/Mail/spool/friends/Peter ab, so muss Kmail keine Inidzies neu aufbauen. Klar könnte man auch alle einngehen Mails einfach nach /var/spool/mail/user schmeissen, aber dann kann ich z.B. mit gkrellm nicht die einzelnen Mailboxen nach eingehen Mails kontrollieren, sondern sehe immer alles was in /var/spool/mail/user liegt. Hoffe man kann mir folgen ;-) - -- Thomas Götz ICQ 22643485 pgp-key available, just ask ;-) -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPeZRlC2qzH/X3zw8EQJ5OACg0Jdj3FJBAGiCT/8KTSZYvlnSpC4AnigT 4HgQY1067iPwtsZ3Vjj8vDMP =pLlS -----END PGP SIGNATURE-----
Am Donnerstag, 28. November 2002 18:25 schrieb Thomas Goetz:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am Donnerstag, 28. November 2002 18:09 schrieb Matthias Houdek:
Liegt an dem Index, den KMail verwendet, dort wird die neue Mail nähmlich nicht eingetragen. Das gleiche passiert auch, wenn du beim Umstieg auf mutt (oder pine) mal mit mutt und mal mit KMail auf die Mailordner zugreifst. Solange du allerdings mit mutt nichts änderst (löschen, erstellen, verschieben) passiert auch nichts. Andernfalls musst du die betreffenden Indexfiles löschen, bevor du KMail startest. KMail baut die dann wieder neu auf.
ok, ich habe jetzt einen für mich befriedigenen Lösungsweg gefunden:
pocmail verschiebt alle eingehenden Mails in ein temporäres Verzeichnis, also Mails von "Peter" z.B. nach:
~/Mail/spool/friends/Peter
Mit Kmail hole ich dann die Mails vom lokalen Postfach ~/Mail/spool/friends/Peter ab, so muss Kmail keine Inidzies neu aufbauen.
Ja, klar. Ich hab das Problem so sowieso nicht, da bei mir ein separater Mailserver läuft ;-)
Klar könnte man auch alle einngehen Mails einfach nach /var/spool/mail/user schmeissen, aber dann kann ich z.B. mit gkrellm nicht die einzelnen Mailboxen nach eingehen Mails kontrollieren, sondern sehe immer alles was in /var/spool/mail/user liegt. Hoffe man kann mir folgen ;-)
Doch, ist doch auch 'ne clevere und einfache Lösung. aber warum filterst du überhaupt mit procmail vor, wenn du eh KMail verwendest, das so schöne Filterfunktionen hat?
- --
^^^^^ Dein Sig-Trenner ist flachs !
Thomas Götz
[... gelöscht ...]
-- Gruß MaxX
Am Freitag, 29. November 2002 14:47 schrieb Matthias Houdek:
Doch, ist doch auch 'ne clevere und einfache Lösung. aber warum filterst du überhaupt mit procmail vor, wenn du eh KMail verwendest, das so schöne Filterfunktionen hat? weil ich nicht immer Kmail laufen lassen will, aber trotzdem angezeigt bekommen möchte, ob z.B. neue Mails von Freunden oder von einer bestimmten Mailingliste da sind. Dazu benutze ich ein Plugin von gkrellm.
-- Thomas Götz ICQ 22643485 pgp-key available, just ask ;-)
Am Freitag, 29. November 2002 14:58 schrieb Thomas Goetz:
Am Freitag, 29. November 2002 14:47 schrieb Matthias Houdek:
Doch, ist doch auch 'ne clevere und einfache Lösung. aber warum filterst du überhaupt mit procmail vor, wenn du eh KMail verwendest, das so schöne Filterfunktionen hat?
weil ich nicht immer Kmail laufen lassen will, aber trotzdem angezeigt bekommen möchte, ob z.B. neue Mails von Freunden oder von einer bestimmten Mailingliste da sind. Dazu benutze ich ein Plugin von gkrellm.
Axo. -- Gruß MaxX
Am Donnerstag, 28. November 2002 16:30 schrieb Thomas Goetz:
Ok, das funktioniert auch soweit, Mails werden brav einsortiert. Wenn ich aber KMail starte, werden diese nicht als "neu" gekennzeichnet, sondern erscheinen als bereits gelesen.
Korrektur: sie werden wohl beim Start von KMail erstmal gar nicht angezeigt. Ich bin mir aber sicher, dass sie richtig einsortiert wurden, mit pine sehe ich sie z.b. also meiner Erfahrung nach ist das nicht so gut, wenn man die Mails
Moin, Am Donnerstag, 28. November 2002 16:51 schrieb Thomas Goetz: direkt in einen KMail-Ordner sortieren lassen will. Ich habe vor einiger Zeit den selben Wunsch gehabt. Ich habe dann auch viel gegoogelt und gefragt und als Antwort bekommen, daß KMail einfach nicht dazu gebaut ist. Ich glaube soetwas steht auch irgendwo auf der KMail-Homepage unter FAQ. Wenn es nach den KMail-Entwicklern geht, kannst Du die eMails von Fetchmail abholen lassen. Dann holst Du diese eMails ein zweites Mal mit KMail ab. Dazu gibst Du bei KMail als Quelle "Lokales Postfach" an. Das ist bestimmt nicht was Du Dir vorgestellt hast, aber es AFAIK geht es nicht viel besser. Verwendest Du mbox oder maildir als Format? Als ich damals herumgetestet habe, hat es mit maildir besser funtkioniert. Tja, jetzt lasse ich kmail meine eMails selbst abholen - aber Du kannst mich gerne eines besseren belehren, falls es bei Dir funktioniert. Gruß Thilo
participants (4)
-
Johannes Studt
-
Matthias Houdek
-
Thilo A. Coblenzer
-
Thomas Goetz