{"id":94,"date":"2010-06-24T20:11:24","date_gmt":"2010-06-24T08:11:24","guid":{"rendered":"http:\/\/www.mdickinson.dnsalias.org\/php\/wordpress\/?p=94"},"modified":"2010-06-24T20:11:24","modified_gmt":"2010-06-24T08:11:24","slug":"mail-problems-sigh","status":"publish","type":"post","link":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=94","title":{"rendered":"Mail problems, sigh"},"content":{"rendered":"<p>I thought it would be a good idea to install ClamAV and Spamassasin into my mail retrieval process no that I have cron pulling my emails from all my ISP mail accounts to my dev server once a day.<\/p>\n<p>Fortunately I decided to implement the changes to the configs for mail to be retrieved from my local servers first. I need a lot more web trawling yet; 10 emails retrieved, zero arrived in the inbox.<\/p>\n<p>It seems to work, getmail displays the retriving message X of Y and the number X goes up until it reaches Y as expected, ClamAV is being invoked as the log reports the &#8216;virus db is out of date&#8217; for each mail message so it is running against each mail message. But where the heck does it put them ?, they are not appearing in my inbox !.<\/p>\n<p>For now I have reverted all configs to not use ClamAv except the one that retrives the emails cron generates on my desktop server; the simple theory behing that is I don&#8217;t really care if those emails get lost, and I probably will have read them anyway from the command line (as you do when you get a &#8216;new mail&#8217; message pop up on the command line; and I&#8217;m always on the command line, GUIs are too hard).<\/p>\n<p>However, to complicate it, getmail was not retrieving any emails from my desktop system&#8230; looks like on my desktop I never actually went through my own document (the draft tutorial in the tutorials section) to reconfigure my desktop to use the Maildir format instead of the mbox format; although that should not have made a difference as I thought both sendmail and dovecot defaulted to mbox (the confusing issue was mutt was still mbox so it could see the mail, but getmail couldn&#8217;t get any mail from that server, maybe dovecot does default to Maildir not mbox ???), anyway they are ALL using explicitly Maildir now&#8230; and mutt can no longer see the emails that are there so its using the new directories; sigh.<\/p>\n<p>User error, bother.<br \/>\nNow my desktop is configured the same as the rest of my machines I can proceed with using that as the test bed in my hunt for where the mail is actually going.<\/p>\n<p>Who knows, it may be being validly dropped by spamassassin as they are coming from servers (ie: mark@osprey, mark@falcon etc, rather than mark@xxx.xxx.xxx.com)&#8230;, no wait, the spamassain drop is done before ClamAV is invoked and ClamAV was being invoked for each message so it got that far [thoughts for myself to refer back to here]. I must have configured ClamAV wrong then, but I&#8217;m sure I told it not to delete anything but to just put anything it didn&#8217;t like into a seperate folder, which is empty. Can I say bother again, where are they going. Unfortunately I have a lot of disk on my dev server now, a find \/ -mtime -1 takes about 3hrs [if nothing else is running] so while it is the simplest solution (assuming they are not being discarded in which case find would not find anything) I am going to explore down all other paths first.<\/p>\n<p>It is a learning excercise. I am learning (and inventing) new phrases that should not be used in front of children; and all learning is good isn&#8217;t it :-).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I thought it would be a good idea to install ClamAV and Spamassasin into my mail retrieval process no that I have cron pulling my emails from all my ISP mail accounts to my dev server once a day. Fortunately &hellip; <a href=\"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=94\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-my-nux-thoughts-and-notes"],"_links":{"self":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":1,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":95,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions\/95"}],"wp:attachment":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}