freebsd qmail relaying

Posted on 2006-04-01
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?
Question by:jpipitone
    LVL 19

    Accepted Solution


    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.

    LVL 1

    Author Comment

    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....
    LVL 19

    Expert Comment

    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.
    LVL 1

    Author Comment

    Thanks, I'll give it a shot on Monday!

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now