[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] sendmail and cgi configuration error on a Raq2



Eric Lewis wrote:

> The script terminates abnormaly with a "configuration error" when the script
> is coded for a recipient email address which is for a domain hosted on the
> Raq itself.
> If I code the script for an email address who's domain isn't hosted on the
> Raq, it works perfectly.
> The raq is not set up as an email server for any of these sites.  The email
> servers are all hosted by the same ISP where the raq is colocated, but not
> on my box.
> I have the virtual sites setting set to "accept email for this domain"  so
> that domain.com and www.doman.com will both work.

If the RaQ is NOT to accept email for "anyone@xxxxxxxxxx" then you must
NOT check "Accept Email for this domain".  That shouldn't have anything
to do with making both www.domain.com and domain.com in the browser.  

If you do, then email from the Raq will never leave the RaQ.

You can change the line beginning:

@domain.com

in virtusertable, to

@domain.com	%1@xxxxxxxxxxxxxxx

Using the IP# of the server actually handling the email, but depending
on the server configuration they're using, it probably won't work
<frown>.  If you do:

%domain.com	%1@xxxxxxxxxx

it'll still create an endless loop; the MX record will never be checked
because the domain is oN the machine.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484