Hello everyone, 
I am using postfix 2.5.4  with amavisd-new, courier imap, clamd, spamassasin, 
maildrop on Ubuntu 6.06.2 LTS server which I inherited.
I have been struggling alone to try to resolve two issues and hope that i can 
get some help here.
Issue 1. 
Many of my users have been encountering smtp time outs and delays (most are 
using thunderbird latest version) .    Most of the time smtp is very responsive 
but at times there are these delays  of 10-30 seconds and sometimes the 
connection times out.   delays occur on both port 25 and 587.
I have noted that smtp processes are not at maximum during these times,  also 
there is more than enough memory on the server.   
default_process_limit = 100


I have read over http://postfix.mirrorspace.org/STRESS_README.html   and 
checked my main.cf and master.cf to see if I could change some settings but all 
seams to check out. 

Here is my main.cf
# Postfix master process configuration file.  For details on the format# of the 
file, see the Postfix master(5) manual page.## 
==========================================================================# 
service type  private unpriv  chroot  wakeup  maxproc command + args#           
    (yes)   (yes)   (yes)   (never) (100)# 
==========================================================================smtp  
  inet    n       -       -       -       -       smtpd#submission inet n      
-       -       -       -       smtpd#     -o smtpd_etrn_restrictions=reject#   
   -o smtpd_client_restrictions=permit_sasl_authenticated,rejectsmtps    inet  
n       -       n       -       -       smtpd       -o 
smtpd_tls_wrappermode=yes    -o smtpd_sasl_auth_enable=yes#submission inet n    
  -       -       -       -       smtpd#  -o smtpd_etrn_restrictions=reject#  
-o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes#628      inet  n       - 
      -       -       -       qmqpd587   inet  n       -       -       -       
-       smtpd   -o smtpd_sasl_auth_enable=yespickup    fifo  n       -       -  
     60      1       pickup     -o content_filter=        -o 
receive_override_options=no_header_body_checkscleanup   unix  n       -       - 
      -       0       cleanupqmgr      fifo  n       -       -       300     1  
     qmgr#qmgr     fifo  n       -       -       300     1       oqmgr#tlsmgr   
 unix  -       -       -       1000?   1       tlsmgrtlsmgr          unix  -    
   -       n       300     1       tlsmgrrewrite   unix  -       -       -      
 -       -       trivial-rewritebounce    unix  -       -       -       -       
0       bouncedefer     unix  -       -       -       -       0       
bouncetrace     unix  -       -       -       -       0       bounceverify    
unix  -       -       -       -       1       verifyflush     unix  n       -   
    -       1000?   0       flushproxymap  unix  -       -       n       -      
 -       proxymapsmtp      unix  -       -       -       -       -       smtp# 
When relaying mail as backup MX, disable fallback_relay to avoid MX loopsrelay  
   unix  -       -       -       -       -       smtp   -o fallback_relay=#     
  -o smtp_helo_timeout=5 -o smtp_connect_timeout=5showq     unix  n       -     
  -       -       -       showqerror     unix  -       -       -       -       
-       errordiscard   unix  -       -       -       -       -       
discardlocal     unix  -       n       n       -       -       localvirtual   
unix  -       n       n       -       -       virtuallmtp      unix  -       -  
     -       -       -       lmtpanvil     unix  -       -       -       -      
 1       anvilscache    unix  -       -       -       -       1       scache## 
====================================================================# 
Interfaces to non-Postfix software. Be sure to examine the manual# pages of the 
non-Postfix software to find out what options it wants.## Many of the following 
services use the Postfix pipe(8) delivery# agent.  See the pipe(8) man page for 
information about ${recipient}# and other message envelope options.# 
====================================================================## 
maildrop. See the Postfix MAILDROP_README file for details.# Also specify in 
main.cf: maildrop_destination_recipient_limit=1#maildrop  unix  -       n       
n       -       -       pipe  flags=DRhu user=vmail 
argv=/usr/local/bin/maildrop -d ${recipient}## See the Postfix UUCP_README file 
for configuration details.#uucp      unix  -       n       n       -       -    
   pipe  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail 
($recipient)## Other external delivery methods.#ifmail    unix  -       n       
n       -       -       pipe  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r 
$nexthop ($recipient)bsmtp     unix  -       n       n       -       -       
pipe  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender 
$recipientscalemail-backend unix    -       n       n       -       2       
pipe  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store 
${nexthop} ${user} ${extension}mailman   unix  -       n       n       -       
-       pipe  flags=FR user=list 
argv=/usr/lib/mailman/bin/postfix-to-mailman.py  ${nexthop} ${user}
# added 2006-04-20 by topher#smtp-amavis        unix    -       -       n       
-       2       smtpsmtp-amavis    unix    -       -       -       -       2    
   smtp -o smtp_data_done_timeout=1200  -o smtp_send_xforward_command=yes       
-o disable_dns_lookups=yes      -o max_use=20
127.0.0.1:10025 inet    n       -       -       -       -       smtpd   -o 
content_filter=        -o local_recipient_maps=        -o relay_recipient_maps= 
       -o smtpd_restriction_classes=        -o smtpd_delay_reject=no        -o 
smtpd_client_restrictions=permit_mynetworks,reject        -o 
smtpd_helo_restrictions=        -o smtpd_sender_restrictions=        -o 
smtpd_recipient_restrictions=permit_mynetworks,reject        -o 
smtpd_data_restrictions=reject_unauth_pipelining        -o 
smtpd_end_of_data_restrictions=        -o mynetworks=127.0.0.0/8        -o 
smtpd_error_sleep_time=0        -o smtpd_soft_error_limit=1001        -o 
smtpd_hard_error_limit=1000        -o smtpd_client_connection_count_limit=0     
   -o smtpd_client_connection_rate_limit=0        -o 
receive_override_options=no_header_body_checks,no_unknown_recipient_checks   -o 
smtpd_bind_address=127.0.0.1retry     unix  -       -       -       -       -   
    error

Please let me know what I can do to trouble shoot this further or if I need to 
post any more conf files here. 

2. spamc being invoked by maildrop?

I am also noticing the following in the mail logs:


Jul 17 06:18:42 mail spamc[32239]: connect(AF_INET) to spamd at 127.0.0.1 
failed, retrying (#1 of 3): Connection refusedJul 17 06:18:43 mail 
spamc[32239]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 
3): Connection refused
Jul 17 06:18:44 mail spamc[32239]: connect(AF_INET) to spamd at 127.0.0.1 
failed, retrying (#3 of 3): Connection refusedJul 17 06:18:45 mail 
spamc[32239]: connection attempt to spamd aborted after 3 retries
I believe spamc is being invoked by maildrop, possibly from a prior 
installation that used spamc/spamd  but since I am now using amavisd-new I 
don't think spamc should be invoked at all,  but I may be wrong here.   Do I 
need to change anything in my maildroprc?
here is my maildroprc
$ cat /etc/courier/maildroprclogfile "/var/log/maildrop"VERBOSE="5"

log "========"xfilter "/usr/bin/spamc"if (    /^X-Spam-Flag: YES/){  #Create 
SPAM IMAP folder if they don't have one  `test -d $DEFAULT/.Junkmail`  if( 
$RETURNCODE == 1 )  {    `/usr/bin/maildirmake -f Junkmail $DEFAULT`    `echo 
INBOX.Junkmail >> $DEFAULT/courierimapsubscribed`  }  exception {    to 
"Maildir/.Junkmail"  }}

thanks!

_________________________________________________________________
What can you do with the new Windows Live? Find out
http://www.microsoft.com/windows/windowslive/default.aspx

Reply via email to