Moin Zusammen, kann mir jemand sagen, wie ich Procmail dazu bringe mit Zip-Anhänge automatisch abzuhängen und auszupacken. Fuer jede Hilfe dankbar -- Gruss Hans-Joachim
Hi Hans-Joachim On Tue, Sep 11, 2001 at 03:54:43PM +0200, Hans-Joachim Domanski wrote:
kann mir jemand sagen, wie ich Procmail dazu bringe mit Zip-Anhänge automatisch abzuhängen und auszupacken.
das 1. Zauberwort heisst afair metamail, das ist ein package was mit mime-attachements zurechtkommt, stichwort mimencode. die nächste Anlaufstelle wo man verdammt viel über procmail, und die problematiken die es zu lösen im Stande ist, lernen kann ist http://www.impsec.org/email-tools/procmail-security.html -- MfG. Falk
Hans-Joachim Domanski schrieb am Dienstag den 11. September 2001:
kann mir jemand sagen, wie ich Procmail dazu bringe mit Zip-Anhänge automatisch abzuhängen und auszupacken.
Bitte bedenke: ohne den Einsatz von Disk-Quotas oder anderen Mitteln kann es passieren, daß so ein ausgepacktes ZIP Deine ganze Partition füllt. Ich kenne zumindest ein kleines ZIP-File, daß sich zu mehreren Terabyte auspackt... Gruß Jens -- printf("*** system failure failed.\n");
Hallo Jens, * Am 12.09.2001 um 16:38 Uhr schrieb Jens Tautenhahn:
Hans-Joachim Domanski schrieb am Dienstag den 11. September 2001:
kann mir jemand sagen, wie ich Procmail dazu bringe mit Zip-Anhänge automatisch abzuhängen und auszupacken.
Bitte bedenke: ohne den Einsatz von Disk-Quotas oder anderen Mitteln kann es passieren, daß so ein ausgepacktes ZIP Deine ganze Partition füllt. Ich kenne zumindest ein kleines ZIP-File, daß sich zu mehreren Terabyte auspackt...
Du denkst an solche Scherze? dd if=/dev/zero bs=10M count=1 | zip | dd of=hot.zip Ergibt bei mir eine gepackte Datei von 10.306 Byte. Ausgepackt immerhin 10.485.760 Byte. Jürgen -- Denken ist Arbeit, Arbeit ist Energie und Energie soll man sparen. / Registered Linux-User #130804 http://counter.li.org \ \ Linux Stammtisch Bremerhaven http://linux.hs-bremerhaven.de /
* Jens Tautenhahn <shogun@tausys.franken.de> textete am 12.09.01:
Hans-Joachim Domanski schrieb am Dienstag den 11. September 2001:
kann mir jemand sagen, wie ich Procmail dazu bringe mit Zip-Anhänge automatisch abzuhängen und auszupacken.
Bitte bedenke: ohne den Einsatz von Disk-Quotas oder anderen Mitteln kann es passieren, daß so ein ausgepacktes ZIP Deine ganze Partition füllt. Ich kenne zumindest ein kleines ZIP-File, daß sich zu mehreren Terabyte auspackt...
Erreicht man mit der 42.zip wirklich den Terabyte- Bereich? Ich dachte, es geht nur in den Gigabyte- Bereich. cu flo --
Ich warte. >Abuse-Meldung an newsmaster@inka.de ist raus. Danke, dass du meinem Provider etwas zu lachen gibst. Vielleicht wird er motivierter und meine Anbindung schneller. [Sepp Neuper und Christopher Splinter in dag°]
Florian Gross schrieb am Donnerstag den 13. September 2001:
Erreicht man mit der 42.zip wirklich den Terabyte- Bereich? Ich dachte, es geht nur in den Gigabyte- Bereich.
Eigentlich wollte ich den Filenamen vermeiden... aber das hat sich ja nun erledigt. Die Struktur lib [0-9a-f]/book [0-9a-f]/chapter [0-9a-f]/doc [0-9a-f]/page [0-9a-f] gibt 16^5 = 1.048.576 Directories. In jedem liegt nun wieder ein File mit 2GB (= 2^30) Größe. Zuerst mal die ZIPs: 16^5 * 4.168.266 = 4.370.743.689.216 (page) 16^4 * 165.302 = 10.833.231.872 (doc) 16^3 * 32.150 = 131.686.400 (chapter) 16^2 * 29.446 = 7.538.176 (book) 16^1 * 34.902 = 558.432 (lib) 16^0 * 42.374 = 42.374 (42.zip) -------------------------------------------- 4.381.716.746.470 und die "Nutzlast": 16^5 * 2.147.483.648 = 2.251.799.813.685.248 (0.dll) -------------------------------------------- 2.256.181.530.431.718 ============================================ Beachtlich. (hoffentlich habe ich mich nicht verrechnet oder vertippt...) BTW: gnumeric kann mit so großen Zahlen nicht mehr richtig umgehen :( Dort ist 16^5*2*2^30 = 2.251.799.813.685.249 Gruß Jens -- "Microsoft spel chekar worgs grate!"
* Jens Tautenhahn <shogun@tausys.franken.de> textete am 14.09.01:
Florian Gross schrieb am Donnerstag den 13. September 2001:
Erreicht man mit der 42.zip wirklich den Terabyte- Bereich? Ich dachte, es geht nur in den Gigabyte- Bereich.
Eigentlich wollte ich den Filenamen vermeiden... aber das hat sich ja nun erledigt. Die Struktur
*g*
lib [0-9a-f]/book [0-9a-f]/chapter [0-9a-f]/doc [0-9a-f]/page [0-9a-f]
gibt 16^5 = 1.048.576 Directories. In jedem liegt nun wieder ein File mit 2GB (= 2^30) Größe. Zuerst mal die ZIPs:
16^5 * 4.168.266 = 4.370.743.689.216 (page) 16^4 * 165.302 = 10.833.231.872 (doc) 16^3 * 32.150 = 131.686.400 (chapter) 16^2 * 29.446 = 7.538.176 (book) 16^1 * 34.902 = 558.432 (lib) 16^0 * 42.374 = 42.374 (42.zip) -------------------------------------------- 4.381.716.746.470
und die "Nutzlast":
16^5 * 2.147.483.648 = 2.251.799.813.685.248 (0.dll) -------------------------------------------- 2.256.181.530.431.718 ============================================
Ach so, stimmt, kann sein.
BTW: gnumeric kann mit so großen Zahlen nicht mehr richtig umgehen :( Dort ist 16^5*2*2^30 = 2.251.799.813.685.249
Ist aber schnell am Ende... ;-) cu flo -- Wenn man in detebe auf alles vorbereitet sein kann, dann ist detebe kaputt. [Christian Pree in dtb]
participants (5)
-
Falk Sauer
-
Florian Gross
-
Hans-J.Domanski@t-online.de
-
Jens Tautenhahn
-
Juergen Schwarting