Nginx email dont use the defined "From" and the "Subject" get a prefix from OMV

    • Resolved
    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Nginx email dont use the defined "From" and the "Subject" get a prefix from OMV

      Hey there.

      I have created a new NAS with OMV4.
      Now i have migrate all our data incl internal website/SQL database to that.
      No problems at all...but our email sending routine on our website makes me confused :)

      The website is hosted and used only in our internal network via nginx.
      These website generates orders to our distributors with php "mail($to, $subject, $content, $header)"...
      The sending routine is running great, but:
      1) The subject would be overwritten. Subject "Orders" would be changed in "[NAS-LK.local] Orders" (Hostname of OMV as perfix with .local)
      2) The "From" section would be overwritten to the internal set notification email address on OMV, which are only used for internal Errors and so on.

      Did anybody have an idea how we can fix these two issues?

      Thank you in advanced!
      Bjoern
    • Postfix has a rule to add the prefix to ALL subjects. This can't be changed because the root OS is ONLY for OMV. If you want to host websites, please use a container technology.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Hi Votdev,

      sorry for my delay...

      Thats not a good information ;)
      I have installed the official Nginx and copy all the data and databases onto the new NAS.
      All is working properly...Only these tiny problem is present.

      I'm not familiar with docker stuff.
      But if i use Nginx, did it really work with an isolated docker repo?

      Is there no way to delete these subject prefix?
      Why did you know that this is so mutch critical to host the own website with the official Nginx package?

      Greetings,
      Bjoern
    • tueftler_work wrote:

      Is there no way to delete these subject prefix?
      No, there is no way to customize this. You need to modify /etc/postfix/smtp_header_checks manually.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit