Sendmail genericstable help, please

Dan Busarow dan at dpcsys.com
Mon Sep 19 07:48:38 PDT 2005


On Sunday, September 18, 2005, at 08:25  PM, stan wrote:

> I;m trying to set up a 4.11 STABLE machine to act as the mailhost
> for a buch of virtual doamins. I'm planning on having "users" on
> the machien for each user/doaimn pair. I've got the incoming
> side of this working well with the Sendmail that came with 4.11
> (Not the ports version if it matters). I've done this with
> /etc/mail/virtusertable and appropruate configuration in the.mc file.
>
> Now, I;m trying to get the outbound side of it workig, and I'm
> not having much luck.
>
> I've crate /etc/mail/genericstable and it looks like this:
>
> stan    stan at i-v-o.net
>
> I'v also created /etc/mail/generics-domains it looks like this:
>
> i-v-o.net
>
> I've added the following to both ops2.ivo.net.mc and 
> ops2.ivo.net.submit.mc
>
> MASQUERADE_DOMAIN(`ops2.i-v-o.net')
> FEATURE(`genericstable', `hash -o /etc/mail/genericstable')
> GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')
> FEATURE(`allmasquerade')
> FEATURE(`masquerade_envelope')
> FEATURE(`masquerade_entire_domain')
>

Masquerade is the opposite of what you want to do.  Remove all of the 
masquerade lines and you should be OK

Dan
-- 
   Dan Busarow                                                 406 287 
2182
   Fish Creek Ventures                                       
dan at dpcsys.com
   5913 St Hwy 41, Whitehall, MT 59759



More information about the freebsd-questions mailing list