<?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 mail command and email header... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805802#M23853</link>
    <description>All,&lt;BR /&gt;does any know how to embed email header like 'X-script: $0" vi mail command?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Wed, 14 Jun 2006 10:51:45 GMT</pubDate>
    <dc:creator>K.C. Chan</dc:creator>
    <dc:date>2006-06-14T10:51:45Z</dc:date>
    <item>
      <title>mail command and email header...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805802#M23853</link>
      <description>All,&lt;BR /&gt;does any know how to embed email header like 'X-script: $0" vi mail command?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 14 Jun 2006 10:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805802#M23853</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2006-06-14T10:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: mail command and email header...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805803#M23854</link>
      <description>Shalom KC&lt;BR /&gt;&lt;BR /&gt;Most of what is the header is based on system configuraiton and sendmail.cf configuration.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 14 Jun 2006 10:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805803#M23854</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-14T10:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: mail command and email header...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805804#M23855</link>
      <description>Hi&lt;BR /&gt;for modify the header, i add this lines on my /etc/mail sendmail.mc AND /etc/mail/submit.mc sendmail configuration files.&lt;BR /&gt;&lt;BR /&gt;define(`confRECEIVED_HEADER', `from smtp1.mydomain.fr&lt;BR /&gt;    by smtp1.mydomain.fr $?r with $r$. id $i$?u&lt;BR /&gt;    for $u; $|;&lt;BR /&gt;    $.$b')dnl&lt;BR /&gt;define(`confMESSAGEID_HEADER', `&amp;lt;$t.$i@smtp1.mydomain.fr&amp;gt;')dnl&lt;BR /&gt;&lt;BR /&gt;Hope this help you,&lt;BR /&gt;&lt;BR /&gt;Joel&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 02:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805804#M23855</guid>
      <dc:creator>Joel Girot</dc:creator>
      <dc:date>2006-06-15T02:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: mail command and email header...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805805#M23856</link>
      <description>&lt;!--!*#--&gt;The changes Joel suggests will add that header to all mails that go out.&lt;BR /&gt;&lt;BR /&gt;You only want to add this header to mails that you're generating from a script and are piping through the 'mail' command, right?&lt;BR /&gt;&lt;BR /&gt;Using 'mail', you can't.  It just isn't designed for that.&lt;BR /&gt;&lt;BR /&gt;So, what are your options?  Really, not that many.&lt;BR /&gt;&lt;BR /&gt;Two I can think of off the top of my head.&lt;BR /&gt;&lt;BR /&gt;  1)  Make a file 'script.muttrc', and use 'mutt -F script.muttrc  -s "&lt;SUBJECT&gt;" &lt;RECIPIENT&gt;' in place of 'mail -s "&lt;SUBJECT&gt;" &lt;RECIPIENT&gt;'.  Put the line:&lt;BR /&gt;&lt;BR /&gt;       my_hdr X-Script: scriptname&lt;BR /&gt;&lt;BR /&gt;    in the 'script.muttrc' file.&lt;BR /&gt;&lt;BR /&gt;  2)  Create the entire message and header structure outside of any mail program, with customized header lines etc. in it, and shove the entire thing through 'sendmail -bt &lt;RECIPIENT&gt;'.&lt;BR /&gt;&lt;BR /&gt;Just some mthoughts.&lt;/RECIPIENT&gt;&lt;/RECIPIENT&gt;&lt;/SUBJECT&gt;&lt;/RECIPIENT&gt;&lt;/SUBJECT&gt;</description>
      <pubDate>Thu, 15 Jun 2006 05:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805805#M23856</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-06-15T05:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: mail command and email header...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805806#M23857</link>
      <description>Hi all!&lt;BR /&gt;&lt;BR /&gt;I have a question. I add a custom header to my e-mails, and set up the return-path. The question would be that if the mail doesn't go to the recipient and it is returned at the return adress than is it possible to lose my header or i'll get the mail exactly as i'll sent it???&lt;BR /&gt;&lt;BR /&gt;With respect Zsolt.</description>
      <pubDate>Mon, 09 Oct 2006 06:29:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-command-and-email-header/m-p/3805806#M23857</guid>
      <dc:creator>zsolt_1</dc:creator>
      <dc:date>2006-10-09T06:29:34Z</dc:date>
    </item>
  </channel>
</rss>

