This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't get authenticated relay to work

Setup:

Two email domains, using profile mode.  Each domain has a seperate external IP.
Exchange domain has all clients internal, so no external relaying is needed, works fine.  SMTP proxy is on.

The MDaemon domain, however, has all external clients.  I want the Astaro SMTP proxy to be used for antivirus/antispam.  So if I turn it on I need authenticated relay so the external clients can send out.

However, I've been completely unable to get authenticated relay to work.  If I understand, all I should have to do is:

1.  Create user accounts with local authentication (obviously these should match the MDaemon account information, but shouldn't be needed).
2.  Add those user accounts to the "authenticated relay" option in the SMTP options, and make sure the checkbox is checked.
2.  Setup the email client (in this case Outlook) with the user/pass that matches the account created on the Astaro.
3.  Turn on the SMTP proxy for the desired domain.

Every time I try this however, any attempt to send out email comes back with a "relaying denied" error.  I've tried this for both the exchange and the MDaemon domains - neither seems to work.

Are there any additional steps I am missing?  Are there any recommended troubleshooting tips?   I need to have the Astaro antispam/antivirus running on both domains.


This thread was automatically locked due to age.
Parents Reply Children
  • Jtv, I don't think you want to use Astaro authenticated relay for this, but we already discussed that last month: http://www.astaro.org/astaro-gateway-products/mail-security-smtp-pop3-antispam-antivirus/32813-relaying-authentication-qs.html.

    If you find a better solution than the "classic" DNAT approach used with Outlook and Exchange, please document it here.

    Cheers - Bob


    Exchange isn't really involved in this.   And yes, we discussed this last month, but, with all due respect, we seemed to be talking past each other.  Your suggested solution was exactly what I was already doing, and that configuration skips the smtp proxy (maybe it shouldn't, but it does).  I would love help, if you can answer these questions:

    1.  For my MDaemon server (which is not exchange based), is there anyway to get the Astaro to scan emails coming in from outside our network and allow outside clients to authenticate?  DNATing automatically skips the proxy, and by doing so that means it does not do antivirus/antispam scanning, correct?

    2.  Is there any reason I wouldn't want to allow authenticated relay?

    3.  Based on my description in the first email, why wouldn't authenticated relay work?