<?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: Mail configuring in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059113#M76488</link>
    <description>Correcting a typo here.&lt;BR /&gt;&lt;BR /&gt;The Dj parameter in sendmail.cf should do the job.&lt;BR /&gt;&lt;BR /&gt;Change it to &lt;BR /&gt;Djroot.server2&lt;BR /&gt;&lt;BR /&gt;# Note the lack of spaces between the Dj and the name.&lt;BR /&gt;&lt;BR /&gt;save sendmail.cf&lt;BR /&gt;&lt;BR /&gt;service sendmail restart&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It could also be done with more effort in the macro file.  sendmail.mc  Thats a little advanced for this simple request.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 28 Aug 2003 17:59:04 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-08-28T17:59:04Z</dc:date>
    <item>
      <title>Mail configuring</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059111#M76486</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have some linux with sendmail and postfix, and I relay all mails to one exchange server.&lt;BR /&gt;I want to receive the linux mails in this format:&lt;BR /&gt;root.server1@domain.com.ar&lt;BR /&gt;root.server2@domain.com.ar&lt;BR /&gt;&lt;BR /&gt;In this way I can identify the origin of the mails.&lt;BR /&gt;&lt;BR /&gt;Are there any parameter in de sendmail.cf or main.cf to do this ???&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 28 Aug 2003 17:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059111#M76486</guid>
      <dc:creator>Daniel Ubeda</dc:creator>
      <dc:date>2003-08-28T17:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mail configuring</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059112#M76487</link>
      <description>The Dj parameter in sendmail.cf should do the job.&lt;BR /&gt;&lt;BR /&gt;Change it to &lt;BR /&gt;djroot.server2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;save sendmail.cf&lt;BR /&gt;&lt;BR /&gt;service sendmail restart&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It could also be done with more effort in the macro file.  sendmail.mc  Thats a little advanced for this simple request.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 28 Aug 2003 17:58:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059112#M76487</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-28T17:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mail configuring</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059113#M76488</link>
      <description>Correcting a typo here.&lt;BR /&gt;&lt;BR /&gt;The Dj parameter in sendmail.cf should do the job.&lt;BR /&gt;&lt;BR /&gt;Change it to &lt;BR /&gt;Djroot.server2&lt;BR /&gt;&lt;BR /&gt;# Note the lack of spaces between the Dj and the name.&lt;BR /&gt;&lt;BR /&gt;save sendmail.cf&lt;BR /&gt;&lt;BR /&gt;service sendmail restart&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It could also be done with more effort in the macro file.  sendmail.mc  Thats a little advanced for this simple request.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 28 Aug 2003 17:59:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059113#M76488</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-28T17:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mail configuring</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059114#M76489</link>
      <description>I put:&lt;BR /&gt;&lt;BR /&gt;Djroot.server1&lt;BR /&gt;&lt;BR /&gt;and the mail say:&lt;BR /&gt;&lt;BR /&gt;from: root@root.server1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think that is not possible insert any word between the username and the @.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 28 Aug 2003 20:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059114#M76489</guid>
      <dc:creator>Daniel Ubeda</dc:creator>
      <dc:date>2003-08-28T20:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mail configuring</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059115#M76490</link>
      <description>So you want to force the "From" user's address?&lt;BR /&gt;&lt;BR /&gt;Is this for *all* mail, or just from a specific process?&lt;BR /&gt;&lt;BR /&gt;if the latter (and it's a root user), you can use the '-f' flag on sendmail to force the from address to be pretty much anything you want.&lt;BR /&gt;&lt;BR /&gt;Otherwise, I'm not sure of a 'nice' way to mangle the 'username' (that's the bit infront of the @) without some serious CF hacking.&lt;BR /&gt;&lt;BR /&gt;You might want to look at your sendmail references for that one.</description>
      <pubDate>Thu, 28 Aug 2003 22:26:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059115#M76490</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-08-28T22:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mail configuring</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059116#M76491</link>
      <description>edit /etc/mail/sendmail.mc -find the masquerading rule (quite easy -search for the word masquerade -capital letters) and update this file.&lt;BR /&gt;Then issue this command:&lt;BR /&gt;m4 /etc/mail/sendmail.mc &amp;gt; /etc/mail/sendmail.cf</description>
      <pubDate>Fri, 29 Aug 2003 05:09:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059116#M76491</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-08-29T05:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mail configuring</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059117#M76492</link>
      <description>There are several approaches here. First of all, I can only speak about sendmail, I have no knowledge on postfix.&lt;BR /&gt;&lt;BR /&gt;It seems you want masquerading -&amp;gt; set the DM&lt;BR /&gt;DMdomain.com.ar&lt;BR /&gt;&lt;BR /&gt;Now if you want this scenario for all mails from root, add the folowing line in the section starting with "SHdrFromSMTP=31":&lt;BR /&gt;&lt;BR /&gt;SHdrFromSMTP=31&lt;BR /&gt;#root masquerading&lt;BR /&gt;Rroot&amp;lt;@$w.$m&amp;gt;           $@root.$w@$m&lt;BR /&gt;Rroot&amp;lt;@$w.$m.&amp;gt;          $@root.$w@$m&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The ruleset SHdrFromSMTP=31 is from a 8.11.1 sendmail.cf found on hp-ux. I am not sure what version of sendmail is on RH 9, but the rule set is present in RH7.2's 8.11.6&lt;BR /&gt;&lt;BR /&gt;Some more free advise, document, how you built you sendmail.cf, and the modifiations made afterwards. In a next release, it might all change, and it is sometimes very hard to back track the changes made.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Kasper</description>
      <pubDate>Fri, 29 Aug 2003 06:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-configuring/m-p/3059117#M76492</guid>
      <dc:creator>Kasper Haitsma</dc:creator>
      <dc:date>2003-08-29T06:55:49Z</dc:date>
    </item>
  </channel>
</rss>

