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
  #11 (permalink)  
Old 11-29-2005, 06:06 PM
Senior Member
 
Posts: 52
Default

Since I have a separate zimbra server doing the SPAM/Virus filtering, I would like to disable amavisd from running on the mailstore server. I thought I did that using the admin GUI, but amavisd is still running.

What should I do?

Quote:
Originally Posted by marcmac
That is the correct behaviour - postfix tends to remember where things in the queue are supposed to be sent - so if you were running amavis, and stopped it, even if you took it out of the content_filter line, you could (potentially) trap msgs in your queue forever.
Reply With Quote
  #12 (permalink)  
Old 11-29-2005, 06:09 PM
Senior Member
 
Posts: 50
Default logs

The log i posted was from /var/log/zimbra.log on the Mailstore (imap,pop, smtp out). These are servers are on the same network as well sitting on top of one another with sequential ip address. Basically what happens is this: the mx1 record points to Black (spam filter) which filters all incoming smtp mail. After it filters the mail it then forwards it to White (imap, pop, smtp out, mailstore). Periodically i check black(spam filter) with a postqueue -p and noticed there are quite a few messages in the mail queue. Typically there are 0-10 give or take in the queue if all is working as it should. Today for instance there was 114 in the mailqueue on Black all of which have the message "delivery temporarily suspended" error message. Postqueue -f has no effect untill i restart zimbra on White. Also i've noticed that the smtp outgoing on white sometimes also has a queue but i cannot confirm if this happens every single time that there is a connection issue between white and black also because of less traffic the queue is typically much smaller on smtp outgoing, i blieve there is a relationship here but i can't confirm 100 percent.
Reply With Quote
  #13 (permalink)  
Old 11-29-2005, 06:10 PM
Senior Member
 
Posts: 52
Default

The most recent log is from the spam filter server (black). The previous log is from the mailstore server (white). These two servers are on the same LAN with NO fancy configurations. Black is the mta and spam/virus filter. It delivers messages via lmtp to white which runs the ldap, mailstore, imap, pop3.

Quote:
Originally Posted by marcmac
These logs are from the MTA, right?

Is there anything interesting about the network, or are the boxes on the same LAN?


Is this an accurate description of what you're seeing:

Periodically, mail from the mta->mailstore will stop delivering, with the "delivery temporarily suspended" message. At the same time, mail from the mailstore->world will start to timeout?

If that is the case, then I don't think it's just the mailstore, since that wouldn't explain why the MTA instance on the mailstore is timing out. Is it pointing to a relay_host, or is it delivering mail directly to the world? I'm curious to see if the problem could be DNS related.
Reply With Quote
  #14 (permalink)  
Old 11-29-2005, 06:22 PM
Zimbra Employee
 
Posts: 2,103
Default related problems

I'm assuming that the mta delivery to the mailserver is failing for the same reason as teh mailserver delivery to the world is failing.

Can you edit zimbra/conf/slapd.conf, and comment out the loglevel 0 line - next time this happens, let's see if slapd logs anything interesting.
Reply With Quote
  #15 (permalink)  
Old 11-29-2005, 07:41 PM
Senior Member
 
Posts: 52
Default

OK. I commented out the loglevel 0 line and will keep you posted. However, I still have an unanswered question regarding the amavisd running on the mailstore server. I confirmed that antispam and antivirus are disabled in the admin GUI on the mailstore server, but amavisd is still running. How can I disable it?

Quote:
Originally Posted by marcmac
I'm assuming that the mta delivery to the mailserver is failing for the same reason as teh mailserver delivery to the world is failing.

Can you edit zimbra/conf/slapd.conf, and comment out the loglevel 0 line - next time this happens, let's see if slapd logs anything interesting.
Reply With Quote
  #16 (permalink)  
Old 11-30-2005, 07:48 AM
Zimbra Employee
 
Posts: 2,103
Default amavisd

You can stop it with zmamavisdctl stop. To keep it stopped, comment out amavisd from the zmmtactl script (there's a list of scripts to be run in there, zmamavisdctl is one of them)
Reply With Quote
  #17 (permalink)  
Old 11-30-2005, 10:48 AM
Senior Member
 
Posts: 52
Default

I stopped it with zmamavisdctl stop and I have commented out the amavisdctl from the zmmtactl script. Everything looked good. However, when I did a /etc/init.d/zimbra stop and start, amavisd got started again.


Quote:
Originally Posted by marcmac
You can stop it with zmamavisdctl stop. To keep it stopped, comment out amavisd from the zmmtactl script (there's a list of scripts to be run in there, zmamavisdctl is one of them)
Reply With Quote
  #18 (permalink)  
Old 11-30-2005, 11:13 AM
Zimbra Employee
 
Posts: 2,103
Default amavisd

The simplest way to get rid of this would probably be:

Stop amavisd

edit zmamavisdctl, and make the first line after #!/bin/bash read:
exit 0

That way we don't have to worry about the interdependencies.
Reply With Quote
  #19 (permalink)  
Old 11-30-2005, 01:19 PM
Senior Member
 
Posts: 50
Default Delivery problems

I've been watching outbound SMTP on the MailStore server along with inbound LMTP from the external mail cluster to the Mailstore Server. It appears the MailStore server will stop all Mail transport functions. Note: IMAP/POP never appear to be down simply no new messages will arrive. Here is a clip from the queue on the Mailstore

45BEF4339399 4163 Wed Nov 30 13:15:50 andre@rlr.biz
(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
arichardson@enjoyindiana.IN.gov

33C3343393CC 496 Wed Nov 30 14:53:13 matt@soltec.net
(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
tron@riverwatcher.com

3F3B7433939A 374 Wed Nov 30 12:52:35 tron@soltec.net
(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
tim@riverwatcher.com

B34D443393D1 4772 Wed Nov 30 14:29:01 jennifer@rlr.biz
(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
jjfw@comcast.net




Here is a snippit from /var/log/zimbra.log


Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13951 SRCH attr=zimbraDomainName
Nov 30 15:13:16 white slapd[31280]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
Nov 30 15:13:16 white slapd[31280]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13951 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13952 SRCH base="" scope=2 deref=0 filter="(&(zimbraDomainName=agri-tours.com)(zimbraDomainType=local)(zimbraMailStatu s=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13952 SRCH attr=zimbraDomainName
Nov 30 15:13:16 white slapd[31280]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
Nov 30 15:13:16 white slapd[31280]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13952 SEARCH RESULT tag=101 err=0 nentries=1 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13953 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=klewis@agri-tours.com)(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13953 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13953 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13954 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=agri-tours.com)(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13954 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13954 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13955 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=.com)(zimbraM ailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13955 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13955 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=83 SRCH base="" scope=2 deref=0 filter="(&(|(zimbraMailDeliveryAddress=klewis@agri-tours.com)(zimbraMailAlias=klewis@agri-tours.com)(zimbraMailCatchA
llAddress=klewis@agri-tours.com))(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=83 SRCH attr=zimbraMailDeliveryAddress zimbraMailForwardingAddress zimbraMailCatchAllForwardingAddress
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=83 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=84 SRCH base="" scope=2 deref=0 filter="(&(|(zimbraMailDeliveryAddress=@agri-tours.com)(zimbraMailAlias=@agri-tours.com)(zimbraMailCatchAllAddress=@a
gri-tours.com))(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=84 SRCH attr=zimbraMailDeliveryAddress zimbraMailForwardingAddress zimbraMailCatchAllForwardingAddress
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=84 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13956 SRCH base="" scope=2 deref=0 filter="(&(zimbraDomainName=agri-tours.com)(zimbraDomainType=alias)(zimbraMailStatu s=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13956 SRCH attr=zimbraDomainName
Nov 30 15:13:16 white slapd[31280]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
Nov 30 15:13:16 white slapd[31280]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13956 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13957 SRCH base="" scope=2 deref=0 filter="(&(zimbraDomainName=agri-tours.com)(zimbraDomainType=local)(zimbraMailStatu s=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13957 SRCH attr=zimbraDomainName
Nov 30 15:13:16 white slapd[31280]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
Nov 30 15:13:16 white slapd[31280]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13957 SEARCH RESULT tag=101 err=0 nentries=1 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13958 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=runyan@agri-tours.com)(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13958 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13958 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13959 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=agri-tours.com)(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13959 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13959 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13960 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=.com)(zimbraM ailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13960 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13960 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=85 SRCH base="" scope=2 deref=0 filter="(&(|(zimbraMailDeliveryAddress=runyan@agri-tours.com)(zimbraMailAlias=runyan@agri-tours.com)(zimbraMailCatchA
llAddress=runyan@agri-tours.com))(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=85 SRCH attr=zimbraMailDeliveryAddress zimbraMailForwardingAddress zimbraMailCatchAllForwardingAddress
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=85 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=86 SRCH base="" scope=2 deref=0 filter="(&(|(zimbraMailDeliveryAddress=@agri-tours.com)(zimbraMailAlias=@agri-tours.com)(zimbraMailCatchAllAddress=@a
gri-tours.com))(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=86 SRCH attr=zimbraMailDeliveryAddress zimbraMailForwardingAddress zimbraMailCatchAllForwardingAddress
Nov 30 15:13:16 white slapd[31280]: conn=2375 op=86 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13961 SRCH base="" scope=2 deref=0 filter="(&(zimbraDomainName=bizmatica.com)(zimbraD omainType=alias)(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13961 SRCH attr=zimbraDomainName
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13961 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13962 SRCH base="" scope=2 deref=0 filter="(&(zimbraDomainName=bizmatica.com)(zimbraD omainType=local)(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13962 SRCH attr=zimbraDomainName
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13962 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13963 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=jimlitherlan@ bizmatica.com)(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13963 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13963 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13964 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=bizmatica.com )(zimbraMailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13964 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13964 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13965 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=.com)(zimbraM ailStatus=enabled))"
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13965 SRCH attr=zimbraMailTransport
Nov 30 15:13:16 white slapd[31280]: conn=1323 op=13965 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13966 SRCH base="" scope=2 deref=0 filter="(&(zimbraDomainName=agri-tours.com)(zimbraDomainType=alias)(zimbraMailStatu s=enabled))"
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13966 SRCH attr=zimbraDomainName
Nov 30 15:13:17 white slapd[31280]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
Nov 30 15:13:17 white slapd[31280]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13966 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13967 SRCH base="" scope=2 deref=0 filter="(&(zimbraDomainName=agri-tours.com)(zimbraDomainType=local)(zimbraMailStatu s=enabled))"
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13967 SRCH attr=zimbraDomainName
Nov 30 15:13:17 white slapd[31280]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
Nov 30 15:13:17 white slapd[31280]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13967 SEARCH RESULT tag=101 err=0 nentries=1 text=
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13968 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=donna@agri-tours.com)(zimbraMailStatus=enabled))"
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13968 SRCH attr=zimbraMailTransport
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13968 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13969 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=agri-tours.com)(zimbraMailStatus=enabled))"
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13969 SRCH attr=zimbraMailTransport
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13969 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13970 SRCH base="" scope=2 deref=0 filter="(&(zimbraMailDeliveryAddress=.com)(zimbraM ailStatus=enabled))"
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13970 SRCH attr=zimbraMailTransport
Nov 30 15:13:17 white slapd[31280]: conn=1323 op=13970 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:17 white slapd[31280]: conn=2361 op=431 SRCH base="" scope=2 deref=0 filter="(&(|(zimbraMailDeliveryAddress=donna@agri-tours.com)(zimbraMailAlias=donna@agri-tours.com)(zimbraMailCatchAl
lAddress=donna@agri-tours.com))(zimbraMailStatus=enabled))"
Nov 30 15:13:17 white slapd[31280]: conn=2361 op=431 SRCH attr=zimbraMailDeliveryAddress zimbraMailForwardingAddress zimbraMailCatchAllForwardingAddress
Nov 30 15:13:17 white slapd[31280]: conn=2361 op=431 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:17 white slapd[31280]: conn=2361 op=432 SRCH base="" scope=2 deref=0 filter="(&(|(zimbraMailDeliveryAddress=@agri-tours.com)(zimbraMailAlias=@agri-tours.com)(zimbraMailCatchAllAddress=@
agri-tours.com))(zimbraMailStatus=enabled))"
Nov 30 15:13:17 white slapd[31280]: conn=2361 op=432 SRCH attr=zimbraMailDeliveryAddress zimbraMailForwardingAddress zimbraMailCatchAllForwardingAddress
Nov 30 15:13:17 white slapd[31280]: conn=2361 op=432 SEARCH RESULT tag=101 err=0 nentries=0 text=
Nov 30 15:13:18 white slapd[31280]: conn=1323 op=13971 SRCH base="" scope=2 deref=0 filter="(&(zimbraDomainName=fireandice.org)(zimbra DomainType=alias)(zimbraMailStatus=enabled))"

These are the ones that really caught my eye
Nov 30 15:13:17 white slapd[31280]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
Nov 30 15:13:17 white slapd[31280]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
Reply With Quote
  #20 (permalink)  
Old 11-30-2005, 01:26 PM
Zimbra Employee
 
Posts: 2,103
Default connection refused

The connection refused in postfix (on black) is happening during lmtp, right? Not smtp?

Is the content_filter = smtp-amavis:[127.0.0.1]:10024 line still in postfix/conf/main.cf?

If so, remove all mention of it from zimbra/conf/zmmta.cf, and run
postconf -e content_filter-''
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.