{"id":7954,"date":"2004-09-25T00:57:14","date_gmt":"2004-09-24T22:57:14","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/25\/relay_from_hosts-in-exim-440\/"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T22:00:00","slug":"relay_from_hosts-in-exim-440","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/25\/relay_from_hosts-in-exim-440\/","title":{"rendered":"relay_from_hosts in exim-4.40"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>\t<img decoding=\"async\" class=\"alignright\" src=\"\/wordpress\/wp-content\/20040925-exim_logo.png\" alt=\"\"><\/p>\n<p>Just in case you will bump into the same problem or if I will forget how to solve it&#8230;<\/p>\n<p>If you want to use a file with a list of IP addresses that are allowed to relay mail through your server, you need to use net-iplsearch instead of plain lsearch.  Plain lsearch will not work and you&#8217;ll get all those &#8216;relay denied&#8217; errors.<\/p>\n<div class=\"asis\">\n<pre>\nhostlist relay_from_hosts = net-iplsearch;\/etc\/exim\/relay_from_hosts\n<\/pre>\n<\/p><\/div>\n<p>Specify IP addresses (and network masks if you wish) one per line (or with other separators that Exim understands).<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Just in case you will bump into the same problem or if I will forget how to solve it&#8230; If you want to use a file with a list of IP addresses that are allowed to relay mail through your server, you need to use net-iplsearch instead of plain lsearch. Plain lsearch will not work &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/25\/relay_from_hosts-in-exim-440\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">relay_from_hosts in exim-4.40<\/span><\/a><\/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,62],"tags":[],"keyring_services":[],"class_list":["post-7954","post","type-post","status-publish","format-standard","hentry","category-general","category-technology"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":17835,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/03\/08\/redmine-email-notifications-with-exim\/","url_meta":{"origin":7954,"position":0},"title":"Redmine email notifications with Exim","author":"Leonid Mamchenkov","date":"March 8, 2013","format":false,"excerpt":"When configuring Redmine project management to send email notifications, using Exim MTA, you might end up with test emails bouncing due to no\u00a0recipients\u00a0specified. \u00a0It's a bit tricky to debug, but, fortunately, quite easy to fix. \u00a0The problem comes from different implementations of \"-t\" option handling for \/usr\/sbin\/sendmail. \u00a0Redmine uses this\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":246,"url":"https:\/\/mamchenkov.net\/wordpress\/2003\/06\/08\/updates\/","url_meta":{"origin":7954,"position":1},"title":"Updates","author":"Leonid Mamchenkov","date":"June 8, 2003","format":false,"excerpt":"I've made lots of small updates and fixes to the home server. Exim 3.13 upgraded to Exim 4.20. Kernel updates. And the bunch of fixes from Red Hat Network.","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":26001,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/04\/06\/sugarcrm-roundcube-and-request-tracker-integration-on-a-single-domain\/","url_meta":{"origin":7954,"position":2},"title":"SugarCRM, RoundCube and Request Tracker integration on a single domain","author":"Leonid Mamchenkov","date":"April 6, 2016","format":false,"excerpt":"In my years of working as a system administrator I've done some pretty complex setups and integration solutions, but I don't think I've done anything as twisted as this one recently. \u00a0The setup is part of the large and complex client project, built on their infrastructure, with quite a few\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"SAML workflow","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/04\/saml_workflow_vertical-500x469.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":25977,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/03\/29\/cipherli-st-strong-ciphers-for-apache-nginx-and-lighttpd\/","url_meta":{"origin":7954,"position":3},"title":"Cipherli.st &#8211; strong ciphers for Apache, Nginx and Lighttpd","author":"Leonid Mamchenkov","date":"March 29, 2016","format":false,"excerpt":"Cipherli.st - provides ready to use cipher configurations for a variety of applications, such as Apache, Nginx, Lighttpd, HAProxy, Exim, Postfix, Dovecot, OpenSSH, and others. \u00a0This is a huge time-saver for those of us not well versed in cryptography and security. Don't forget to use Qyalis SSL Labs SSL Server\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":41,"url":"https:\/\/mamchenkov.net\/wordpress\/2002\/04\/17\/funny-day\/","url_meta":{"origin":7954,"position":4},"title":"Funny day","author":"Leonid Mamchenkov","date":"April 17, 2002","format":false,"excerpt":"First of all, my collegue and me were playing with Domain Policies and push installations on Win2k again. Luckily, we can afford full testing environment with simulation domain, etc. It's nice to know that renaming of default domain policy removes all software SAP Web Application server gave us a strange\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":7706,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/07\/22\/downtime-investigated\/","url_meta":{"origin":7954,"position":5},"title":"Downtime investigated","author":"Leonid Mamchenkov","date":"July 22, 2004","format":false,"excerpt":"I have investigated why the server went down today morning. Apparently, the server was a victim to a dictionary spam attack. I didn't have any limits configured for Exim and that resulted in load avereages exceeding 60. Gucho went extremely busy another couple of times during the course of the\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\/7954","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=7954"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7954\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=7954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=7954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=7954"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=7954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}