<?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 - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848762#M581972</link>
    <description>hi!&lt;BR /&gt;thanks a lot Christopher, but i have to ask you for further explanation. &lt;BR /&gt;(my knowledge about sendmail is quite reduced)&lt;BR /&gt;&lt;BR /&gt;so, should i umcomment the four last lines?&lt;BR /&gt;how sould i include the rules in the text file?&lt;BR /&gt;which one should be the format?&lt;BR /&gt;And...after creating the file text, should i genetare the dbm file?&lt;BR /&gt;&lt;BR /&gt;thanks a lot</description>
    <pubDate>Wed, 20 Nov 2002 14:25:15 GMT</pubDate>
    <dc:creator>Bawitdaba</dc:creator>
    <dc:date>2002-11-20T14:25:15Z</dc:date>
    <item>
      <title>sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848760#M581970</link>
      <description>hi everyone!.&lt;BR /&gt;I've got a case with a customer about sendmail configuration and i need help.&lt;BR /&gt;Cu wants to change the header of the leave out mail as the following example:&lt;BR /&gt;&lt;BR /&gt;-Original mail&lt;BR /&gt;from : +34XXXXXXXXX@dominio.com &lt;BR /&gt;&lt;BR /&gt;-Leave out mail&lt;BR /&gt; +34XXXXXXXXX@dominio.es&lt;BR /&gt;&lt;BR /&gt;More examples,&lt;BR /&gt;&lt;BR /&gt;from: +52XXXXXXXXXX@dominio.com -&amp;gt; +52XXXXXXXXXX@dominio.mx&lt;BR /&gt;from:  +56XXXXXXXX@dominio.com -&amp;gt;  +56XXXXXXXX@dominio.ch&lt;BR /&gt;&lt;BR /&gt;So, basically cu wants to modify rulesets in sendmail.cf so that the header of the leave out mail changes the domain field depending on the firts two digits of the incoming mail address.&lt;BR /&gt;&lt;BR /&gt;i'm not quite sure if changes in the rulesets are supported so then maybe i can open a WTEC case.&lt;BR /&gt;Thanks&lt;BR /&gt;Merce&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Nov 2002 12:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848760#M581970</guid>
      <dc:creator>Bawitdaba</dc:creator>
      <dc:date>2002-11-20T12:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848761#M581971</link>
      <description>Use the genericstable to rewrite the From: header of outbound mail&lt;BR /&gt;&lt;BR /&gt;format is&lt;BR /&gt;user@oldaddress   user@newaddress&lt;BR /&gt;&lt;BR /&gt;grep generic in sendmail.cf:&lt;BR /&gt;&lt;BR /&gt;$ grep generic /etc/mail/sendmail.cf&lt;BR /&gt;#####  @(#)generic-hpux10.mc    8.3 (Berkeley) 3/23/96  #####&lt;BR /&gt;#####  @(#)generic.m4   8.3 (Berkeley) 3/24/96  #####&lt;BR /&gt;#Kgenerics dbm /etc/mail/genericstable&lt;BR /&gt;# handle generics database&lt;BR /&gt;#R&amp;lt; $+ &amp;gt; $+ &amp;lt; $* &amp;gt; @    $: &amp;lt; $(generics $1 $: $) &amp;gt; $2 &amp;lt; $3 &amp;gt;&lt;BR /&gt;#R&amp;lt; &amp;gt; $+ &amp;lt; @ $+ &amp;gt;       $: &amp;lt; $(generics $1 $: $) &amp;gt; $1 &amp;lt; @ $2 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uncomment the generics rulesets.&lt;BR /&gt;&lt;BR /&gt;make a text file named /etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;to build the dbm file&lt;BR /&gt;makemap dbm /etc/mail/genericstable &amp;lt; /etc/mail/genericstable</description>
      <pubDate>Wed, 20 Nov 2002 13:23:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848761#M581971</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-11-20T13:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848762#M581972</link>
      <description>hi!&lt;BR /&gt;thanks a lot Christopher, but i have to ask you for further explanation. &lt;BR /&gt;(my knowledge about sendmail is quite reduced)&lt;BR /&gt;&lt;BR /&gt;so, should i umcomment the four last lines?&lt;BR /&gt;how sould i include the rules in the text file?&lt;BR /&gt;which one should be the format?&lt;BR /&gt;And...after creating the file text, should i genetare the dbm file?&lt;BR /&gt;&lt;BR /&gt;thanks a lot</description>
      <pubDate>Wed, 20 Nov 2002 14:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848762#M581972</guid>
      <dc:creator>Bawitdaba</dc:creator>
      <dc:date>2002-11-20T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848763#M581973</link>
      <description>If your customer is on 11 or 11i then you can download sendmail 8.11.1 from &lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=SMAIL811" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=SMAIL811&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and use the ./gen_cf to create a sendmail.cf that includes genericstable feature:&lt;BR /&gt;&lt;BR /&gt;Genericstable:&lt;BR /&gt; &lt;BR /&gt;                This feature will cause unqualified addresses (i.e., without&lt;BR /&gt;                a domain) and addresses with a domain listed in class {G}&lt;BR /&gt;                to be looked up in a map and turned into another ("generic")&lt;BR /&gt;                form, which can change both the domain name and the user name.&lt;BR /&gt;                This is similar to the userdb functionality.&lt;BR /&gt;&lt;BR /&gt;                The argument of FEATURE(`genericstable\') may be the map&lt;BR /&gt;                definition; the default map definition is:&lt;BR /&gt;&lt;BR /&gt;                        hash /etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;                The key for this table is either the full address, the domain&lt;BR /&gt;                (with a leading @; the localpart is passed as first argument)&lt;BR /&gt;                or the unqualified username (tried in the order mentioned);&lt;BR /&gt;                the value is the new user address.  If the new user address&lt;BR /&gt;                does not include a domain, it will be qualified in the standard&lt;BR /&gt;                manner, i.e., using  or the masquerade name.  Note that the&lt;BR /&gt;                address being looked up must be fully qualified.  For local&lt;BR /&gt;                mail, it is necessary to use FEATURE(`always_add_domain\')&lt;BR /&gt;                for the addresses to be qualified.&lt;BR /&gt;                The +detail of an address is passed as %1, so entries like&lt;BR /&gt;&lt;BR /&gt;                        old+*@foo.org   new+%1@example.com&lt;BR /&gt;                        gen+*@foo.org   %1@example.com&lt;BR /&gt;&lt;BR /&gt;                and other forms are possible.&lt;BR /&gt; &lt;BR /&gt;More information can be found at &lt;A href="http://docs.hp.com/hpux/pdf/5969-4305.pdf" target="_blank"&gt;http://docs.hp.com/hpux/pdf/5969-4305.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Berlene</description>
      <pubDate>Wed, 20 Nov 2002 22:45:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848763#M581973</guid>
      <dc:creator>Berlene Herren</dc:creator>
      <dc:date>2002-11-20T22:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848764#M581974</link>
      <description>Sorry, my grep was too limited&lt;BR /&gt;&lt;BR /&gt;sendmail.cf original -- change&lt;BR /&gt;&lt;BR /&gt;#Kgenerics dbm /etc/mail/genericstable &lt;BR /&gt;# handle generics database&lt;BR /&gt;#R$+ &amp;lt; @ $=G . &amp;gt;        $: &amp;lt; $1@$2 &amp;gt; $1 &amp;lt; @ $2 . &amp;gt; @    mark&lt;BR /&gt;#R$+ &amp;lt; @ *LOCAL* &amp;gt;      $: &amp;lt; $1@$j &amp;gt; $1 &amp;lt; @ *LOCAL* &amp;gt; @ mark&lt;BR /&gt;#R&amp;lt; $+ &amp;gt; $+ &amp;lt; $* &amp;gt; @    $: &amp;lt; $(generics $1 $: $) &amp;gt; $2 &amp;lt; $3 &amp;gt;&lt;BR /&gt;#R&amp;lt; &amp;gt; $+ &amp;lt; @ $+ &amp;gt;       $: &amp;lt; $(generics $1 $: $) &amp;gt; $1 &amp;lt; @ $2 &amp;gt;&lt;BR /&gt;#R&amp;lt; $* @ $* &amp;gt; $* &amp;lt; $* &amp;gt; $@ $&amp;gt;3 $1 @ $2                  found qualified&lt;BR /&gt;#R&amp;lt; $+ &amp;gt; $* &amp;lt; $* &amp;gt;      $: $&amp;gt;3 $1 @ *LOCAL*             found unqualified&lt;BR /&gt;#R&amp;lt; &amp;gt; $*                        $: $1                           not found&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;Kgenerics dbm /etc/mail/genericstable &lt;BR /&gt;# handle generics database&lt;BR /&gt;R$+ &amp;lt; @ $=G . &amp;gt;        $: &amp;lt; $1@$2 &amp;gt; $1 &amp;lt; @ $2 . &amp;gt; @    mark&lt;BR /&gt;R$+ &amp;lt; @ *LOCAL* &amp;gt;      $: &amp;lt; $1@$j &amp;gt; $1 &amp;lt; @ *LOCAL* &amp;gt; @ mark&lt;BR /&gt;R&amp;lt; $+ &amp;gt; $+ &amp;lt; $* &amp;gt; @    $: &amp;lt; $(generics $1 $: $) &amp;gt; $2 &amp;lt; $3 &amp;gt;&lt;BR /&gt;R&amp;lt; &amp;gt; $+ &amp;lt; @ $+ &amp;gt;       $: &amp;lt; $(generics $1 $: $) &amp;gt; $1 &amp;lt; @ $2 &amp;gt;&lt;BR /&gt;R&amp;lt; $* @ $* &amp;gt; $* &amp;lt; $* &amp;gt; $@ $&amp;gt;3 $1 @ $2                  found qualified&lt;BR /&gt;R&amp;lt; $+ &amp;gt; $* &amp;lt; $* &amp;gt;      $: $&amp;gt;3 $1 @ *LOCAL*             found unqualified&lt;BR /&gt;R&amp;lt; &amp;gt; $*                        $: $1                           not found&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With sendmail configs, the "table" files are real picky about format, but we use&lt;BR /&gt;entry[tab][tab]otherentry&lt;BR /&gt;one map per line.&lt;BR /&gt;&lt;BR /&gt;Once you've built /etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;with makemap&lt;BR /&gt;&lt;BR /&gt;makemap dbm /etc/mail/genericstable &amp;lt; /etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;And you've uncommented the rulesets, restart sendmail.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/sendmail stop&lt;BR /&gt;# /sbin/init.d/sendmail start; tail -f /var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt;(The tail is to make sure you don't have a config typo somewhere - if sendmail is bummed it'll tell you in the tail - ^C to stop).&lt;BR /&gt;&lt;BR /&gt;In the future, when modifying the genericstable, you don't have to restart sendmail.  Just make the changes in /etc/mail/genericstable and use makemap. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Nov 2002 12:34:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848764#M581974</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-11-21T12:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848765#M581975</link>
      <description>Doh! I'm sorry.  My post should have read&lt;BR /&gt;&lt;BR /&gt;With sendmail configs, the "table" files are [NOT] real picky about format&lt;BR /&gt;&lt;BR /&gt;i.e. spaces or tabs (a reasonable number) work&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Nov 2002 16:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-configuration/m-p/2848765#M581975</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-11-21T16:31:46Z</dc:date>
    </item>
  </channel>
</rss>

