From: boehme@unvax.union.edu (Eric M. Boehm)
Subject: Need help configuring for GENERICFROM (LONG)
Summary: Can't seem to make it work.
Keywords: sendmail ida GENERICFROM aliases
Organization: Union College, Schenectady, NY
Date: Tue, 29 Sep 1992 13:32:34 GMT

I seem to be having difficulty getting GENERICFROM to work. I tried to
follow the examples given in the sendmail-5.65c-IDA-1.4.4.1 source
(specifically in ida/lib).

I tried to make an xaliases file as follows (I just copied my aliases
to xaliases with a few changes).

    #
    #  4/12/89 (ULTRIX) @(#)aliases	2.2
    #  Aliases in this file will NOT be expanded in the header from
    #  Mail, but WILL be visible over networks or from /bin/mail.
    #
    #	>>>>>>>>>>	The program "newaliases" must be run after
    #	>> NOTE >>	this file is updated for any changes to
    #	>>>>>>>>>>	show through to sendmail.
    #
    #  Individual users can forward their mail using a .forward file
    #  in their home directory; this is preferable to using an alias.
    #

    # Basic system aliases -- these MUST be present
    MAILER-DAEMON:	postmaster
    postmaster:	boehme
    operator,root,system,sysadmin,newacct:	boehme

    # Aliases to handle mail to msgs and news
    msgs:	 	"|/usr/ucb/msgs -s"

    #rnews:		"|/usr/local/uurec"

    #people in the format:
    #	alias:login
    #	   or
    #	alias:machine!login
    parlettm:	mcknighm

    # Try generic signature
    Eric.Boehm@union.edu:	<> boehme@unvax.union.edu

xalparse -r -t xaliases aliases+ - | dbm -d generics+ -RL load
generates the following:

    #aliases
    MAILER-DAEMON:postmaster
    postmaster:boehme
    operator:boehme
    root:boehme
    system:boehme
    sysadmin:boehme
    newacct:boehme
    msgs:"|/usr/ucb/msgs -s"
    parlettm:mcknighm
    Eric.Boehm%union.edu@localhost:boehme@unvax.union.edu

    #generics+
    boehme@unvax.union.edu	Eric.Boehm@union.edu


When I try to make newaliases with ./sendmail -bi -Oa`pwd`/aliases, I get


    (Resetting uid)
    /usr/local/lib/mail/aliases+: line 10: cannot alias non-local names
    Mailer al.q_mailer:
    m_name (symbolic name) TCP
    m_mailer (pathname) [IPC]
    m_flags BITMAP:      0  0  1002058  206100
    m_mno (internal mailer number) 6
    m_argv (template argument vector):   "IPC" "h"
    m_se_rwset (rewriting ruleset for envelope senders): 11
    m_sh_rwset (rewriting ruleset for header senders): 11
    m_re_rwset (rewriting ruleset for envelope recipients): 10
    m_rh_rwset (rewriting ruleset for header recipient): 11
    m_eol (end of line string)

    m_maxsize (size limit on message to this mailer): 0

    Mailer LocalMailer:
    m_name (symbolic name) local
    m_mailer (pathname) /bin/mail
    m_flags BITMAP:      0  0  2050  C7000
    m_mno (internal mailer number) 0
    m_argv (template argument vector):   "mail" "-d" "u"
    m_se_rwset (rewriting ruleset for envelope senders): 0
    m_sh_rwset (rewriting ruleset for header senders): 10
    m_re_rwset (rewriting ruleset for envelope recipients): 25
    m_rh_rwset (rewriting ruleset for header recipient): 10
    m_eol (end of line string)

    m_maxsize (size limit on message to this mailer): 0
    9 aliases, longest (mailer-daemon) 23 bytes, 141 bytes total


Any hints on what I am doing wrong would be greatly appreciated.
Included below is a copy of my m4 file. Please respond via e-mail.
Thanks in advance.

--
Eric M. Boehm
boehme@unvax.Union.EDU
BOEHME@UNION.BITNET



#unvax.mc
# Sendmail configuration file for unvax.union.edu

define(ALIASES, LIBDIR/aliases)
define(DECNETNAME, UNVAX)
define(DECNETNODES, LIBDIR/decnetnodes)
define(DECNETXTABLE, LIBDIR/decnetxtable)
define(DOMAINTABLE, LIBDIR/domaintable)
define(GENERICFROM, LIBDIR/generics)
define(LIBDIR, /usr/local/lib/mail)
define(MAILERTABLE, LIBDIR/mailertable)
define(M4COMMENTS)
define(PATHTABLE, LIBDIR/palias)
define(POSTMASTERBOUNCE)
define(PSEUDODOMAINS, bitnet csnet dnet uucp)
define(UUCPMAILER, UUCP-A)
define(UUCPNAME, unvax)
define(UUCPNODES, /var/uucp/L.sys)
include(Sendmail.mc)
-- 
Eric M. Boehm
boehme@unvax.Union.EDU
BOEHME@UNION.BITNET