freebsd qmail relaying

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?
Who is Participating?
Gabriel OrozcoSolution ArchitectCommented:

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.

jpipitoneAuthor Commented:
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 ArchitectCommented:
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.
jpipitoneAuthor Commented:
Thanks, I'll give it a shot on Monday!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.