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 10-31-2006, 08:04 PM
Senior Member
 
Posts: 67
Default Incoming mail deferred?

I did the install (zcs-4.0.3 on a Debian box), provisioned accounts, and imported the old mailstore into Zimbra using imapsync. Now when I look at the mail queues, everything is showing up in deferred. I have tried flushing the queues, but no change. Why isn't mail being delivered?

Looking through the logs, I am seeing multiple references to trouble in check_mail:

Code:
Oct 31 22:07:49 merrimac amavis[15888]: (15888-06) (!!) TROUBLE in 
check_mail: parts_decode_ext FAILED: Error reading from file(1) utility: Bad file
 descriptor at (eval 51) line 151, <GEN31> line 2.220749-15888A1114D: 
to=<storm@mydomain.com>, relay=127.0.0.1[127.0.0.1], delay=1, 
status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing,
 id=15888-06, parts_decode_ext FAILED: Error reading from file(1) utility: Bad 
file descriptor at (eval 51) line 151, <GEN31> line 2. (in reply to end of DATA 
command))
In /var/log/mail.info, I am seeing errors about postfix:

Code:
Oct 30 23:10:01 merrimac postfix/postqueue[19154]: warning: My hostname merrimac is not a fully qualified name - set myhostname or mydomain in /opt/zimbra/postfix-2.2.9/conf/main.cf
Oct 30 23:10:01 merrimac postfix/postqueue[19154]: fatal: chdir /var/spool/postfix: No such file or directory
main.cf has a FQDN in it.
myhostname = merrimac.mydomain.com

I thought everything was contained in /opt/zimbra. Why is postfox looking for /var/spool/postfix?

Did I miss a step here?

thanks,
--Storm

Last edited by Storm16; 10-31-2006 at 08:28 PM..
Reply With Quote
  #2 (permalink)  
Old 11-01-2006, 05:34 AM
Elite Member & Volunteer
 
Posts: 255
Default

I'm not exactly sure what's happening, but it is not postfix that it is deffering the mail it is amavis, the spam and virus checker.
Reply With Quote
  #3 (permalink)  
Old 11-01-2006, 07:41 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
main.cf has a FQDN in it.
myhostname = merrimac.mydomain.com
The usual question, I'm afraid, do you also have valid DNS records & /etc/hosts file on your system pointing to your zimbra server?
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 11-01-2006, 08:12 AM
Senior Member
 
Posts: 67
Default

Quote:
Originally Posted by phoenix
The usual question, I'm afraid, do you also have valid DNS records & /etc/hosts file on your system pointing to your zimbra server?
I believe so.

Here is /etc/hosts on the server running Zimbra:
Code:
127.0.0.1       localhost
192.168.224.12  merrimac.mydomain.com   merrimac
DNS entries for the mailserver:

Code:
;; QUESTION SECTION:
;merrimac.mydomain.com. IN A

;; ANSWER SECTION:
merrimac.mydomain.com. 86400 IN A 192.168.224.12
Code:
;; QUESTION SECTION:
;mydomain.com.  IN      MX

;; ANSWER SECTION:
mydomain.com. 86400 IN  MX      10 merrimac.mydomain.com.
mydomain.com. 86400 IN  MX      12 mekong.mydomain.com.
I also have a CNAME record for mail.mydomain.com pointing to merrimac. On my workstation, I do not have a record for merrimac in /etc/hosts, so it should be forced to use DNS.

--Storm
Reply With Quote
  #5 (permalink)  
Old 11-03-2006, 04:52 AM
Senior Member
 
Posts: 67
Default

Does anyone know what might be causing this problem?

Thanks,
--Storm
Reply With Quote
  #6 (permalink)  
Old 11-03-2006, 05:05 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Could this be a HD space problem? Could you also check the tmpfs that amavis uses?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 11-03-2006, 06:26 AM
Senior Member
 
Posts: 67
Default

Quote:
Originally Posted by phoenix
Could this be a HD space problem? Could you also check the tmpfs that amavis uses?
I rebooted the server and now here is a df of the partitions:

Code:
tmpfs        tmpfs     1298152         0   1298152   0% /dev/shm
tmpfs        tmpfs     1298152        64   1298088   1% /dev
/dev/mapper/vg00-zimbra
          reiserfs     5242716   2531852   2710864  49% /opt
/dev/shm                153600     11916    141684   8% /opt/zimbra/amavisd-new-2.4.1/tmp
However, I am still getting the same type of errors:

Code:
Nov  3 12:04:15 merrimac amavis[8544]: (08544-02) (!) PRESERVING 
EVIDENCE in /opt/zimbra/amavisd/tmp/amavis-20061103T120415-08544
Nov  3 12:04:15 merrimac postfix/smtp[10468]: 5168D40815: 
to=<storm@mydomain.com>, relay=127.0.0.1[127.0.0.1], delay=0, 
status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing,
 id=08544-02, parts_decode_ext FAILED: Error reading from file(1) utility: Bad 
file descriptor at (eval 51) line 151, <GEN14> line 2. (in reply to end of DATA 
command))

--Storm

Last edited by Storm16; 11-03-2006 at 10:07 AM..
Reply With Quote
  #8 (permalink)  
Old 11-06-2006, 04:22 AM
Senior Member
 
Posts: 67
Default

Anyone know what the cause is?
Reply With Quote
  #9 (permalink)  
Old 11-06-2006, 05:47 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Not really. What o/s is this? Is perl installed, up to date and only one copy of it?
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 11-06-2006, 06:36 AM
Senior Member
 
Posts: 67
Default

Quote:
Originally Posted by phoenix
Not really. What o/s is this? Is perl installed, up to date and only one copy of it?
This is a Debian/unstable box. Perl is installed, version 5.8.8-5, plus a number of modules. I installed zcs-4.0.3 for Debian.
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.