Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Sean Kannegiesser on September 11, 2002, 11:17:04 PM

Title: Sorry, that domain isn't in my list of allowed rcpthosts
Post by: Sean Kannegiesser on September 11, 2002, 11:17:04 PM
When sending e-mail out I sometimes get this. Has anyone seen this error before?
Title: Re: Sorry, that domain isn't in my list of allowed rcpthosts
Post by: Darrell May on September 12, 2002, 03:29:18 AM
rcpthosts is located in  /var/qmail/control/.  It is templated but start your investigation by taking a look at the file and see if your domain is listed.

Darrell
Title: Re: Sorry, that domain isn't in my list of allowed rcpthosts
Post by: Charlie Brady on September 12, 2002, 07:03:09 AM
Darrell May wrote:

> rcpthosts is located in  /var/qmail/control/.  It is
> templated but start your investigation by taking a look at
> the file and see if your domain is listed.

I'm not sure that that will help. Sean says he sees the problem sometimes when sending mail out. That means either that he's trying to use an SMTP server which won't allow him to relay mail, or it means that he is mailing to external folk who have badly configured DNS or mail servers for their domains.

Charlie
Title: Re: Sorry, that domain isn't in my list of allowed rcpthosts
Post by: Sean Kannegiesser on September 12, 2002, 11:02:53 AM
Well after messing around with a custom-template I figured out how to fix this problem. But I can't seem to get a wildcard to work with it sometimes. It works on SOME domains but not all!

I made this folder and file
pico /etc/e-smith/templates-custom/var/qmail/control/rcpthosts/trusted

Then once in here put in the domains that I was getting rejects from
hotmail.com
yahoo.com

These are just examples.

Then did
/sbin/e-smith/signal-event console-save

This saves the "trusted" domains to /var/qmail/control/rcpthosts

Then to restart qmail I did

/etc/rc.d/init.d/qmail restart

Works like a charm now. Other then that I might get some customers asking me why they can't send some e-mails to some domains for the time being.

But thats what I did to get it working for now.

Also what I did was tried a wildcard that a partner of mind thought of by putting these in for domains
*.com
*.ca
*.net
etc with the rest of the .com extentions

Just an idea!
Title: Re: Sorry, that domain isn't in my list of allowed rcpthosts
Post by: Paul on November 10, 2002, 11:20:22 PM
will the wild card part work so I don't have to constantly update domains???

thx, Paul
Title: Re: Sorry, that domain isn't in my list of allowed rcpthosts
Post by: brianN on January 07, 2003, 03:24:12 AM
I tried that "wildcard", and so far so good.