[nflug] Alias Question
Robert Meyer
meyer_rm at yahoo.com
Fri Feb 3 14:17:11 EST 2006
Hmmm... I guess I have to re-examine my understanding about virtusertable. I
was under the impression that if there wasn't an entry there for a user, it
wouldn't deliver it at all...
Hmmm... Maybe there's an option for that.
Cheers!
Bob
--- Justin Bennett <justin.bennett at dynabrade.com> wrote:
> Good info.
>
> This is what I did:
>
> in /etc/aliases
>
> jobs: bill
>
> in virtualusertable
> jobs at domain.com.nz: rob
>
> anything that comes in to jobs at domain.com gets cought by the jobs alias
> and gets delivered to bill, anything that goes to jobs at domain.com.nz is
> being handles by the virtualusertable and goes to rob..
>
> I only have the one entry in virtualuserstable. The rest of my mail is
> being delivered ok..
>
>
> I didn't change the sendmail.mc. My sendmail was already configured for
> virtualusertable.
>
>
>
> Robert Meyer wrote:
>
> >OK, here's how it works:
> >you add the line:
> >FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
> >
> >to the sendmail.mc file.
> >
> >Then create a file called 'virtusertable' in /etc/mail. Put ALL of your
> users
> >in the file like:
> >user at domain.com user
> >
> >where 'user at domain.com' is the incoming address. 'user' is the place to
> >deliver the mail. If you wanted an 'info' address for two different
> domains,
> >do:
> >jobs at domain.com user1
> >jobs at domain.com.nz user2
> >
> >Note that if you use this, EVERY user that gets email has to be in this file
> or
> >the mail to the address will be rejected.
> >
> >Cheers!
> >
> >Bob
> >
> >
> >--- Robert Meyer <meyer_rm at yahoo.com> wrote:
> >
> >
> >
> >>You want to use 'virtusertable' in /etc/mail. You will have to make a DB
> >>file
> >>out of it. Typically you have to run 'make' in /etc/mail.
> >>
> >>Cheers!
> >>
> >>Bob
> >>
> >>--- Justin Bennett <justin.bennett at dynabrade.com> wrote:
> >>
> >>
> >>
> >>>I have a server that handles emails for serveral domains.
> >>>say domain.com
> >>>and domain.com.nz
> >>>
> >>>they both get delivered to the users on the box so joe at domain.com and
> >>>joe at domain.com.nz both goto joe.
> >>>
> >>>what I want to do is setup two aliased
> >>>say
> >>>jobs at domain.com
> >>>and
> >>>jobs at domain.com.nz
> >>>
> >>>and have these goto different people.
> >>>
> >>>I'm just using the standard sendmail/procmail config that comes with
> >>>redhat 2.1.
> >>>
> >>>Thanks
> >>>Justin
> >>>_______________________________________________
> >>>nflug mailing list
> >>>nflug at nflug.org
> >>>http://www.nflug.org/mailman/listinfo/nflug
> >>>
> >>>
> >>>
> >>__________________________________________________
> >>Do You Yahoo!?
> >>Tired of spam? Yahoo! Mail has the best spam protection around
> >>http://mail.yahoo.com
> >>_______________________________________________
> >>nflug mailing list
> >>nflug at nflug.org
> >>http://www.nflug.org/mailman/listinfo/nflug
> >>
> >>
> >>
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam? Yahoo! Mail has the best spam protection around
> >http://mail.yahoo.com
> >_______________________________________________
> >nflug mailing list
> >nflug at nflug.org
> >http://www.nflug.org/mailman/listinfo/nflug
> >
> >
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list