Relaying not allowed

Discussion in 'General' started by mphayesuk, May 11, 2006.

  1. mphayesuk

    mphayesuk Member HowtoForge Supporter

    I have set up Outlook Express with all the account settings which all work fine, when I try and send a message to one of my other accounts not part of ISPConfig I get:

    The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was '[email protected]'. Subject 'Test', Account: '', Server: '', Protocol: SMTP, Server Response: '554 <[email protected]>: Relay access denied', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79

    Is there a setting somewhere in my mail config to allow this to go through.

  2. mphayesuk

    mphayesuk Member HowtoForge Supporter

    In my file I have a line "relayhosts = " does something need to be after the = sign.

  3. Norman

    Norman Member HowtoForge Supporter

    ISPConfig uses Saslauthentication, you need to setup exchange to authenticate with SMTP to be able to relay outside your own server.

    smtprelay = means a server which the postfix MTA will use to deliver all mail to and let to handle maildelivery for outgoing networks.

    What you are looking for would be
    mynetworks =

    means it will accept anything from localhost
    add more networks if you want to allow them without authentication
    mynetworks =,
    would allow any ip on subnet.
  4. mphayesuk

    mphayesuk Member HowtoForge Supporter

    I want to only allow authenticated users to relay messages to other domains from outside the current domain.

    If you know what I mean.
  5. falko

    falko Super Moderator ISPConfig Developer

    You must enable "Server requires authentication." in your email client, that's all.

Share This Page