Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: mark on February 07, 2006, 08:43:49 PM

Title: 552 mail with no date header not accepted here - 7.0 pre1
Post by: mark 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
Title: Re: 552 mail with no date header not accepted here - 7.0 pre
Post by: CharlieBrady 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
Title: 552 mail with no date header not accepted here - 7.0 pre1
Post by: mark on February 08, 2006, 03:38:05 AM
Thanks Charlie

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

cheers


Mark
Title: 552 mail with no date header not accepted here - 7.0 pre1
Post by: mark 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
Title: Thanks
Post by: drurydj on February 06, 2007, 02:39:02 PM
It did help.  Thank you.
Title: 552 mail with no date header not accepted here - 7.0 pre1
Post by: robwellesley on February 11, 2007, 10:41:16 PM
Cheers Mark,

Bloody MYOB Payroll eh?

Rob