Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: rasara1 on June 11, 2007, 11:49:38 AM

Title: There was an error sending your message: unable to send data
Post by: rasara1 on June 11, 2007, 11:49:38 AM
why..webmail can't sending mail
 have error
There was an error sending your message: unable to send data

in sme 7.0
Title: Re: There was an error sending your message: unable to send
Post by: byte on June 11, 2007, 12:50:10 PM
Quote from: "rasara1"
why..webmail can't sending mail
 have error
There was an error sending your message: unable to send data

in sme 7.0


Without you telling us more I would say you have attached a file which matches your pattern matching settings within server-mananger, therefore "unable to send data"

Please give more detail if that is not the case.
Title: Re: There was an error sending your message: unable to send data
Post by: WF168Tech on August 29, 2007, 04:22:23 AM
I recently backed up my SME 6.5 to desktop, installed SME 7.2, restored from backup and ran all yum updates.  Most everything is running smoothly, with one exception.  When I try to send using a POP client, MS Outlook, I get this message: 

Task 'mail.wfschools.org (1) - Sending' reported error (0x800CCC6C) : 'Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).  The server responded: 452 Message denied temporarily'

When I try to send via Webmail interface, I get this message:  There was an error sending your message: unable to send data

Receiving by webmail and POP client is working fine.  Can anyone help?
Title: Re: There was an error sending your message: unable to send data
Post by: byte on August 29, 2007, 10:58:36 AM
Task 'mail.wfschools.org (1) - Sending' reported error (0x800CCC6C) : 'Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).  The server responded: 452 Message denied temporarily'

Clue is to have a look in you /var/log/qpsmtpd/current and see why it was denied.
Title: Re: There was an error sending your message: unable to send data
Post by: WF168Tech on August 29, 2007, 02:34:02 PM
Clue is to have a look in you /var/log/qpsmtpd/current and see why it was denied.

Here's a suspicious couple of lines from that logfile:

2007-08-29 07:23:21.790748500 5961 spooling message to disk
2007-08-29 07:23:21.939044500 5961 virus::clamav plugin: Changing permissions on file to permit scanner access
2007-08-29 07:23:21.947326500 5961 virus::clamav plugin: clamscan results: connect(): No such file or directory
2007-08-29 07:23:21.947333500 WARNING: Can't connect to clamd.
2007-08-29 07:23:21.948134500 5961 virus::clamav plugin: ClamAV error: /usr/bin/clamdscan --stdout  --config-file=/etc/clamd.conf --disable-summary /var/spool/qpsmtpd/1188390201:5961:0 2>&1: 2
2007-08-29 07:23:21.948143500
2007-08-29 07:23:21.951329500 5961 logging::logterse plugin: ` 127.0.0.1   localhost   localhost   <user@smeserv.org>   <user@domain.com>   virus::clamav   902      msg denied before queued
2007-08-29 07:23:21.953202500 5961 452 Message denied temporarily
Title: Re: There was an error sending your message: unable to send data
Post by: WF168Tech on August 29, 2007, 04:25:48 PM
Contacted a SME Guru friend of mine, and he found that the permissions on the /var folder was not allowing clamAV to write to that folder.  Permissions and ownership changed, and all is working.
Title: Re: There was an error sending your message: unable to send data
Post by: CharlieBrady on August 29, 2007, 04:38:07 PM
Contacted a SME Guru friend of mine, and he found that the permissions on the /var folder was not allowing clamAV to write to that folder.  Permissions and ownership changed, and all is working.

clamAV does not write to the /var folder.

Hav you investigated why the permissions on /var (or whichever folder actually was wrong) had changed? Had you been fiddling?
Title: Re: There was an error sending your message: unable to send data
Post by: ltc6netspec on August 30, 2007, 05:57:28 PM
Hi,

I found on a restore from 6.5 to 7.2 (fresh install) that the /var/clamav directory permissions (owner and group) changed from 'clamav' to a number.

I had to (in console) use the commands chown and chgrp to change them back to clamav being the owner and group before the mail would sent out.  Then I did a freshclam to update.

it works now
Title: Re: There was an error sending your message: unable to send data
Post by: CharlieBrady on August 30, 2007, 06:05:02 PM
I found on a restore from 6.5 to 7.2 (fresh install) that the /var/clamav directory permissions (owner and group) changed from 'clamav' to a number.

Please report the details to the Bug Tracker.
Title: Re: There was an error sending your message: unable to send data
Post by: phalon on May 12, 2008, 04:34:29 PM
I have the same problem, but I not very familiar with linux, who exactly did you resolve the problem, plz