{"id":678,"date":"2014-08-08T10:39:49","date_gmt":"2014-08-08T13:39:49","guid":{"rendered":"http:\/\/blog.abratel.com.br\/?p=678"},"modified":"2014-08-08T10:39:49","modified_gmt":"2014-08-08T13:39:49","slug":"autorizar-servidor-de-email-sendmail-a-enviar-por-relay-do-ip-sem-autenticar","status":"publish","type":"post","link":"https:\/\/blog.abratel.com.br\/?p=678","title":{"rendered":"Autorizar servidor de email sendmail a enviar por relay do ip sem autenticar"},"content":{"rendered":"<p>Exemplo do Sendmail<br \/>\nvim \/etc\/mail\/greylist.conf<\/p>\n<p>list &#8220;my network&#8221; addr { 127.0.0.1\/8 192.168.100.0\/24 192.168.200.0\/24 192.168.150.0\/24 201.24.55.12\/26 200.173.16.230\/28 202.7.162.74 179.14.182.190 }<\/p>\n<p>vim \/etc\/mail\/access<br \/>\nConnect:202.76.163.71\/30                RELAY<br \/>\n202.76.63.174                           RELAY<br \/>\nConnect:201.76.163.74                   RELAY<\/p>\n<p>makemap hash \/etc\/mail\/access.db < \/etc\/mail\/access\n\n\/etc\/init.d\/sendmail restart\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exemplo do Sendmail vim \/etc\/mail\/greylist.conf list &#8220;my network&#8221; addr { 127.0.0.1\/8 192.168.100.0\/24 192.168.200.0\/24 192.168.150.0\/24 201.24.55.12\/26 200.173.16.230\/28 202.7.162.74 179.14.182.190 } vim \/etc\/mail\/access Connect:202.76.163.71\/30 RELAY 202.76.63.174 RELAY Connect:201.76.163.74 RELAY makemap hash \/etc\/mail\/access.db < \/etc\/mail\/access \/etc\/init.d\/sendmail restart\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/678"}],"collection":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=678"}],"version-history":[{"count":1,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/678\/revisions"}],"predecessor-version":[{"id":679,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/678\/revisions\/679"}],"wp:attachment":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}