<?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: Senmail problem for mutiple domains in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792128#M88702</link>
    <description>I am not sure if you have your problem fixed yet. Your configs looks good.&lt;BR /&gt;&lt;BR /&gt;One thing to be sure of on the firewall. and again I don't know your firewall. DNS is UDP traffic, make sure the firewall allow this traffic bi-directional.&lt;BR /&gt;&lt;BR /&gt;I have yet to find a firewall that can remember to map back UDP traffic.</description>
    <pubDate>Thu, 22 Aug 2002 21:09:05 GMT</pubDate>
    <dc:creator>Donny Jekels</dc:creator>
    <dc:date>2002-08-22T21:09:05Z</dc:date>
    <item>
      <title>Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792126#M88700</link>
      <description>I am hosting multiple domains on a single Linux server.&lt;BR /&gt;&lt;BR /&gt;call them domain1.com&lt;BR /&gt;          domain2.com&lt;BR /&gt;          domain3.com&lt;BR /&gt;&lt;BR /&gt;Added the following to /etc/aliases&lt;BR /&gt;duser1:        @domain1.com&lt;BR /&gt;duser2:        @domain2.com&lt;BR /&gt;duser:         @domain3.com&lt;BR /&gt;&lt;BR /&gt;Made the following changes to /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;changes to /etc/mail/mailertable&lt;BR /&gt;domain1.com       smtp:mail.domain1.com&lt;BR /&gt;domain2.com       smtp:mail.domain2.com&lt;BR /&gt;domain3.com       smtp:mail.domain3.com&lt;BR /&gt;&lt;BR /&gt;following changes made to &lt;BR /&gt;/etc/mail/virtusertable&lt;BR /&gt;@domain1.com    duser1&lt;BR /&gt;@domain2.com    duser2&lt;BR /&gt;@domain3.com    duser3&lt;BR /&gt;&lt;BR /&gt;Ran the following commands&lt;BR /&gt;makedmap -v hast /etc/mail/virtusers.db &amp;lt; /etc/mail/virtusers&lt;BR /&gt;makedmap -v hast /etc/mail/mailertable.db &amp;lt; /etc/mail/mailertable&lt;BR /&gt;&lt;BR /&gt;Got no errors.  DNS is fully configured and working and the firewall is not blocking access to port 53.&lt;BR /&gt;&lt;BR /&gt;Can not get sendmail name lookups to be valid for inquiry@doman1.com&lt;BR /&gt;&lt;BR /&gt;/etc/sendmail.cf Directive 90 section is uncommented, sendmail was restarted.&lt;BR /&gt;&lt;BR /&gt;What have I missed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 18:50:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792126#M88700</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-22T18:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792127#M88701</link>
      <description>Title should read sendmail, not senmail</description>
      <pubDate>Thu, 22 Aug 2002 18:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792127#M88701</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-22T18:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792128#M88702</link>
      <description>I am not sure if you have your problem fixed yet. Your configs looks good.&lt;BR /&gt;&lt;BR /&gt;One thing to be sure of on the firewall. and again I don't know your firewall. DNS is UDP traffic, make sure the firewall allow this traffic bi-directional.&lt;BR /&gt;&lt;BR /&gt;I have yet to find a firewall that can remember to map back UDP traffic.</description>
      <pubDate>Thu, 22 Aug 2002 21:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792128#M88702</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2002-08-22T21:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792129#M88703</link>
      <description>Thank you sir.  The firewall is properly handling udp and tcp traffic on port 53, accepting it, allowing the websites to function.&lt;BR /&gt;&lt;BR /&gt;It is also passing outside mail on port 25, so since its handling MY domain, I started getting outside mail again via an exchange server on the local network.&lt;BR /&gt;&lt;BR /&gt;Because of the sendmail setup, the Linux server itself can't resolve alias mail.  I'm scratching my head on this one, because I think I did everything right.  Obviously I didn't.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 22 Aug 2002 22:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792129#M88703</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-22T22:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792130#M88704</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Could you share the error's with us please. In what stage of receiving/sending does it fail, with which error code.&lt;BR /&gt;&lt;BR /&gt;A configuration part I have not seen, is 'Fw/etc/mail/local-host-names' see below&lt;BR /&gt;&lt;BR /&gt;Another thing that you can check: You say DNS is fully configured.  Can you share the result of:  'nslookup -q=mx domain3.com' it should return lowest MX value for this particular server e.g.&lt;BR /&gt;&lt;BR /&gt;domain3.com   pref = 10, mailexchanger = host.domain1.com&lt;BR /&gt;domain3.com   pref = 50, mailexchanger = mail.your_isp.com&lt;BR /&gt;...&lt;BR /&gt;and records for nameservers authorative for these domains, as well as reverse lookup resulting in IP for the mentioned hosts&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--------- Class w explaination -----&lt;BR /&gt;w holds the values, that this_host_accepts_mail_for &lt;BR /&gt;&lt;BR /&gt;if mail for your domains should also be accepted by this host, then they needs to be included into 'w'.  I suggest to add the following to /etc/mail/local-host-names &lt;BR /&gt;host&lt;BR /&gt;host.domain1.com # assuming host is part of domain1&lt;BR /&gt;domain1.com&lt;BR /&gt;domain2.com&lt;BR /&gt;domain3.com&lt;BR /&gt;&lt;BR /&gt;local-host-names is referenced from sendmail.cf by the line: &lt;BR /&gt;Fw/etc/mail/local-host-names &lt;BR /&gt;&lt;BR /&gt;local-host-names == sendmail.cw on hp-ux &lt;BR /&gt;&lt;BR /&gt;You can test if sendmail sees the correct values by starting sendmail in test mode: &lt;BR /&gt;sendmail -bt &lt;BR /&gt;&amp;gt; $=w #should return all the values sendmail holds for 'w' &lt;BR /&gt;localhost &lt;BR /&gt;host&lt;BR /&gt;host.domain1.com&lt;BR /&gt;domain1.com&lt;BR /&gt;domain2.com&lt;BR /&gt;domain3.com&lt;BR /&gt;[127.0.0.1] &lt;BR /&gt;[IP for host.domain1.com] &lt;BR /&gt;&amp;gt; &lt;CTRL&gt;D #to exit test harnas &lt;BR /&gt;&lt;BR /&gt;The next bit is from sendmail.cf on hp-ux explaining the Class 'w': &lt;BR /&gt;&lt;BR /&gt;Aliases for Local Host (class w): This configuration will automatically recognize that mail to users at the local host or any of its host name aliases or CNAMEs should be delivered locally. Other host names that you wish to recognize as local can be added to class w as either a simple class definition (Cw) or a file class (Fw). Any names added to class w must be canonical names. For example, by default, only the server of an nfs cluster runs the sendmail daemon, and mail from the clients is sent out with headers indicating that it originated on the server. However, you might want the server also to accept mail addressed to users at the clients. You could have nameserver MX records directing mail for the clients to the server, and make the server recognize the clients' host names as local. By default class W is defined in 2 stages. Using Cw to add the name "localhost" to class w and then adding the names listed in the file "/etc/mail/sendmail.cw" to class w using Fw. To add other hostnames to class w just add the names as new lines in the file sendmail.cw. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth &lt;BR /&gt;&lt;BR /&gt;Kasper Haitsma&lt;BR /&gt;hp ned.b.v.&lt;BR /&gt;Messaging &amp;amp; OVO-UX Engineer&lt;/CTRL&gt;</description>
      <pubDate>Fri, 23 Aug 2002 06:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792130#M88704</guid>
      <dc:creator>Kasper Haitsma</dc:creator>
      <dc:date>2002-08-23T06:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792131#M88705</link>
      <description>The Error returned is user not found when trying to use inquiry@domain1.com as an email address in a perl script using sendmail.&lt;BR /&gt;&lt;BR /&gt;Here are the results from command line sendmail&lt;BR /&gt;sendmail -v -d9 -d38 inquiry@domain1.com&lt;BR /&gt;getauthinfo: invest@localhost&lt;BR /&gt;host_map_lookup(domain1.com) =&amp;gt; FOUND domain1.com&lt;BR /&gt;inquiry@domain1.com... User unknown&lt;BR /&gt;Steve was here&lt;BR /&gt;.&lt;BR /&gt;invest... aliased to @domain1.com&lt;BR /&gt;host_map_lookup(domain1.com) =&amp;gt; CACHE domain1.com&lt;BR /&gt;/home/invest/dead.letter... Saved message in /home/invest/dead.letter&lt;BR /&gt;&lt;BR /&gt;nslookup -q mx&lt;BR /&gt;domain1.com mail exchanger = 10 domain1.com.&lt;BR /&gt;&lt;BR /&gt;These results match the DNS record&lt;BR /&gt;&lt;BR /&gt;Here are the results from the sendmail -bt command.&lt;BR /&gt;I'm going to give actual results, I'm tired of changing them.&lt;BR /&gt;&lt;BR /&gt;@isnamerica.com&lt;BR /&gt;isnamerica.com&lt;BR /&gt;ftp.investmenttool.com&lt;BR /&gt;@investmenttool.com&lt;BR /&gt;shell.investmenttool.com&lt;BR /&gt;dns1.investmenttool.com&lt;BR /&gt;localhost.localdomain&lt;BR /&gt;localhost&lt;BR /&gt;investmenttool.com&lt;BR /&gt;[66.92.143.194]&lt;BR /&gt;&lt;A href="http://www.investmenttool.com" target="_blank"&gt;www.investmenttool.com&lt;/A&gt;&lt;BR /&gt;[127.0.0.1]&lt;BR /&gt;jerusalem.investmenttool.com&lt;BR /&gt;news.investmenttool.com&lt;BR /&gt;jerusalem&lt;BR /&gt;&lt;BR /&gt;The server serves hostname is jerusalem&lt;BR /&gt;Its primary domain is investmenttool.com&lt;BR /&gt;Linux, Red Hat 7.3 on a Dell Poweredge 500SC 1.2 G Ram 2 40 G drives, RAID 1/0 mirror&lt;BR /&gt;&lt;BR /&gt;and records for nameservers authorative for these domains, as well as reverse lookup resulting in IP for the mentioned hosts&lt;BR /&gt;Reverse lookups are working right now.&lt;BR /&gt;&lt;BR /&gt;Go ahead and try it, the DNS server is working well.&lt;BR /&gt;&lt;BR /&gt;Here is local-host-names&lt;BR /&gt;[root@jerusalem mail]# cat local-host-names&lt;BR /&gt;# local-host-names - include all aliases for your machine here.&lt;BR /&gt;&lt;A href="http://www.investmenttool.com" target="_blank"&gt;www.investmenttool.com&lt;/A&gt;&lt;BR /&gt;investmenttool.com&lt;BR /&gt;jerusalem.investmenttool.com&lt;BR /&gt;isnamerica.com&lt;BR /&gt;@investmenttool.com&lt;BR /&gt;@isnamerica.com&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2002 17:34:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792131#M88705</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-23T17:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792132#M88706</link>
      <description>Error Code 550 User not found&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2002 17:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792132#M88706</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-23T17:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792133#M88707</link>
      <description>Changed this&lt;BR /&gt;&lt;BR /&gt;/etc/mail/virtusertable &lt;BR /&gt;@domain1.com duser1 &lt;BR /&gt;@domain2.com duser2 &lt;BR /&gt;@domain3.com duser3 &lt;BR /&gt;&lt;BR /&gt;to this&lt;BR /&gt;&lt;BR /&gt;/etc/mail/virtusertable &lt;BR /&gt;@domain1.com %1 &lt;BR /&gt;@domain2.com %1 &lt;BR /&gt;@domain3.com %1&lt;BR /&gt;&lt;BR /&gt;Still get the 550 error.  I feel like I'm really close.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2002 18:41:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792133#M88707</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-23T18:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792134#M88708</link>
      <description>wondering if I need to make changes to /etc/sendmail.mc and generate a new sendmail.cf&lt;BR /&gt;&lt;BR /&gt;Is that necessary?</description>
      <pubDate>Fri, 23 Aug 2002 18:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792134#M88708</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-23T18:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792135#M88709</link>
      <description>Sorry I have not responded earlier, I only get a notification once a day, and it is only a sub task of me..&lt;BR /&gt;&lt;BR /&gt;Anyway you seem to be very close. I think it has to do with the virtuser table, as you are working on as well. Do duser1 .. duser3 really exist on this machine? These need to be real e-mail addresses or aliases. It depends on your current sendmail.cf, if you have to rebuild it. Is there a line like:&lt;BR /&gt;Kvirtuser hash -o /etc/mail/virtusertable&lt;BR /&gt;&lt;BR /&gt;and other references to the variable virtuser in the rules (do not mess with them please)&lt;BR /&gt;did you build &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Kasper Haitsma&lt;BR /&gt;hp ned bv</description>
      <pubDate>Fri, 23 Aug 2002 20:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792135#M88709</guid>
      <dc:creator>Kasper Haitsma</dc:creator>
      <dc:date>2002-08-23T20:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792136#M88710</link>
      <description>Answers to your latest quesions: Yes the three users do exist.&lt;BR /&gt;&lt;BR /&gt;Here is the relavent section of sendmail.cf&lt;BR /&gt;&lt;BR /&gt;# Mailer table (overriding domains)&lt;BR /&gt;Kmailertable hash -o /etc/mail/mailertable.db&lt;BR /&gt;&lt;BR /&gt;# Virtual user table (maps incoming users)&lt;BR /&gt;Kvirtuser hash -o /etc/mail/virtusertable.db&lt;BR /&gt;&lt;BR /&gt;CPREDIRECT&lt;BR /&gt;&lt;BR /&gt;# Access list database (for spam stomping)&lt;BR /&gt;Kaccess hash -o /etc/mail/access.db&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2002 22:39:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792136#M88710</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-23T22:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792137#M88711</link>
      <description>made the following change to /etc/mail/sendmail.mc&lt;BR /&gt;&lt;BR /&gt;Changed Cwlocalhost....&lt;BR /&gt;&lt;BR /&gt;to Cwinvestmenttool.com&lt;BR /&gt;&lt;BR /&gt;Did the m4 thing to generate a new sendmail.cf&lt;BR /&gt;&lt;BR /&gt;It helped.  yahoo at least started excepted my perl based sendmail forms.&lt;BR /&gt;&lt;BR /&gt;Can I have multiple Cw lines in the sendmail.mc file?  One for each domain?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Strange thing is I looked at the configuration of my HP-Ux box and out of the box, it will pretty much use any send address on the domain without modification.  Quite interesting.</description>
      <pubDate>Mon, 26 Aug 2002 13:24:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792137#M88711</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-26T13:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Senmail problem for mutiple domains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792138#M88712</link>
      <description>I have minimized this problem by entering individual alias addresses in the /etc/aliases file and running the command newaliases&lt;BR /&gt;&lt;BR /&gt;Its cumbersome and I'd like to improve upon it.</description>
      <pubDate>Tue, 27 Aug 2002 17:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/senmail-problem-for-mutiple-domains/m-p/2792138#M88712</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-08-27T17:35:24Z</dc:date>
    </item>
  </channel>
</rss>

