Koozali.org: home of the SME Server

552 mail with no date header not accepted here - 7.0 pre1

Offline mark

  • *
  • 34
  • +0/-0
    • http://webcoda.com
552 mail with no date header not accepted here - 7.0 pre1
« on: February 07, 2006, 08:43:49 PM »
A clients Accounting program emails remittance advices and generates this error with 7.0 pre1 - it was previously OK with 6.0.  

Any way I can do a quick fix? - I cannot change the accounting system settings.

I know I shouldnt be using 7 in a production environment but their old server died and the new server is SATA. Other than this 7.0 works brilliantly.

many thanks

Mark

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: 552 mail with no date header not accepted here - 7.0 pre
« Reply #1 on: February 08, 2006, 03:18:16 AM »
Quote from: "mark"
A clients Accounting program emails remittance advices and generates this error with 7.0 pre1 - it was previously OK with 6.0.  

Any way I can do a quick fix? - I cannot change the accounting system settings.


The accounting software is broken. Date headers have always been mandatory for SMTP email.

As a workaround, log in as root, then do:

mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/
cd /etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/
touch 17check_basicheaders
signal-event email-update

Offline mark

  • *
  • 34
  • +0/-0
    • http://webcoda.com
552 mail with no date header not accepted here - 7.0 pre1
« Reply #2 on: February 08, 2006, 03:38:05 AM »
Thanks Charlie

Have applied your fix and am waiting to hear back from client.

cheers


Mark

Offline mark

  • *
  • 34
  • +0/-0
    • http://webcoda.com
552 mail with no date header not accepted here - 7.0 pre1
« Reply #3 on: January 15, 2007, 11:26:55 AM »
I had to modify this to work on 7.1 boxes as follows:

mkdir -p /etc/esmith/templatescustom/var/service/qpsmtpd/config/peers/local
touch /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local/17check_basicheaders

mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0
touch /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/17check_basicheaders

signal-event email-update

hope this helps someone

cheers

Mark

Offline drurydj

  • 8
  • +0/-0
    • http://www.hvacc.net
Thanks
« Reply #4 on: February 06, 2007, 02:39:02 PM »
It did help.  Thank you.

Offline robwellesley

  • *
  • 92
  • +0/-0
552 mail with no date header not accepted here - 7.0 pre1
« Reply #5 on: February 11, 2007, 10:41:16 PM »
Cheers Mark,

Bloody MYOB Payroll eh?

Rob