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
-
When sending e-mail out I sometimes get this. Has anyone seen this error before?
-
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
-
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
-
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!
-
will the wild card part work so I don't have to constantly update domains???
thx, Paul
-
I tried that "wildcard", and so far so good.