> yes they exist in /etc/mail/ but virtusertable is empty.
The virtusertable is the text file you add your mappings to. The format is:
username@virtualdomain.com<whitespace>username@realdomain.com
(there's a way to do all addresses for a virtual domain but I'm not sure of
the format - whether it's an asterisk or you just drop the whole "username@"
part)
Anyway, them you convert that table into a DB file for sendmail by running
'makemap hash virtusertable'
Providing everything else is setup correctly (sendmail will accept email for
the said virtual domains, the remaining virtual domain code in sendmail.cf
is uncommented) it should work.
Let me know if it works...
Marc
-- Marc Matteo Online Technology Leader http://www.sacbee.com----- Original Message ----- From: "andy wergedal" <awerg@creativepage.com> To: <lug-nuts@saclug.org> Sent: Wednesday, January 12, 2000 7:23 AM Subject: Re: [lug-nuts] Sendmail virtual email domain?
> > >Problem one, "using linuxconf". :) > ok no more linuxconf. (at least for sendmail) > > >There should a textfile with these mappings in it somewhere. Usually > >"/etc/mail/virtusertable". There should also be a matching DB file that > >sendmail actually uses, usually "/etc/mail/virtusertable.db". > > > >Do these exist? > yes they exist in /etc/mail/ but virtusertable is empty. > > >Check inside "/etc/sendmail.cf" for a line like: > > > >Kvirtuser hash /etc/mail/virtusertable > > > > this line is uncommented > > Do I hand write the virtusertable? > Then, do I have to use M4 so it will create the virtusertable.db? > > -- Andy (xDroid) > > **************************************************************************** > * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts" > * in the message body to majordomo@saclug.org. Please direct other > * questions, comments, or problems to lug-nuts-owner@saclug.org. >
**************************************************************************** * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts" * in the message body to majordomo@saclug.org. Please direct other * questions, comments, or problems to lug-nuts-owner@saclug.org.
This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:10 PST