|
Question : Virtual host problem with sendmail - please help!
|
|
I'm having a problem getting a virtual host to work with sendmail.
Here's as much relevant information as I can think of:
Machine host = magiteck.milleniumcare.com Virtual Host = perfume-oil.com Sendmail version = 8.13.2 OS = Slackware 10.1, Linux 2.6.9 POP3 server = qpopper
Some command responses: root@magiteck:/etc/mail# sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter > $=w magiteck.milleniumcare.com magiteck [192.168.1.103] localhost [127.0.0.1] > /map virtuser [email protected] map_lookup: virtuser ([email protected]) returns jared (0)
My /etc/mail/local-host-names file contains: magiteck.milleniumcare.com perfume-oil.com mail.perfume-oil.com
virtusertable contains: [email protected] jared
When I compiled sendmail.mc into sendmail.cf, the .mc file contained:
divert(0)dnl VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $') OSTYPE(linux)dnl DOMAIN(milleniumcare.com)dnl FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl MAILER(local)dnl MAILER(smtp)dnl
When I send mail to [email protected]re.com, it goes right through. When I attempt to send mail to [email protected], I get a failure message that says:
Message from yahoo.com. Unable to deliver message to the following address(es).
: 68.78.223.246 does not like recipient. Remote host said: 550 5.7.1 ... Relaying denied Giving up on 68.78.223.246.
======= I'd be very grateful of any help anybody could provide!! Thanks so much!!
|
Answer : Virtual host problem with sendmail - please help!
|
|
I suspect "DOMAIN(milleniumcare.com)dnl" is the problem. DOMAIN is to invoke a specific configuration for a specific site. Since everything else looks okay and that definition would not normally be in a sendmail.mc I think it may be at the root of the problem.
|
|
|
|