Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-14-2010, 04:04 AM
Active Member
 
Posts: 27
Default [SOLVED] Can't send email with attachments

Hi all,
i've Release 5.0.4_GA_2101.F7_20080321141302 installed and from some days (i do'n't know if is for this reason, but after i upgrade ClamAV), i've a strange problem:
1) i can SUCCESFULL deliver email "without attachments" from client (Outlook or Outlook Express).
2) i can NOT deliver email "with attachments" (110 Kb is sufficient) from client. No errors appears in client (only timeout after some minutes, with retries possibility).

The only that i can say is this:
1) if i check the maillog for a NOT ATTACHMENTS email, i can see this:
Jun 14 12:44:21 xxxx postfix/smtpd[23294]: D3B5980B87E: client=unknown[192.168.20.254], sasl_method=LOGIN, sasl_username=yyyy@zzzz.it
Jun 14 12:50:00 xxxx postfix/qmgr[22112]: D3B5980B87E: from=<yyyy@zzzz.it>, size=214563, nrcpt=1 (queue active)

2) if i check the maillog for an ATTACHMENTS email, i can see this:
Jun 14 12:51:23 xxxx postfix/smtpd[23937]: 5F4A380B8A8: client=unknown[192.168.20.254], sasl_method=LOGIN, sasl_username=yyyy@zzzz.it

only ... the e-mail was not queued.

Anyone have any idea?
Thanks all,
Mauro.
Reply With Quote
  #2 (permalink)  
Old 06-14-2010, 04:09 AM
Senior Member
 
Posts: 70
Default

Hi Mauro,
Are you able to add attachments via the web console? How did you go about upgrading ClamAV?
Please post your "zmcontrol -v" status.
__________________
GWilliams
www.rsaweb.co.za
Reply With Quote
  #3 (permalink)  
Old 06-14-2010, 04:22 AM
Active Member
 
Posts: 27
Default

Hi Williams

I want add something. My problem persist disbling Antivirus and Antispam check in the Zimbra Control Panel and restart Zimbra (zmcontrol stop/start).

[zimbra@xxxx log]$ zmcontrol -v
Release 5.0.4_GA_2101.F7_20080321141302 F7 FOSS edition
[zimbra@xxxx log]$

From the WEB interface all works good, and the maillog show only:
Jun 14 13:17:01 xxxx postfix/qmgr[3485]: 42D6080C0EC: from=<yyyy@zzzz.it>, size=213419, nrcpt=1 (queue active)

naturally there is not the "client connection" message

I upgrade the ClamAV version (from version 0.92 to version 0.95), in according to the WiKi page here:
ClamAV - Updating Version - Zimbra :: Wiki

This for resolve a Malformed Database Error in the 0.92 version (after upgrade this error was resolved).

Thanks.
Mauro.
Reply With Quote
  #4 (permalink)  
Old 06-14-2010, 04:59 AM
Senior Member
 
Posts: 70
Default

Have you tried following that wiki entry again and upgrading to ClamAV 0.96?
__________________
GWilliams
www.rsaweb.co.za
Reply With Quote
  #5 (permalink)  
Old 06-14-2010, 05:43 AM
Active Member
 
Posts: 27
Default

No, but i can try and after say you ... you think that Clam is the issue?
Reply With Quote
  #6 (permalink)  
Old 06-14-2010, 06:41 AM
Senior Member
 
Posts: 70
Default

Yip, I would think that is where the problem lies...
__________________
GWilliams
www.rsaweb.co.za
Reply With Quote
  #7 (permalink)  
Old 06-14-2010, 10:03 AM
Active Member
 
Posts: 27
Default

Williams,
i try, but the problem is the same.

[root@xxxx zimbra]# ls -la | grep clamav
lrwxrwxrwx 1 root root 26 14 giu 18:39 clamav -> /opt/zimbra/clamav-0.96.1/
drwxr-xr-x 10 root root 4096 1 apr 2008 clamav-0.92.1
dr-xr-xr-x 10 root root 4096 6 ott 2009 clamav-0.95.1
-rwxr-xr-x 1 zimbra zimbra 47800320 9 giu 10:52 clamav-0.95.1.tar
drwxr-xr-x 9 zimbra zimbra 4096 14 giu 18:40 clamav-0.96.1
lrwxrwxrwx 1 root root 25 9 giu 10:58 clamav_new -> /opt/zimbra/clamav-0.95.1
lrwxrwxrwx 1 zimbra zimbra 25 1 apr 2008 clamav_old -> /opt/zimbra/clamav-0.92.1
[root@xxxx zimbra]#

No error in maillog and no error in /opt/zimbra/log/clamav.log when i run "zmcontrol start"
But e-mail with attachments not go.
Thanks,
Mauro.
Reply With Quote
  #8 (permalink)  
Old 06-14-2010, 10:10 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

You need to check the permissions in this directory:
Code:
 /opt/zimbra/clamav-0.96.1/
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 06-14-2010, 10:21 AM
Active Member
 
Posts: 27
Default

Bill,
ok, i think you mean this:

chown root:root clamav-0.96.1 -R

This because the original directory clamav-0.92.1 is of root owner.

I make it, but the problem is not solved.
And ... why you say this? In the Wiki there is a specific step that says:

chown -R zimbra:zimbra /opt/zimbra/clamav-0.96

Thanks,
Mauro.
Reply With Quote
  #10 (permalink)  
Old 06-14-2010, 10:36 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

You realise that those instructions are for Zimbra 5.x, don't you? I'd suggest you shutdown zimbra then run the following (as root):

Code:
chown -R root:root /opt/zimbra
/opt/zimbra/libexec/zmfixperms
See if that fixes the problem.

Usage information for zmfixperms:

Code:
/opt/zimbra/libexec/zmfixperms --help
/opt/zimbra/libexec/zmfixperms [-help] [-extended] [-verbose]
-help     Usage
-verbose  Verbose output
-extended Extended fix, includes store,index,backup directories
          * Using extended option can take a signifcant amount of time.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.