Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 13:42:28 -0400
From:      Sam Carleton <scarleton@miltonstreet.com>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: sendmail and aliases/virtusertable/genericstable
Message-ID:  <3975E884.D61A31E7@miltonstreet.com>
References:  <3975AC5F.386062AE@miltonstreet.com> <3975AF24.ADA7CF8D@wmptl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nathan Vidican wrote:

> Sam Carleton wrote:
> >
> > In the process of trying to map a username into something else as the
> > email comes and goes from sendmail, I have locked up sendmail.  Right
> > now when I try to send mail through pine, pine freezes at the send.
> > This is what I have done:
> >
> > Ok, I have the following lines in my sendmail.cf:
> >
> >  # Generics table (mapping outgoing addresses)
> >  Kgenerics hash -o /etc/mail/genericstable
> >
> >  # Virtual user table (maps incoming users)
> >  Kvirtuser hash -o /etc/mail/virtusertable
> >
> >  and I created one source file for Generics table that will convert
> > email from sam to scarleton, it looks like this:
> >
> >  sam scarleton@domain.com
> >
> > and then a source file for Virtual user table as to map
> > scarleton@domain.com back to sam:
> >
> >  scarleton@domain.com sam
> >
> > I have also modified the alias file.  Then I used makemap in this
> > fashion to create /etc/mail/genericstable.db,
> > /etc/mail/virtusertable.db, and /etc/alias.db
> >
> >  makemap hash genericstable  < gsourcefile
> >  makemap hash virtusertable  < vsourcefile
> >  makemap hash aliases  < aliases
> >
> > I first had done only the genericstable and virtusertable.  The outgoing
> >
> > email name was NOT being traslated for me:(  After changing alias and
> > running makemap on it, that is when pine started freezing when trying to
> >
> > send mail.  Should I be using makemap to create the files or is there
> > another program I should be using for the default config on FreeBSD
> > 4.0-STABLE?
> >
> > Sam
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
> You shouldn't make a hash of aliases, use the command 'newaliases', the
> rest seems fine, and should work. Try running 'newaliases', and
> completely recycling sendmail.
>

Thanks for the tip on newaliases, that worked for me:)  The virtusertable
works fine but the genericstable simply does not work.  Any thoughts on what I

should look into?

Sam



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3975E884.D61A31E7>