<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: smart host in sendmail -- plz help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931366#M26787</link>
    <description>Just to add to Ivan's reply that in recent versions you can simply do:&lt;BR /&gt;cd /etc/mail; make;&lt;BR /&gt;to regenerate to sendmail.cf file.</description>
    <pubDate>Tue, 23 Jan 2007 14:57:56 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2007-01-23T14:57:56Z</dc:date>
    <item>
      <title>smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931364#M26785</link>
      <description>Experts&lt;BR /&gt;mta: sendmail &lt;BR /&gt;&lt;BR /&gt;I have a mailserver(small_mail_server), that is not directly connected to the internet, and another server(big_mail_server) that is connected to internet.&lt;BR /&gt;&lt;BR /&gt;email clients are configured to use/communicate with small_mail_server.&lt;BR /&gt;&lt;BR /&gt;I have to config small_mail_server so that  any mail destined for the outside(internet) will be forward/hand-over/relay to big_mail_server&lt;BR /&gt;&lt;BR /&gt;what should i do ?&lt;BR /&gt;and whats the smart host is ?&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Tue, 23 Jan 2007 12:14:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931364#M26785</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-01-23T12:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931365#M26786</link>
      <description>The smart host is exactly what you need. The smart host is the hosts that will be contacted to send all emails to non resolvable domains. Configure in your .mc file:&lt;BR /&gt;&lt;BR /&gt;define(`SMART_HOST',`big_mail_server')&lt;BR /&gt;&lt;BR /&gt;Regenerate your cf file:&lt;BR /&gt;&lt;BR /&gt;m4 sendmail.mc &amp;gt; sendmail.cf&lt;BR /&gt;&lt;BR /&gt;Restart the service.</description>
      <pubDate>Tue, 23 Jan 2007 13:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931365#M26786</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-01-23T13:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931366#M26787</link>
      <description>Just to add to Ivan's reply that in recent versions you can simply do:&lt;BR /&gt;cd /etc/mail; make;&lt;BR /&gt;to regenerate to sendmail.cf file.</description>
      <pubDate>Tue, 23 Jan 2007 14:57:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931366#M26787</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-01-23T14:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931367#M26788</link>
      <description>Thanks Dear Ivan Ferreira and Alexander Chuzhoy for help.&lt;BR /&gt;&lt;BR /&gt;Dear Ivan and Alexander I have edit the /etc/mail/sendmail.mc as:&lt;BR /&gt;&lt;BR /&gt;define(`SMART_HOST',`big_mail_server')&lt;BR /&gt;cd /etc/mail; make&lt;BR /&gt;&lt;BR /&gt;Two Questions here&lt;BR /&gt;1, if my small_mail_server is a client of a dns server, and the dns server is able to resolve internet domain... then will my small_mail_server will frward the emails(outside the organization) to the big_mail_server ?&lt;BR /&gt;2, should i have to do some work on big_mail_server also ?&lt;BR /&gt;&lt;BR /&gt;plz help again ;)&lt;BR /&gt;Thanks n Regards&lt;BR /&gt;Maaz&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jan 2007 06:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931367#M26788</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-01-26T06:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931368#M26789</link>
      <description>Two Questions here&lt;BR /&gt;1, if my small_mail_server is a client of a dns server, and the dns server is able to resolve internet domain... then will my small_mail_server will frward the emails(outside the organization) to the big_mail_server ?&lt;BR /&gt;&lt;BR /&gt;No. Mails will be sent directly by small_mail_server. You should disable DNS queries for sendmail in this server. See:&lt;BR /&gt;&lt;A href="http://www.sendmail.org/faq/section3.html#3.22" target="_blank"&gt;http://www.sendmail.org/faq/section3.html#3.22&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2, should i have to do some work on big_mail_server also ?&lt;BR /&gt;&lt;BR /&gt;Yes. You must allow the relaying to small_mail_server. This normally is done in the /etc/mail/relay-domains or /etc/mail/access file. Also if you want that big_mail_server also deliver mail to small_mail_server, you must configure a mailertable.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sendmail.org/m4/mailertables.html" target="_blank"&gt;http://www.sendmail.org/m4/mailertables.html&lt;/A&gt;</description>
      <pubDate>Fri, 26 Jan 2007 07:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931368#M26789</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-01-26T07:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931369#M26790</link>
      <description>Again Same question but now mta is POSTFIX&lt;BR /&gt;&lt;BR /&gt;small_mail_server: mta is postfix&lt;BR /&gt;big_mail_server: mta is postfix&lt;BR /&gt;&lt;BR /&gt;what I have to do on small_mail_server and big_mail_server ... plz help&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Feb 2007 09:54:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931369#M26790</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-02-04T09:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931370#M26791</link>
      <description>Edit main.cf in small_mail_server:&lt;BR /&gt;&lt;BR /&gt;relayhost=[big_mail_server]&lt;BR /&gt;&lt;BR /&gt;In big_mail_server:&lt;BR /&gt;&lt;BR /&gt;The relaying of email to the internal email server is done through the transport_maps&lt;BR /&gt;directive. This directive instructs Postfix to look at the transport map and do pattern&lt;BR /&gt;matching based on the destination domain name. &lt;BR /&gt;&lt;BR /&gt;The transport file is quite simple:&lt;BR /&gt;/etc/postfix/transport:&lt;BR /&gt;domain.com smtp:internal-mail.domain.com&lt;BR /&gt;&lt;BR /&gt;After creating the transport file, issue the following command:&lt;BR /&gt;postmap hash:/etc/postfix/transport</description>
      <pubDate>Mon, 05 Feb 2007 08:16:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931370#M26791</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-02-05T08:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931371#M26792</link>
      <description>I am sorry I am asking again and again...plz accept the appologies from my side... I am really a bad/duffer System Support Personal.&lt;BR /&gt;&lt;BR /&gt;Infact I havent access the boxes(postfix/sendmail)... but I have to configure those machines in a day or two..thats why I am preparing.&lt;BR /&gt;&lt;BR /&gt;One more thing here... say small_mail_server is running on 10.0.0.0/24 subnet... then should I have to configure the /etc/postfix/access file on big_mail_server as...&lt;BR /&gt;&lt;BR /&gt;10.0.0.0      RELAY&lt;BR /&gt;&lt;BR /&gt;and If my small_server is working for test.net domain, then on big_server, &lt;BR /&gt;/etc/postfix/transport:&lt;BR /&gt;test.net smtp:internal-mail.test.net&lt;BR /&gt;&lt;BR /&gt;Thanks n Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Tue, 06 Feb 2007 01:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931371#M26792</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-02-06T01:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931372#M26793</link>
      <description>In small_mail_server, you don't have to configure the access file because you already have a directive called mynetworks. Postfix will allow relay to mynetworks by default.&lt;BR /&gt;&lt;BR /&gt;Your transport table for big_mail_server is correct.&lt;BR /&gt;&lt;BR /&gt;If want to be really prepared for the day of the configuration, you should setup a pair of virtual machines and configure sendmail/postfix as you want. Then replicate the configuration in your client.&lt;BR /&gt;&lt;BR /&gt;I suggest you to use postfix if you can. I just moved from sendmail to postfix and I think that was a good choice by many resons, but the LDAP support that provides postfix is really good (for example, combined with ldapadmin.exe).</description>
      <pubDate>Tue, 06 Feb 2007 08:17:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931372#M26793</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-02-06T08:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931373#M26794</link>
      <description>Please excuse and forgive me i am asking again and again... sorry ;-(&lt;BR /&gt; &lt;BR /&gt;please let me know is there any thing missing or mistake in the big_mail_server and small_mail_server's /etc/postfix/main.cf file&lt;BR /&gt;&lt;BR /&gt;big_mail_server's main.cf&lt;BR /&gt;&lt;BR /&gt;all the default options and&lt;BR /&gt;&lt;BR /&gt;myhostname = smtp.test.net&lt;BR /&gt;mydomain = test.net&lt;BR /&gt;myorigin = test.net&lt;BR /&gt;inet_interfaces = all&lt;BR /&gt;mydestination = $myhostname, localhost, $mydomain&lt;BR /&gt;mynetworks = 127.0.0.0/8, 10.0.0.0/24&lt;BR /&gt;&lt;BR /&gt;Plus&lt;BR /&gt; &lt;BR /&gt;in /etc/postfix/transport of big_mail_server &lt;BR /&gt;test.net smtp:internal-mail.test.net&lt;BR /&gt;&lt;BR /&gt;Above is the total Configs of big_mail_server(that connects with internet).&lt;BR /&gt;&lt;BR /&gt;Now following is the total configs of small_mail_server.&lt;BR /&gt;/etc/postfix/main.cf&lt;BR /&gt;all the default options plus the following:&lt;BR /&gt;&lt;BR /&gt;myhostname = local.test.net&lt;BR /&gt;mydomain = test.net&lt;BR /&gt;myorigin = test.net&lt;BR /&gt;inet_interfaces = all&lt;BR /&gt;mydestination = $myhostname, localhost, $mydomain&lt;BR /&gt;mynetworks = 127.0.0.0/8, 10.0.0.0/24&lt;BR /&gt;&lt;BR /&gt;small_mail_server is connected on lan ONLY, while big_mail_server is connected to the internet, and also with the small_mail_server.&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Oct 2007 00:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931373#M26794</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-10-20T00:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: smart host in sendmail -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931374#M26795</link>
      <description>in big_mail_server /etc/postfix/transport &lt;BR /&gt;&lt;BR /&gt;test.net smtp:local.test.net &lt;BR /&gt;&lt;BR /&gt;becuase my small_mail_server fqdn is "local.test.net"&lt;BR /&gt;&lt;BR /&gt;on big_mail_server I also did the following&lt;BR /&gt;in /etc/postfix/access&lt;BR /&gt;&lt;BR /&gt;10.0.0.0 RELAY&lt;BR /&gt;&lt;BR /&gt;please suggest If any thing is missing/wrong. &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Sun, 21 Oct 2007 07:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/smart-host-in-sendmail-plz-help/m-p/3931374#M26795</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-10-21T07:39:26Z</dc:date>
    </item>
  </channel>
</rss>

