Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: thianb on November 18, 2009, 07:49:39 AM

Title: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 18, 2009, 07:49:39 AM
Hi All

Im having issues with qmail and pastel partner 09. Everytime the users send invoices to a customer from pastel outlook express pops up with a message that the SMTP server was unable to send the message because the attachment is too big.

I already set the max message size of clamav and everything else to 15M but its still giving issues.

Please help?

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: Stefano on November 18, 2009, 08:54:12 AM
outlook express' errot messages are seldom very often wrong.. take a look at logs (qmail/clamd) for the reason of failure
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 18, 2009, 09:06:39 AM
Ok Stefano where exactly on the SME server do I find the qmail/clamd directory?

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: Stefano on November 18, 2009, 09:11:49 AM
you can use the 'view log files' panel in server-manager
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 18, 2009, 09:12:37 AM
Hi Stefano

The following files are in the /var/log/clamd directory. Which file would contain the results of the error?

@400000004af7adc50d62912c.u  @400000004af8210b13bb818c.u  current
@400000004af81a4a376c06c4.u  @400000004af8250613f759dc.u  lock
@400000004af81e313361212c.u  @400000004af97b3f1d584694.u  state

Regards

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 18, 2009, 09:22:19 AM
Hi Stefano

This is what's in the Clamd.current log file. Please let me know if you see anything wrong?

2009-11-17 08:49:40.664516500 --- Stopped at Tue Nov 17 08:49:40 2009
2009-11-17 08:51:20.803166500 LibClamAV Warning: ***********************************************************
2009-11-17 08:51:20.853026500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-17 08:51:20.853031500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-17 08:51:20.853034500 LibClamAV Warning: ***********************************************************
2009-11-17 08:51:21.175307500 LibClamAV Warning: ***********************************************************
2009-11-17 08:51:21.175332500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-17 08:51:21.175342500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-17 08:51:21.175351500 LibClamAV Warning: ***********************************************************
2009-11-17 08:51:25.333487500 Listening daemon: PID: 4575
2009-11-17 08:51:25.333509500 Limits: Global size limit set to 104857600 bytes.
2009-11-17 08:51:25.333520500 Limits: File size limit set to 15728640 bytes.
2009-11-17 08:51:25.333534500 Limits: Recursion level limit set to 8.
2009-11-17 08:51:25.333545500 Limits: Files limit set to 1500.
2009-11-17 08:51:25.333555500 Archive support enabled.
2009-11-17 08:51:25.333566500 Algorithmic detection enabled.
2009-11-17 08:51:25.333577500 Portable Executable support enabled.
2009-11-17 08:51:25.333587500 ELF support enabled.
2009-11-17 08:51:25.333601500 Mail files support enabled.
2009-11-17 08:51:25.333613500 OLE2 support enabled.
2009-11-17 08:51:25.333623500 PDF support enabled.
2009-11-17 08:51:25.333633500 HTML support enabled.
2009-11-17 08:51:25.333647500 Self checking every 1800 seconds.
2009-11-17 09:32:18.860013500 No stats for Database check - forcing reload
2009-11-17 09:32:18.860018500 Reading databases from /var/clamav
2009-11-17 09:32:18.860021500 LibClamAV Warning: ***********************************************************
2009-11-17 09:32:18.860024500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-17 09:32:18.860028500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-17 09:32:18.860031500 LibClamAV Warning: ***********************************************************
2009-11-17 09:32:19.002199500 LibClamAV Warning: ***********************************************************
2009-11-17 09:32:19.002220500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-17 09:32:19.002230500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-17 09:32:19.002240500 LibClamAV Warning: ***********************************************************
2009-11-17 09:32:21.318753500 Database correctly reloaded (649627 signatures)
2009-11-17 10:07:47.125555500 SelfCheck: Database status OK.
2009-11-17 11:01:32.239177500 SelfCheck: Database status OK.
2009-11-17 12:53:11.911586500 SelfCheck: Database status OK.
2009-11-17 13:25:23.939311500 SelfCheck: Database status OK.
2009-11-17 13:57:30.404582500 SelfCheck: Database modification detected. Forcing reload.
2009-11-17 13:57:30.404586500 Reading databases from /var/clamav
2009-11-17 13:57:30.404589500 LibClamAV Warning: ***********************************************************
2009-11-17 13:57:30.404592500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-17 13:57:30.404596500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-17 13:57:30.404599500 LibClamAV Warning: ***********************************************************
2009-11-17 13:57:30.608681500 LibClamAV Warning: ***********************************************************
2009-11-17 13:57:30.608702500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-17 13:57:30.608713500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-17 13:57:30.608723500 LibClamAV Warning: ***********************************************************
2009-11-17 13:57:31.971165500 Database correctly reloaded (650575 signatures)
2009-11-17 14:45:08.162910500 SelfCheck: Database status OK.
2009-11-17 15:52:15.865967500 SelfCheck: Database status OK.
2009-11-17 16:50:56.364952500 SelfCheck: Database status OK.
2009-11-17 18:51:28.643989500 SelfCheck: Database modification detected. Forcing reload.
2009-11-17 18:51:28.643993500 Reading databases from /var/clamav
2009-11-17 18:51:28.643996500 LibClamAV Warning: ***********************************************************
2009-11-17 18:51:28.644000500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-17 18:51:28.644003500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-17 18:51:28.644006500 LibClamAV Warning: ***********************************************************
2009-11-17 18:51:29.151067500 LibClamAV Warning: ***********************************************************
2009-11-17 18:51:29.151086500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-17 18:51:29.151097500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-17 18:51:29.151107500 LibClamAV Warning: ***********************************************************
2009-11-17 18:51:30.543512500 Database correctly reloaded (651646 signatures)
2009-11-17 21:47:04.530108500 SelfCheck: Database status OK.
2009-11-18 00:51:33.628297500 SelfCheck: Database modification detected. Forcing reload.
2009-11-18 00:51:33.628301500 Reading databases from /var/clamav
2009-11-18 00:51:33.628304500 LibClamAV Warning: ***********************************************************
2009-11-18 00:51:33.628307500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-18 00:51:33.628311500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-18 00:51:33.628314500 LibClamAV Warning: ***********************************************************
2009-11-18 00:51:33.847729500 LibClamAV Warning: ***********************************************************
2009-11-18 00:51:33.847749500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-18 00:51:33.847759500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-18 00:51:33.847769500 LibClamAV Warning: ***********************************************************
2009-11-18 00:51:35.336336500 Database correctly reloaded (652127 signatures)
2009-11-18 01:51:28.179347500 SelfCheck: Database status OK.
2009-11-18 03:51:35.209613500 SelfCheck: Database modification detected. Forcing reload.
2009-11-18 03:51:35.209617500 Reading databases from /var/clamav
2009-11-18 03:51:35.209620500 LibClamAV Warning: ***********************************************************
2009-11-18 03:51:35.209624500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-18 03:51:35.209627500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-18 03:51:35.209630500 LibClamAV Warning: ***********************************************************
2009-11-18 03:51:36.029802500 LibClamAV Warning: ***********************************************************
2009-11-18 03:51:36.029823500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-18 03:51:36.029834500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-18 03:51:36.029844500 LibClamAV Warning: ***********************************************************
2009-11-18 03:51:37.159469500 Database correctly reloaded (652140 signatures)
2009-11-18 07:54:09.253175500 SelfCheck: Database modification detected. Forcing reload.
2009-11-18 07:54:09.253179500 Reading databases from /var/clamav
2009-11-18 07:54:09.253182500 LibClamAV Warning: ***********************************************************
2009-11-18 07:54:09.253186500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-18 07:54:09.253189500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-18 07:54:09.253193500 LibClamAV Warning: ***********************************************************
2009-11-18 07:54:09.447121500 LibClamAV Warning: ***********************************************************
2009-11-18 07:54:09.447147500 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
2009-11-18 07:54:09.447158500 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
2009-11-18 07:54:09.447167500 LibClamAV Warning: ***********************************************************
2009-11-18 07:54:10.966826500 Database correctly reloaded (652155 signatures)
2009-11-18 08:50:53.691530500 SelfCheck: Database status OK.
2009-11-18 09:28:35.604408500 SelfCheck: Database status OK.
2009-11-18 10:15:59.967291500 SelfCheck: Database status OK.
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: CharlieBrady on November 18, 2009, 02:46:10 PM
Im having issues with qmail and pastel partner 09.

I doubt your issue has anything to do with qmail. If the SMTP server (qpsmtpd) does not accept the message, the message never gets to qmail.

Quote
Everytime the users send invoices to a customer from pastel outlook express pops up with a message that the SMTP server was unable to send the message because the attachment is too big.

Exactly what is the text of the message?

Quote
I already set the max message size of clamav and everything else to 15M but its still giving issues.

What is "everything else"?

Look in your qpsmtpd log file.
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: hawk on November 18, 2009, 08:24:31 PM
i had the same problem, one solution was changed to thunderbird, and the other was bypass the sme smtp and used the isp smtp settings for express or thunderbird.
Or even more radical and the best option remove pastel and change to OMNI accounts
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: ldkeen on November 18, 2009, 09:13:35 PM
Even though OE is reporting that the attachment is too big - maybe it might be related to this:
http://wiki.contribs.org/SME_Server:Documentation:FAQ#I_can.27t_receive.2Fsend_email_from_my_application_.28ACT.21.2C_vTiger.2C_MS_Outlook.2C_etc.29
Might be worth trying.
Lloyd
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: Stefano on November 18, 2009, 09:21:20 PM
i had the same problem, one solution was changed to thunderbird, and the other was bypass the sme smtp and used the isp smtp settings for express or thunderbird.
Or even more radical and the best option remove pastel and change to OMNI accounts

I disagree.. in my experience OE's error messages are wrong and, seldom, people doesn't read them till the end..

in any case, the best thing to do to help developers to make SME a better product is to open a bug in bugzilla with all relevant infos..
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: CharlieBrady on November 18, 2009, 09:25:34 PM
outlook express' errot messages are seldom wrong..

Really?
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: Stefano on November 18, 2009, 09:37:08 PM
Really?

no.. I wrote that post this morning  before drinking my pint of coffee :)
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 19, 2009, 09:39:05 AM
Hi All

These are some of the commands that I entered into the server yesterday:

config setprop qmail MaxMessageSize 15M
config setprop clamav MaxFileSize 15M
config setprop qpsmtpd MaxScannerSize 15M
config setprop php UploadMaxFilesize 15M

But the users still got errors from Outlook express when they send invoices from pastel.

Regards

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: Stefano on November 19, 2009, 10:04:32 AM
did you reconfigure your server after you entered those commands?

please, post the exact error outlook express gives you

Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: janet on November 19, 2009, 11:45:44 AM
thianb

Did you follow those commands with
signal-event email-update
or probably better to include everything
signal-event post-upgrade
signal-event reboot

What actual attachment size are you trying to send that is not successful ?

The complete message from OE is required to diagnose correctly.
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 19, 2009, 02:58:49 PM
Hi All

Now if I send an email to any user Outlook Express comes up with the following error message:

The message could not be sent because its size exceeded the server's limit. You can use the option, located in Tools | Accounts | Properties | Advanced, to break messages into smaller parts. Subject 'TEST', Account: '192.168.0.1', Server: '192.168.0.1', Protocol: SMTP, Server Response: '552 Message too big!', Port: 25, Secure(SSL): No, Server Error: 552, Error Number: 0x800CCC6D

Please HELP??

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: CharlieBrady on November 19, 2009, 03:09:56 PM
This should help.

Code: [Select]
config setprop qmail MaxMessageSize 15000000
signal-event email-update

If you still have a problem, it might help if you do what OE is telling you to do:

Quote
You can use the option, located in Tools | Accounts | Properties | Advanced, to break messages into smaller parts.
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 19, 2009, 03:27:45 PM
Thanx CharlieBrady

That worked. Will send an invoice from pastel to myself and hopfully that works as well.

Regards

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: Stefano on November 19, 2009, 03:33:27 PM
Thian, just a question: how big is the invoice attach?
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: CharlieBrady on November 19, 2009, 03:34:42 PM
Thian, just a question: how big is the invoice attach?

My guess is "more than 15 bytes". Using "15M" would have caused quite severe mail disruption.
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: CharlieBrady on November 19, 2009, 03:35:31 PM
That worked. Will send an invoice from pastel to myself and hopfully that works as well.

I'll send you my invoice too :-)
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 19, 2009, 03:40:04 PM
Lol thanx Charlie

I received the invoice on our local mail. Will try to send exterally as well.

Thanx alot

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: Stefano on November 19, 2009, 04:00:22 PM
My guess is "more than 15 bytes". Using "15M" would have caused quite severe mail disruption.

indeed, Charlie, but as far I understand Thian changed db values after OE error..
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: dgs on November 19, 2009, 11:48:58 PM
I'll send you my invoice too :-)

Your invoice to the SME community must be quite a substantial one by now.
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 20, 2009, 07:21:10 AM
Hi All

Pastel is still giving me issues. Will send the error message sortly.

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: thianb on November 20, 2009, 07:38:41 AM
Hi All

Here is the error message that Im still getting if the user sends invoices from pastel:

The message could not be sent because its size exceeded the server's limit. You can use the option, located in Tools/accounts/properties/advanced, to break messages into smaller parts. Subject 'Tax Invoice IN021778', Account: '192.168.1.6' Server: '192.168.0.1', Protocol:SMTP, Server Response: '552 Mail with no Date header not accepted here', Port: 25, Secure(SSL): No, Server Error: 552, Error Number: 0x800CCC6D

Please HELP??

Thian
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: Stefano on November 20, 2009, 08:08:18 AM
Quote
The message could not be sent because its size exceeded the server's limit. You can use the option, located in Tools/accounts/properties/advanced, to break messages into smaller parts. Subject 'Tax Invoice IN021778', Account: '192.168.1.6' Server: '192.168.0.1', Protocol:SMTP, Server Response: '552 Mail with no Date header not accepted here', Port: 25, Secure(SSL): No, Server Error: 552, Error Number: 0x800CCC6D

Please HELP??

Thian, please read carefully the FAQ: there you can find  the solution
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: janet on November 20, 2009, 08:15:24 AM
thianb

The clue is
Mail with no Date header not accepted here
and the workaround answer is here
http://wiki.contribs.org/SME_Server:Documentation:FAQ#I_can.27t_receive.2Fsend_email_from_my_application_.28ACT.21.2C_vTiger.2C_MS_Outlook.2C_etc.29

Thian, you should really spend some few hours reading all the FAQs and documentation (including Howtos) as you will become familiar with a whole lot of issues that may occur on your system, most of which have answers already published.

This saves the time of people who help out here, and they can spend that time resolving questions that do not yet have answers.

Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: CharlieBrady on November 20, 2009, 02:50:01 PM
The message could not be sent because its size exceeded the server's limit.

OE lied to you. You should complain to the manufacturer. That software should not make up error messages which have no basis in fact.
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: cactus on November 21, 2009, 09:46:28 AM
OE lied to you. You should complain to the manufacturer. That software should not make up error messages which have no basis in fact.
ROTFLOL... complain to Microsoft... and then what? :-)
Title: Re: Qmail error when users send invoices from pastel 09. Attachment too big
Post by: CharlieBrady on November 21, 2009, 03:49:13 PM
OE lied to you. You should complain to the manufacturer.

You should also complain to the manufacturer of the Pastel software - it is sending email messages which have an invallid format. The Date: header has always been mandatory, at least since RFC 822, which is dated August 1982. See section A.3.1 in http://www.faqs.org/rfcs/rfc822.html (http://www.faqs.org/rfcs/rfc822.html).