Sendmail Class w domains

Sendmail Class w domains

am 06.11.2007 22:10:47 von trypsin21

Hello all,

I have a sendmail box 8.13.4 that has been our primary email server.
I recently set up an Exchange box and would like to forward mail to
it. I have several domains mydomain.com being the primary domain.
All of my other domains forward fine but the primary domain still
wants to deliver mail locally. I have removed it from local host
names but it still comes up a a class w domain in sendmail. I have
DONT_PROBE_INTERFACES set to true. I can figure out where it is
setting the class w. And being such it ignores the mailertable for
this domain.

I did find a mention of it in the sendmail.cf file

C{w}mydomain.com

where does it get this since there is no mention of my domain in
the .mc file?

I have been searching for days and cant figure out why it wants to set
this domain to class w.

Can anyone shed some light on where sendamil gets all the info for
class w besides the local-host-names and the interface?

Until i get this figured out i have to set a .forward file in all the
users home folders and redirect it to a domain that is forwarding.
Needless to say this seems like a bad way to do this.

thanks

Re: Sendmail Class w domains

am 07.11.2007 00:38:00 von per

In article <1194383447.835791.16440@o3g2000hsb.googlegroups.com>
trypsin21 writes:
>
>I did find a mention of it in the sendmail.cf file
>
>C{w}mydomain.com
>
>where does it get this since there is no mention of my domain in
>the .mc file?

The only way I could see that happening is if you have a
LOCAL_DOMAIN(mydomain.com) (or LOCAL_DOMAIN(`mydomain.com')) directive
in your .mc file - or in a file pulled in by the .mc - do you have a
DOMAIN(somefile) directive? If so, look in cf/domain/somefile.m4.

>Until i get this figured out i have to set a .forward file in all the
>users home folders and redirect it to a domain that is forwarding.
>Needless to say this seems like a bad way to do this.

Ouch, in such a case I would go ahead and edit sendmail.cf - until
I have figured out where the line is coming from.

--Per Hedeland
per@hedeland.org

Re: Sendmail Class w domains

am 07.11.2007 00:55:22 von Res

On Tue, 6 Nov 2007, Per Hedeland wrote:

>> Until i get this figured out i have to set a .forward file in all the
>> users home folders and redirect it to a domain that is forwarding.
>> Needless to say this seems like a bad way to do this.
>
> Ouch, in such a case I would go ahead and edit sendmail.cf - until
> I have figured out where the line is coming from.
>

I also hope he is using something like smf-sav Milter to do recipient
verification against the exchange server, else his backchatter will turn
out to be an even bigger problem for him than what he has now.


--
Cheers
Res