Send mail via OS X Server is not allowed due to empty subject

Discussion in 'Mac OS X Server, Xserve, and Networking' started by carlsson, Feb 9, 2015.

  1. carlsson macrumors regular

    carlsson

    Joined:
    Jul 18, 2001
    #1
    As the Title. Where can I find this setting?

    Example: I am trying to send a mail from a scanner. The scanner doesn't add any subject, so the mail returns with an error. :(
     
  2. dyt1983, Feb 9, 2015
    Last edited: Jun 1, 2015

    dyt1983 macrumors 65816

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #2
    edit: To remove personally identifying info not relevant to the conversation.
     
  3. carlsson thread starter macrumors regular

    carlsson

    Joined:
    Jul 18, 2001
    #3
    Sorry, it's 10.9.5. :eek:

    Thanks for that, I'll take a look!
     
  4. carlsson thread starter macrumors regular

    carlsson

    Joined:
    Jul 18, 2001
    #4
    Thanks Dyt!

    One thing though: Even though I have 10.9 the file was located in /etc/postfix. Furthermore, it only had one line and that was the 'empty subject header' pref...
     
  5. dyt1983, Feb 10, 2015
    Last edited: Jun 1, 2015

    dyt1983 macrumors 65816

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #5
    edit: To remove personally identifying info not relevant to the conversation.
     
  6. carlsson thread starter macrumors regular

    carlsson

    Joined:
    Jul 18, 2001
    #6
    Well, it turns out I was too quick. It doesn't work after all. Even restarted the server to no avail.

    Error is:
    550 5.7.1 empty subject header

    Are those settings stored anywhere else maybe?
     
  7. dyt1983, Feb 10, 2015
    Last edited: Jun 1, 2015

    dyt1983 macrumors 65816

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #7
    edit: To remove personally identifying info not relevant to the conversation.
     
  8. carlsson thread starter macrumors regular

    carlsson

    Joined:
    Jul 18, 2001
    #8
    That command gives no result. Ie:

    If I understand it correctly that *should* give info about rejecting empty headers, right!?

    WAM, I'll try to edit the file again.

    This is how the file looks now. The one and only line is this:


    These are the latest command from Terminal:


    Any ideas?

    Darn, I wish I could more of this... :confused:
     
  9. dyt1983 macrumors 65816

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #9
    Actually, that command should tell you where the file for configuring header checks is (if set).

    So "postconf header_checks" (no -h flag) would print

    header_checks =

    because it doesn't seem to be set. That means... postfix itself isn't using that file. Next step is to try to send mail yourself through your mail server, with an empty subject. If you get an error with that, the mail headers should give you a better idea where it is failing. It is possible that you have a milter running, or some other configuration that is rejecting it. You may need to check the whole configuration file for something.
     

Share This Page