{"id":4566,"date":"2016-08-19T00:13:30","date_gmt":"2016-08-18T21:13:30","guid":{"rendered":"https:\/\/unihost.com\/help\/?p=4566"},"modified":"2023-01-19T13:58:28","modified_gmt":"2023-01-19T10:58:28","slug":"problem-with-sendmail-scripts","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/","title":{"rendered":"Problem with sendmail scripts"},"content":{"rendered":"<p><span style=\"font-family: Ubuntu, sans-serif;\">Sometimes a letter that was sent via Sendmail (mail server) returns with a mistake:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\"><em>Apr 15 19:15:31 myhost sendmail[5806]: mATM4O8w58095806: Losing .\/qfmATM4O8w58095806: savemail panic<\/em><\/span><!--more--><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\"><em>Apr 15 19:15:45 myhost sendmail[5806]: mATM4O8w58095806: SYSERR(www): savemail: cannot save rejected email anywhere<br \/>\n<\/em><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">At the same time the following might periodically be seen in the logs:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\"><em>stat=Data format error<\/em><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">This problem usually appears because of non-existent (null) mail address at the time of mail sending or because of non-existent hostname server.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">To solve the problem you should indicate the right e-mail. You can edit Administrator&#8217;s e-mail in WWW properties tab (field &#8220;Administrator&#8217;s e-mail) in ISPmanager control board.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">This e-mail also should be typed in apache configurations while describing the virtual host:<\/span><\/p>\n<pre>php_admin_value sendmail_path \"\/usr\/sbin\/sendmail -t -i -f admin@unihost.com\"<\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">If PHP is used as FastCGI or CGI this string should be typed in the file ~\/php-bin\/php.ini<\/span><\/p>\n<pre>sendmail_path = \"\/usr\/sbin\/sendmail -t -i -f admin@unihost.com\"<\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif;\"><strong>How to turn off sender&#8217;s e-mail correctness review<\/strong><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">By default Sendmail launches from MSP (Message Submission Program). This process launches separately to handle mail turn.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">Let us examine the example of Sendmail turning off in FreeBSD system.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">Write the string submit.cf in file \/etc\/make.conf to turn automatic file creating off.<\/span><\/p>\n<pre>SENDMAIL_SET_USER_ID=yes<\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">After that, you should delete the file submit.cf and change permissions of the executable file sendmail (set SUID up instead of SGID, that is to set up permissions 4755 instead of 2755) and reboot sendmail.<\/span><\/p>\n<pre>cd \/etc\/mail\r\nrm submit.cf\r\nmake stop\r\nchmod 4755 \/usr\/local\/sbin\/sendmail\r\nmake start<\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif;\">Deactivating might be analogically executed on other servers. To cancel creating submit.cf that is being proceeded automatically on CentOS Linux you should just edit file \/etc\/mail\/Makefile.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes a letter that was sent via Sendmail (mail server) returns with a mistake: Apr 15 19:15:31 myhost sendmail[5806]: mATM4O8w58095806: Losing .\/qfmATM4O8w58095806: savemail panic<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[353],"class_list":["post-4566","post","type-post","status-publish","format-standard","hentry","category-vps","tag-e-mail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Problem with sendmail scripts - Unihost.FAQ<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Problem with sendmail scripts - Unihost.FAQ\" \/>\n<meta property=\"og:description\" content=\"Sometimes a letter that was sent via Sendmail (mail server) returns with a mistake: Apr 15 19:15:31 myhost sendmail[5806]: mATM4O8w58095806: Losing .\/qfmATM4O8w58095806: savemail panic\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-18T21:13:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-19T10:58:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"141\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Unihost Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unihost Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/\"},\"author\":{\"name\":\"Unihost Support\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\"},\"headline\":\"Problem with sendmail scripts\",\"datePublished\":\"2016-08-18T21:13:30+00:00\",\"dateModified\":\"2023-01-19T10:58:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/\"},\"wordCount\":261,\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"keywords\":[\"E-Mail\"],\"articleSection\":[\"Virtual Private Server (VPS)\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/\",\"url\":\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/\",\"name\":\"Problem with sendmail scripts - Unihost.FAQ\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/#website\"},\"datePublished\":\"2016-08-18T21:13:30+00:00\",\"dateModified\":\"2023-01-19T10:58:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\/\/unihost.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\/\/unihost.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Problem with sendmail scripts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unihost.com\/help\/#website\",\"url\":\"https:\/\/unihost.com\/help\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unihost.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/unihost.com\/help\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\/\/unihost.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/unihost\/\",\"https:\/\/x.com\/unihost\",\"https:\/\/www.instagram.com\/unihost\/?hl=en\",\"https:\/\/www.linkedin.com\/company\/unihost-com\",\"https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\",\"name\":\"Unihost Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"caption\":\"Unihost Support\"},\"sameAs\":[\"https:\/\/unihost.com\/\"],\"url\":\"https:\/\/unihost.com\/help\/author\/support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Problem with sendmail scripts - Unihost.FAQ","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/","og_locale":"en_US","og_type":"article","og_title":"Problem with sendmail scripts - Unihost.FAQ","og_description":"Sometimes a letter that was sent via Sendmail (mail server) returns with a mistake: Apr 15 19:15:31 myhost sendmail[5806]: mATM4O8w58095806: Losing .\/qfmATM4O8w58095806: savemail panic","og_url":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2016-08-18T21:13:30+00:00","article_modified_time":"2023-01-19T10:58:28+00:00","og_image":[{"width":250,"height":141,"url":"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png","type":"image\/png"}],"author":"Unihost Support","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"Written by":"Unihost Support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/"},"author":{"name":"Unihost Support","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a"},"headline":"Problem with sendmail scripts","datePublished":"2016-08-18T21:13:30+00:00","dateModified":"2023-01-19T10:58:28+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/"},"wordCount":261,"publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"keywords":["E-Mail"],"articleSection":["Virtual Private Server (VPS)"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/","url":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/","name":"Problem with sendmail scripts - Unihost.FAQ","isPartOf":{"@id":"https:\/\/unihost.com\/help\/#website"},"datePublished":"2016-08-18T21:13:30+00:00","dateModified":"2023-01-19T10:58:28+00:00","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/problem-with-sendmail-scripts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/"},{"@type":"ListItem","position":3,"name":"Problem with sendmail scripts"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/#website","url":"https:\/\/unihost.com\/help\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a","name":"Unihost Support","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","caption":"Unihost Support"},"sameAs":["https:\/\/unihost.com\/"],"url":"https:\/\/unihost.com\/help\/author\/support\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/4566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/comments?post=4566"}],"version-history":[{"count":3,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/4566\/revisions"}],"predecessor-version":[{"id":4569,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/4566\/revisions\/4569"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/media?parent=4566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/categories?post=4566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/tags?post=4566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}