<?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 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863672#M86808</link>
    <description>I'm going to try and give this over in a different way so maybe it helps more. sendmail.org is a big site and does a better but less concise job.&lt;BR /&gt;&lt;BR /&gt;Important sendmail files&lt;BR /&gt;&lt;BR /&gt;/etc/mail/senemail.mc&lt;BR /&gt;&lt;BR /&gt;Contails macro files. &lt;BR /&gt;&lt;BR /&gt;You will need entries in it to support multiple  domains. This will probably need to be on both servers.&lt;BR /&gt;&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.41, Name=MTA')dnl&lt;BR /&gt;&lt;BR /&gt;You'll need to cover every public and private  ip address you wish to bind to your semdmail configuration.  Miss one and you can get intermittant failures. Have one that isn't a local ip and sendmail can't send mail.&lt;BR /&gt;&lt;BR /&gt;Be careful&lt;BR /&gt;&lt;BR /&gt;Same file&lt;BR /&gt;&lt;BR /&gt;Cwxyz.net&lt;BR /&gt;Cwxfz.net&lt;BR /&gt;&lt;BR /&gt;Cw is required every domain supported or relayed must be included.&lt;BR /&gt;&lt;BR /&gt;#may not be needed. I put it in and it doesn't seem to hurt.&lt;BR /&gt;MASQUERADE_DOMAIN(xyz.net)dnl&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/mail/access file&lt;BR /&gt;&lt;BR /&gt;127.0.0.1                       RELAY&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Must include EVERY IP address or hostname you want to be able to relay mail. Miss one and you get intermittant errors. Have an extra and you may be vulnerable to open relay on the Internet.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/mail/virtusertable&lt;BR /&gt;abc@xyz.net      abc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/mail/genericstable&lt;BR /&gt;abc               abc@xyz.net&lt;BR /&gt;&lt;BR /&gt;Those two tables are the opposite of one and other. They provide rervse email address name resolution.&lt;BR /&gt;&lt;BR /&gt;Once again, if you are missing entries this can lead to inconsistent performance of teh sendmail transfer program both for inbound and outbound mail.&lt;BR /&gt;&lt;BR /&gt;The buildmail script attached to the prior post will take these configuration files and build a new sendmail.cf file It will also restart the sendmail daemon.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 04 Oct 2004 01:44:33 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-10-04T01:44:33Z</dc:date>
    <item>
      <title>sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863671#M86807</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;at first , I'm sorry to say that nobody is able to answer satisfactorily to my previous question:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=707546" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=707546&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;only steven have tried to answer it, but the answer was not for what I want to know.&lt;BR /&gt;&lt;BR /&gt;Now, I have a new problem, to the same context.  I have a domain , say xyz.net, for which I've subscribed some email accounts from an ISP. I use that ISPs smtp as a smart host in sendmail.  mails are working properly, except the intermittant "relaying prohibited" messages, as  Idescribed in previous thread.now, I want to create some internal mail accounts on the same domain. So, my question is, does it work without making any change to exsisting mail configuration, or I've to change something to get internal mailing to work? let's say, one user is abc@xyz.net ,for which I've an email account purchsed through ISP,so mails relayed to this user through smart host. Now, I've another user bcd@xyz.net, which is an internal    user only and intented to prticipate in internal mailing. so, what has to be configured to get it working?..means, some users mail on the same domain work through smart host, and some other internal user's mail through local sendmail only....</description>
      <pubDate>Mon, 04 Oct 2004 00:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863671#M86807</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2004-10-04T00:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863672#M86808</link>
      <description>I'm going to try and give this over in a different way so maybe it helps more. sendmail.org is a big site and does a better but less concise job.&lt;BR /&gt;&lt;BR /&gt;Important sendmail files&lt;BR /&gt;&lt;BR /&gt;/etc/mail/senemail.mc&lt;BR /&gt;&lt;BR /&gt;Contails macro files. &lt;BR /&gt;&lt;BR /&gt;You will need entries in it to support multiple  domains. This will probably need to be on both servers.&lt;BR /&gt;&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.41, Name=MTA')dnl&lt;BR /&gt;&lt;BR /&gt;You'll need to cover every public and private  ip address you wish to bind to your semdmail configuration.  Miss one and you can get intermittant failures. Have one that isn't a local ip and sendmail can't send mail.&lt;BR /&gt;&lt;BR /&gt;Be careful&lt;BR /&gt;&lt;BR /&gt;Same file&lt;BR /&gt;&lt;BR /&gt;Cwxyz.net&lt;BR /&gt;Cwxfz.net&lt;BR /&gt;&lt;BR /&gt;Cw is required every domain supported or relayed must be included.&lt;BR /&gt;&lt;BR /&gt;#may not be needed. I put it in and it doesn't seem to hurt.&lt;BR /&gt;MASQUERADE_DOMAIN(xyz.net)dnl&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/mail/access file&lt;BR /&gt;&lt;BR /&gt;127.0.0.1                       RELAY&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Must include EVERY IP address or hostname you want to be able to relay mail. Miss one and you get intermittant errors. Have an extra and you may be vulnerable to open relay on the Internet.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/mail/virtusertable&lt;BR /&gt;abc@xyz.net      abc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/mail/genericstable&lt;BR /&gt;abc               abc@xyz.net&lt;BR /&gt;&lt;BR /&gt;Those two tables are the opposite of one and other. They provide rervse email address name resolution.&lt;BR /&gt;&lt;BR /&gt;Once again, if you are missing entries this can lead to inconsistent performance of teh sendmail transfer program both for inbound and outbound mail.&lt;BR /&gt;&lt;BR /&gt;The buildmail script attached to the prior post will take these configuration files and build a new sendmail.cf file It will also restart the sendmail daemon.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Oct 2004 01:44:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863672#M86808</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-10-04T01:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863673#M86809</link>
      <description>thanks for reply steven, but my doubts are still not cleared :&lt;BR /&gt;&lt;BR /&gt;" You will need entries in it to support multiple domains. This will probably need to be on both servers."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what do you mean by supporting multimple domains, in my context, I will not have two different domains for internal &amp;amp; external domains.both type of users are on same domain, and same server. so, I'm not able to understand "multiple domain &amp;amp; both server" things you have written here.I simply need is, the mails for users who have an ID purchsed through Mail ISP, should get mails routed through ISP's SMTP, and the mails of users who have only internal ID should work through local SMTP of sendmail.when a user of first type ( having external ID) sends mail to internal users, it should not routed to ISPs SMTP, rather it should be delivered by local SMTP.</description>
      <pubDate>Mon, 04 Oct 2004 02:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863673#M86809</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2004-10-04T02:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863674#M86810</link>
      <description>Try the following:&lt;BR /&gt;1. edit /etc/mail/local-host-name&lt;BR /&gt;and append a line with &lt;BR /&gt;xyz.net&lt;BR /&gt;so that the sendmail will be able to get the mail of xyz domain.&lt;BR /&gt;2.edit /etc/mail/virtusertable &lt;BR /&gt;someone@xyz.net localuser&lt;BR /&gt;&lt;BR /&gt;where localuser is the username of the local user (of course).&lt;BR /&gt;3.Restart the sendmail service.&lt;BR /&gt;Now you should handle e-mail for someone@xyz.net locally,i.e. not to send it to smart host.</description>
      <pubDate>Mon, 04 Oct 2004 02:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863674#M86810</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-10-04T02:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863675#M86811</link>
      <description>If you have more than one server that handles sendmail tranfer in and out of your organization or have some kind of fault tolerance, high availability or such setup, all entries in the prior post for virtusertable and genericstable must be on all/both servers. You'll need to generate macros off your sendmail.mc file using the script I provided in a prior post or the script recommended at sendmail.org.&lt;BR /&gt;&lt;BR /&gt;Leaning the intracies of sendmail configuration, which is really what both posts is about is not something you are going to learn in one set of itrc forum posts. Look back at my own question history. There are a dozen questions focusing on various aspects of sendmail.&lt;BR /&gt;&lt;BR /&gt;The basic approach should be to test a user setup inbound and outbound while monitoring the /var/log/maillog file with a tail -f command. The errors will usually point to the problem.  Gradually you'll diagnose specific issues or create itrc forums threads for discreet problems.&lt;BR /&gt;&lt;BR /&gt;The replies have been broad because the question has been. No configuration files have been provided.&lt;BR /&gt;&lt;BR /&gt;If you provide error text from /var/log/maillog and scrubbed copies of the configuration files in /etc/mail and maybe /etc/aliases this problem can be identified and corrected.&lt;BR /&gt;&lt;BR /&gt;Or you can bring in someone to look at the files and teach you the interelationships.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 04 Oct 2004 07:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863675#M86811</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-10-04T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863676#M86812</link>
      <description>hi steven,&lt;BR /&gt;&lt;BR /&gt;thanks for your valuable suggestions, I'm going to work on this project this week, and I will post whenever I'll face any kind of problem...( I think I shouldn't face any, just have some hasitation on the concept that , in the same domain and same server, some users can be outbound and some only inbound...).&lt;BR /&gt;&lt;BR /&gt;thanks...</description>
      <pubDate>Tue, 05 Oct 2004 01:39:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863676#M86812</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2004-10-05T01:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863677#M86813</link>
      <description>closing thread</description>
      <pubDate>Fri, 25 Feb 2005 06:13:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration/m-p/4863677#M86813</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2005-02-25T06:13:37Z</dc:date>
    </item>
  </channel>
</rss>

