Sendmail Question
Brian Densmore
DensmoreB at ctbsonline.com
Tue Jan 8 17:20:07 CST 2002
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
>
More information about the Kclug
mailing list