Koozali.org: home of the SME Server

Qmail error when users send invoices from pastel 09. Attachment too big

Offline thianb

  • **
  • 33
  • +0/-0
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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #1 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
« Last Edit: November 18, 2009, 09:34:51 PM by Stefano »

Offline thianb

  • **
  • 33
  • +0/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #2 on: November 18, 2009, 09:06:39 AM »
Ok Stefano where exactly on the SME server do I find the qmail/clamd directory?

Thian

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #3 on: November 18, 2009, 09:11:49 AM »
you can use the 'view log files' panel in server-manager

Offline thianb

  • **
  • 33
  • +0/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #4 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

Offline thianb

  • **
  • 33
  • +0/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #5 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.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #6 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.

Offline hawk

  • *
  • 141
  • +0/-0
    • hawkelectronics
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #7 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

Offline ldkeen

  • *
  • 403
  • +0/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #8 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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #9 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..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #10 on: November 18, 2009, 09:25:34 PM »
outlook express' errot messages are seldom wrong..

Really?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #11 on: November 18, 2009, 09:37:08 PM »
Really?

no.. I wrote that post this morning  before drinking my pint of coffee :)
« Last Edit: November 18, 2009, 09:39:05 PM by Stefano »

Offline thianb

  • **
  • 33
  • +0/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #12 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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #13 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

« Last Edit: November 19, 2009, 10:07:02 AM by Stefano »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Qmail error when users send invoices from pastel 09. Attachment too big
« Reply #14 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.
« Last Edit: November 19, 2009, 11:51:04 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.