{"id":754,"date":"2013-04-23T23:00:04","date_gmt":"2013-04-23T21:00:04","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=754"},"modified":"2013-04-23T23:00:04","modified_gmt":"2013-04-23T21:00:04","slug":"directadmin-1-2-birsey","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2013\/04\/23\/directadmin-1-2-birsey\/","title":{"rendered":"directadmin 1 2 birsey"},"content":{"rendered":"<p>If you think you might have a spammer, check your \/etc\/virtual\/usage directory for a larger than normal filesize.<br \/>\nAny authenticated sends will show up with this command:<\/p>\n<p>cd \/var\/log\/exim<br \/>\ngrep &#8216;A=login:&#8217; mainlog* | less<br \/>\nwhich will show all emails sent from your server which used smtp-authentication.  This is useful to find any email accounts who&#8217;s passwords may have been compromised (guessed), or simply just abusive Users.<\/p>\n<p>&#8212;&#8212;-<\/p>\n<p>cd \/var\/log\/exim<br \/>\neximstats mainlog > stats.txt<br \/>\nless stats.txt<\/p>\n<p>&#8212;&#8212;&#8212;<\/p>\n<p>Here are some useful exim commands.  They&#8217;re useful if you have an overloaded queue and need to clear it out, or find out why the messagse are being piled up.<\/p>\n<p>exim -M id      #Try to send the message with id id<\/p>\n<p>exim -qf       #Tell exim to process the entire queue again<br \/>\nexim -qff      #same as qf, but it will flush the frozen messages<\/p>\n<p>exim -Mvl id    #view the message log for message id<br \/>\nexim -Mvh id    #view message id&#8217;s headers<br \/>\nexim -Mvb id    #view message id&#8217;s body<br \/>\nexim -Mrm id    #remove message id from the queue<br \/>\nexim -Mg id     #fail and send a bounce to the sender<br \/>\nexim -bp | exiqsumm    #Print summary of the messages in the queue<br \/>\nexiwhat        #show what exim is doing right now<br \/>\nexim -bpc      #show number of messages in the queue<br \/>\nexim -bp       #print list of messages in the queue<br \/>\nThe manual way to remove the entire queue is as follows<\/p>\n<p>cd \/var\/spool<br \/>\nmv exim exim.old<br \/>\nmkdir -p exim\/input<br \/>\nmkdir -p exim\/msglog<br \/>\nmkdir -p exim\/db<br \/>\nchown -R mail:mail exim<br \/>\nThen restart exim.<\/p>\n<p>&#8212;&#8212;&#8212;-<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you think you might have a spammer, check your \/etc\/virtual\/usage directory for a larger than normal filesize. Any authenticated sends will show up with this command: cd \/var\/log\/exim grep &#8216;A=login:&#8217; mainlog* | less which will show all emails sent from your server which used smtp-authentication. This is useful to find any email accounts who&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-754","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=754"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/754\/revisions"}],"predecessor-version":[{"id":755,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/754\/revisions\/755"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}