<?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: Sendmail configuration problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565703#M838508</link>
    <description>Looks like it's working now but it doesn't reject attempts to relay emails which aren't addressed to either Domain(1,2,3).com&lt;BR /&gt;&lt;BR /&gt;Am I able to add an entry which rejects all mail addressed to any other domain?</description>
    <pubDate>Fri, 17 Jun 2005 00:30:29 GMT</pubDate>
    <dc:creator>jacks0n</dc:creator>
    <dc:date>2005-06-17T00:30:29Z</dc:date>
    <item>
      <title>Sendmail configuration problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565701#M838506</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm currently in the process of building a new bastion host to handle all incoming mail for the company.&lt;BR /&gt;&lt;BR /&gt;Essentially, it will live in the DMZ and perform some high level, basic checks on the emails like:&lt;BR /&gt;Size is &amp;lt; 100MB, mail is destined for either domain1.com, domain2.com, domain3.com or else discard i.e. no relaying, and basic reverse lookup of originating sender to ensure it's a valid host&lt;BR /&gt;&lt;BR /&gt;All mail that passes these checks is forwarded on to a windows mail server on the internal network which does all of the spam filtering, lower level stuff. None of the mail will be delivered to the local host, all passed on to the windows mail server for processing.&lt;BR /&gt;&lt;BR /&gt;I'm having trouble making sendmail accept mail for these three domains and then relaying all mail to the windows server... it's trying to deliver all mail locally.&lt;BR /&gt;&lt;BR /&gt;I've tried using relay-domains file and defining the domains in this file but no luck.&lt;BR /&gt;&lt;BR /&gt;I've tried defining LOCAL_DOMAIN(`domain1.com'), LOCAL_DOMAIN(`domain2.com') etc. in sendmail.mc (Or C{w}domain1.com in old sendmail.cf speak).&lt;BR /&gt;This appeared to work as sendmail was then accepting mail which was destined for these domains and rejecting any mail destined for other domains but still it was trying to deliver mail locally.&lt;BR /&gt;I've got the windows server setup as the smart relay and I've removed the MAILER(`local') entry from sendmail.mc, leaving only MAILER(`smtp') so I would expect everything to be being passed through to the relay?&lt;BR /&gt;&lt;BR /&gt;Sendmail version is 8.12.10&lt;BR /&gt;&lt;BR /&gt;What am I missing?</description>
      <pubDate>Thu, 16 Jun 2005 19:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565701#M838506</guid>
      <dc:creator>jacks0n</dc:creator>
      <dc:date>2005-06-16T19:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail configuration problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565702#M838507</link>
      <description>Have you tried using access database from allow relaying to/from these domains?&lt;BR /&gt;&lt;BR /&gt;/etc/mail/access&lt;BR /&gt;domain1.com RELAY&lt;BR /&gt;domain2.com RELAY&lt;BR /&gt;domain3.com RELAY&lt;BR /&gt;&lt;BR /&gt;You should also have FEATURE(`access_db', `hash /etc/mail/access') in your m4 file.&lt;BR /&gt;&lt;BR /&gt;# makemap hash /etc/mail/access &amp;lt; /etc/mail/access</description>
      <pubDate>Thu, 16 Jun 2005 21:32:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565702#M838507</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-06-16T21:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail configuration problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565703#M838508</link>
      <description>Looks like it's working now but it doesn't reject attempts to relay emails which aren't addressed to either Domain(1,2,3).com&lt;BR /&gt;&lt;BR /&gt;Am I able to add an entry which rejects all mail addressed to any other domain?</description>
      <pubDate>Fri, 17 Jun 2005 00:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565703#M838508</guid>
      <dc:creator>jacks0n</dc:creator>
      <dc:date>2005-06-17T00:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail configuration problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565704#M838509</link>
      <description>Try changing /etc/mail/access as follows&lt;BR /&gt;&lt;BR /&gt;To:domain1.com RELAY&lt;BR /&gt;To:domain2.com RELAY&lt;BR /&gt;To:domain3.com RELAY&lt;BR /&gt;&lt;BR /&gt;See /usr/newconfig/etc/mail/cf/README for more examples.</description>
      <pubDate>Fri, 17 Jun 2005 00:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565704#M838509</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-06-17T00:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail configuration problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565705#M838510</link>
      <description>Works like a charm!&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 17 Jun 2005 00:58:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565705#M838510</guid>
      <dc:creator>jacks0n</dc:creator>
      <dc:date>2005-06-17T00:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail configuration problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565706#M838511</link>
      <description>U can also use FEATURE(`nullclient', `server') in ur sendmail.mc to relay all the mails to the machine 'server'</description>
      <pubDate>Sat, 18 Jun 2005 02:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration-problems/m-p/3565706#M838511</guid>
      <dc:creator>Bejoy C Alias</dc:creator>
      <dc:date>2005-06-18T02:01:13Z</dc:date>
    </item>
  </channel>
</rss>

