We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


freebsd qmail relaying

jpipitone asked
Medium Priority
Last Modified: 2010-03-17
We have to be able to relay to any domain in the world, however with our current qmail config we're getting the following error:

553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

Our tcp.smtp looks like this:



Can anyone help?
Watch Question

Solution Architect

I suspect your local area network is, rigth?

did you ran the database conversion from your tcp.smtp file?

is like this:
tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp

then you reload your qmail with the supplied rc file, and test again.

make sure your expressed network is your local area one.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


What does this command do?

tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp

Which rc file are you referring to?  Please be more specific, I'm unsure as to what you mean....
Gabriel OrozcoSolution Architect

qmail uses an special hash file to understand from where to relay.
your text file (tcp.smtp) is the source for the other file (the hash file) so that command refresh the hash file from your text file.

when I refer to the rc file, I'm trying to refer to the file that starts qmail. I was trying to tell you to restart qmail after refresh the hash file.


Thanks, I'll give it a shot on Monday!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.