stefan palme tuwjidfhoraobscurade hi setup postfix using amavisdnew contentfilter amavisdnew reinjects scanned mail postfix using smtp see following log entries shortened relevant parts original order kept asis postfixsmtpd30313 connect unknown192168113 postfixsmtpd30313 950c6c1dc clientunknown192168113 postfixcleanup30529 950c6c1dc messageid postfixqmgr4897 950c6c1dc postfixsmtpd30313 disconnect unknown192168113 postfixsmtpd30572 connect localhostlocaldomain127001 postfixsmtpd30572 8443ec1e1 clientlocalhostlocaldomain127001 postfixcleanup30573 8443ec1e1 messageid postfixqmgr4897 8443ec1e1 postfixsmtpd30572 disconnect localhostlocaldomain127001 postfixlmtp30543 950c6c1dc relay127001127001 delay14 statussent 250 ok que ued 8443ec1e1 postfixqmgr4897 950c6c1dc removed postfixsmtp30548 8443ec1e1 relaymail1thurwebch21319614934 delay1 statussent 250 ok queued c1dd14f4009 postfixqmgr4897 8443ec1e1 removed empty lines introduced clarity obviously queue id 950c6c1dc original mail client queue id 8443ec1e1 created amavisdnew reinjecting mail postfix see line 950c6c1dc relay127001 statussent indicates mail handed amavisdnew line 8443ec1e1 clientlocalhostlocaldomain127001 indicates mail begins reinjected amavisd would expect 950c6c1dc original submission lines 8443ec1e1 reinjection lines reinjection start amavisd checked mail turn happen mail completely handed amavisdnew ie 950c6c1dc task completed moment next strange thing almost last log entry says queued 8443ec1e1 exactly queue id recinjection postfix mean amavisdnew keeps incoming connection open scanning job done reinjects mail postfix receives new queue id reports queue id back original incoming connection would least explain strange order log entries knew postfix gives mail content filter mail away postfixs point view reinjection postfix way connected original message despite fact message seems postfix tries correlate original message reinjected message typical amavisdnewthing postfixrelated postfix related postfix thanks regards stefan kejhtdbhqaekyintergatecom sun feb 24 103121 2008 date mon 18 feb 2008 094651 0500 mk subject subroutine simultaneousness perl messageid 1203346011l2960l0lakashiraffeeenthusiasm mimeversion 10 contenttype textplain charsetusascii delspyes formatflowed contenttransferencoding quotedprintable okay definitely tk gui issue since incorporating 20 real print ie stdout statement come proper sequence anyone know filehandle stdout tk 20 requests simplest version problem use iohandle sub tmptest stdoutautoflush1 flt text area mwtitleprocessing data 3d fltget10end ldata 3d splitndata fltdelete10end foreach ldata name 3d basename_ print _n stdoutflush fltinsertnamen sleep 1 mwtitletest done print line comes background terminal one second 20 timebut insert tk events happen end 20 simultaneously fact exactly even without 20 iohandle buffering commands blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98803ezm kejhtdbhqaekyintergatecom sun feb 24 103121 2008 date mon 18 feb 2008 100127 0500 mk subject subroutine simultaneousness perl messageid 1203346887l2960l1lakashiraffeeenthusiasm mimeversion 10 contenttype textplain charsetusascii delspyes formatflowed contenttransferencoding quotedprintable problem solved complangperltk mwupdate whenever want screen updated 02182008 094651 mk wrote okay definitely tk gui issue since incorporating 20 real print ie stdout statement come proper 20 sequence blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98805ezm qqahmesgmailcom sun feb 24 103121 2008 messageid 144c024a0802180817y760be434q27672935c026ba63mailgmailcom date mon 18 feb 2008 111740 0500 david moreno rob dixon subject subroutine simultaneousness cc perl mk mimeversion 10 contenttype multipartalternative boundary_part_5208_288764471203351460740 _part_5208_288764471203351460740 contenttype textplain charsetiso88591 contenttransferencoding 7bit contentdisposition inline feb 17 2008 348 pm rob dixon wrote use iohandle stdoutautoflush start program whats difference setting true david moreno httpwwwdamognet yes _part_5208_288764471203351460740 blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98807ezm ahlgrwhsvgmailcom sun feb 24 103121 2008 messageid 58ce48dc0802181552k4460ff54y61f3fb0f0b468a91mailgmailcom date mon 18 feb 2008 185241 0500 chas owens david moreno subject subroutine simultaneousness cc rob dixon perl mk mimeversion 10 contenttype textplain charsetiso88591 contenttransferencoding 7bit feb 18 2008 1117 david moreno wrote feb 17 2008 348 pm rob dixon wrote use iohandle stdoutautoflush start program whats difference setting true snip specific code whole lot however following code matters great deal select stderr stdoutautoflush variable affects currently selected file handle using iohandle much readable maintainable chas owens wonkdennet important skill programmer ability read blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98806ezm msbujawigmailcom sun feb 24 103121 2008 messageid 31073ef90802181548i3585df26n483b4104378ca034mailgmailcom date mon 18 feb 2008 154845 0800 mark wagner soiofdvxgperlorg subject dependancies mimeversion 10 contenttype textplain charsetutf8 contenttransferencoding 7bit easy way get list modules loaded perl script mark wagner blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98808ezm wwsddjtelusnet sun feb 24 103121 2008 messageid 47ba1b781050702telusnet date mon 18 feb 2008 155744 0800 john w krahn mimeversion 10 perl beginners subject dependancies contenttype textplain charsetiso88591 formatflowed contenttransferencoding 7bit mark wagner wrote easy way get list modules loaded perl script perl le use timelocal print keys inc warningsregisterpm carppm varspm strictpm exporterpm constantpm timelocalpm warningspm configpm integerpm john perl isnt toolbox small machine shop specialorder certain sorts tools low cost short order larry wall blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98809ezm ahlgrwhsvgmailcom sun feb 24 103121 2008 messageid 58ce48dc0802181617l2967cc00i6679ccf8dcea5ab7mailgmailcom date mon 18 feb 2008 191756 0500 chas owens john w krahn subject dependancies cc perl beginners mimeversion 10 contenttype textplain charsetiso88591 contenttransferencoding 7bit feb 18 2008 657 pm john w krahn wrote mark wagner wrote easy way get list modules loaded perl script perl le use timelocal print keys inc warningsregisterpm carppm varspm strictpm exporterpm constantpm timelocalpm warningspm configpm integerpm snip course assumes author anything like eval use somemodule envuse_somemodule sort tricks dbi factory classes use chas owens wonkdennet important skill programmer ability read blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98810ezm uiaregigunnarcc sun feb 24 103121 2008 messageid 2008021900505610270qmaillistsdeveloopercom soiofdvxgperlorg date tue 19 feb 2008 015251 0100 gunnar hjalmarsson mimeversion 10 subject dependancies contenttype textplain charsetiso88591 formatflowed contenttransferencoding 7bit chas owens wrote feb 18 2008 657 pm john w krahn wrote mark wagner wrote easy way get list modules loaded perl script perl le use timelocal print keys inc course assumes author anything like eval use somemodule envuse_somemodule sort tricks dbi factory classes use would problem perl le eval use timelocal print keys inc varspm carppm exporterpm warningspm configpm timelocalpm strictpm integerpm warningsregisterpm gunnar hjalmarsson email httpwwwgunnarcccgibincontactpl blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98811ezm ahlgrwhsvgmailcom sun feb 24 103121 2008 messageid 58ce48dc0802181716k5329230n5e74d96bd8164eb6mailgmailcom date mon 18 feb 2008 201643 0500 chas owens gunnar hjalmarsson subject dependancies cc soiofdvxgperlorg mimeversion 10 contenttype textplain charsetiso88591 contenttransferencoding 7bit feb 18 2008 752 pm gunnar hjalmarsson wrote snip eval use somemodule envuse_somemodule sort tricks dbi factory classes use would problem perl le eval use timelocal print keys inc snip please reflect lack statement code chas owens wonkdennet important skill programmer ability read blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98812ezm uiaregigunnarcc sun feb 24 103121 2008 messageid 2008021902064132358qmaillistsdeveloopercom soiofdvxgperlorg date tue 19 feb 2008 030834 0100 gunnar hjalmarsson mimeversion 10 subject dependancies contenttype textplain charsetiso88591 formatflowed contenttransferencoding 7bit chas owens wrote feb 18 2008 752 pm gunnar hjalmarsson wrote snip eval use somemodule envuse_somemodule sort tricks dbi factory classes use would problem perl le eval use timelocal print keys inc snip please reflect lack statement code sorry still dont get perl le eval use timelocal 112 print keys inc warningsregisterpm carppm integerpm exporterpm strictpm warningspm timelocalpm varspm configpm gunnar hjalmarsson email httpwwwgunnarcccgibincontactpl blcobidaiaohdgilcjej contenttype messagerfc822 contentdisposition inline filenamebeginners_98813ezm wed 06 aug 2008 013515 0100 strange order log entries