{"id":8383,"date":"2004-12-27T05:59:23","date_gmt":"2004-12-27T03:59:23","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/12\/27\/undup\/"},"modified":"2005-04-26T01:57:02","modified_gmt":"2005-04-25T22:57:02","slug":"undup","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/12\/27\/undup\/","title":{"rendered":"undup"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>This is a simple script to get rid of dups in the UNIX mbox file.  It expects only one argument, which should be the path to the mbox file to process.  Note that this script will modify the original file you provided, so make backup copies as appropriate.<\/p>\n<p><a href =\"\/wordpress\/wp-content\/20041227-undup.perl\">undup.pl<\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>This is a simple script to get rid of dups in the UNIX mbox file. It expects only one argument, which should be the path to the mbox file to process. Note that this script will modify the original file you provided, so make backup copies as appropriate. undup.pl<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62],"tags":[36,39],"keyring_services":[],"class_list":["post-8383","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-technology","tag-perl","tag-software"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":7599,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/23\/migrating-from-mbox-to-maildir\/","url_meta":{"origin":8383,"position":0},"title":"Migrating from mbox to Maildir","author":"Leonid Mamchenkov","date":"June 23, 2004","format":false,"excerpt":"Today I had some free time on my hands, so I tried something that I was planning to do for a long time - properly move away from mbox to Maildir for email storage. It took me a bit more time than I thought it will, but I have done\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26297,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/07\/28\/exporting-messages-from-gmail-with-fetchmail-and-procmail\/","url_meta":{"origin":8383,"position":1},"title":"Exporting messages from Gmail with fetchmail and procmail","author":"Leonid Mamchenkov","date":"July 28, 2016","format":false,"excerpt":"One of the projects that I am involved in has a requirement of importing all the historical emails from a number of Gmail accounts into another system. \u00a0It's not the most challenging of tasks, but since I spent a bit of time on it, I figured I should blog it\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10318,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/08\/13\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":8383,"position":2},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"August 13, 2006","format":false,"excerpt":"My appologies for an inactivity period with del.icio.us bookmarks. That was related to the change of API address, which I had to fix in my script. Now everything seems to be working fine. Shared bookmarks for del.icio.us user tvset on 2006-08-12 Gmail Tips - The Complete Collection -- An excellent\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7956,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/25\/temporary-mail-outages\/","url_meta":{"origin":8383,"position":3},"title":"Temporary mail outages","author":"Leonid Mamchenkov","date":"September 25, 2004","format":false,"excerpt":"I am experiencing temporary email problems due to major migrations back and forward. I have attempted to move all accounts on the home server from mbox to Maildir and still do have some troubles with Courier IMAP. So far all incoming emails should end up where they were supposed to.\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7373,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/23\/how-can-i-patch-a-script-on-a-linux-system\/","url_meta":{"origin":8383,"position":4},"title":"How can I patch a script on a Linux system?","author":"Leonid Mamchenkov","date":"March 23, 2004","format":false,"excerpt":"\"linux how to patch sample script\" Well, patching is simple. Consider the following scenario: we have a script file named script.pl to which we need to make changes, save them in the patch. We start by copying the original file to the working file with the command cp script.pl script-my.pl\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9073,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/14\/sending-bulk-html-emails-with-perl\/","url_meta":{"origin":8383,"position":5},"title":"Sending bulk HTML emails with perl","author":"Leonid Mamchenkov","date":"June 14, 2005","format":false,"excerpt":"First of all, I have to warn you that using HTML in emails is almost always inappropriate. Use plain text. If you have to send HTML, than send it as an attachment. For those cases, where HTML message has to be sent and there is no choice in the matter,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/8383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=8383"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/8383\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=8383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=8383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=8383"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=8383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}