Author Topic: Mail domain masquarade?  (Read 2288 times)


  • Zen Monk
  • **
  • Posts: 50
  • Karma: +2/-0
    • View Profile
Mail domain masquarade?
« on: November 14, 2012, 12:10:35 pm »
Hello guys,

I have the following specific situation. We run Zentyal 2.x server, and so far it works nicely. We have several domains hosted there, including their aliases, for both web and email. However, we also run Ispadmin server, which helps us to manage our wi-fi network users. Here's the scenario:

Zentyal server:
- multiple domains, the primary one is
- serves as relay for machine
- hosts, so that I can receive emails for it

Ispadmin server:
- sends emails via relay to server

And now, what is my problem? We have some sending policy implemented, which says, that is represented by one IP address. What we also want is Ispadmin server being able to send emails with from/reply address being set to

Now the trouble is, that such emails are coming back, mostly because of the policy. Simply put, we need somehow to masquarade ispadmin by using Any solution?

Here's the error message:

 host[] said: 550 5.7.1
    Sender Policy Framework of `' domain denied your IP address. (in
    reply to MAIL FROM command)

and later in the header:

Received: from (localhost.localdomain [])
   by (Postfix) with ESMTP id AECAB3DDD8F

The trouble is, that machine has different IP, so it will fail on checking MX record. Any suggestion of how to solve that?

best regards,