Sendmail Question
Brian Densmore
DensmoreB at ctbsonline.com
Tue Jan 8 17:33:52 CST 2002
Oh, sorry. You also need to make sure sendmail is looking at the
virtusertable (it should be, but better safe). Look in your sendmail.mc
file for this entry:
FEATURE(`virtusertable', `dbm /etc/mail/virtusertable')dnl
if it is not there, then add it and rebuild the sendmail.cf file, like
this:
cd sendmail-VERSION/cf/cf
./Build mailserver.cf
cp mailserver.cf /etc/mail/sendmail.cf
> -----Original Message-----
> From: Brian Densmore
> Sent: Tuesday, January 08, 2002 11:17 AM
> To: Aaron
> Cc: KCLUG (E-mail)
> Subject: RE: Sendmail Question
>
>
> Aaron,
>
> I think you meant to send this to the list. Let me try to
> answer this.
> I thought about setting this up on my box, but it's decided
> not to. You
> need to add an entry the virtusertable.db database. This is a created
> from a text file called virtusertable.
>
> A possible entry would look like this:
>
> @mydomain.com myadmin at mydomain.com
>
> myadmin at mydomain.com has to either exist or be an alias defined in the
> aliases database. Once you edit the virtusertable, you will need to
> rebuild the .db file.
>
> you do that like this:
> makemap dbm /etc/mail/virtusertable [< sourcefile]
>
> the redirect is a way of creating the table from a file of a different
> name. I do this from the directory where the virtusertable is.
>
> Brian
>
>
> > -----Original Message-----
> > From: Aaron [mailto:aaron at aarons.net]
> > Sent: Tuesday, January 08, 2002 11:36 AM
> > To: Brian Densmore
> > Subject: Sendmail Question
> >
> >
> > Hiya. I have a simple question about sendmail.
> >
> > I would like to configure it so that if an e-mail comes in
> > for an unknown user it automatically forwards it to a
> > specified account instead of generating an error message.
> > Does anyone know where in the config file this would be done?
> >
> > Aaron
> >
>
>
> majordomo at kclug.org
>
More information about the Kclug
mailing list