[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problemas con Postfix al querer usarlo con amavisd-new+clamav+spamassassin



Hola a todos...
 
Tengo en un ISP (con Debian Woody) corriendo PostFix.. y hace un par de dias le instale
Clamav (y Freshclam), amavisd-new y SpamAssassin para asi poder filtrar los mails con
virus o spams de mis usuarios.... bueno instale todo bien (despues de probar varios paquetes
y demas...) y hoy estuve toqueteando las configuraciones para probarlo..  y me ecuentro con
que no podia bajar ningun mail.... miro los logs y veo que "mail.err" en /var/log me tira el siguiente error:

 
Postfix/master:[14123]: fatal: /etc/postfix/master.cf: line106: field "max_proc": bad value: "smtp"
 
a continuacion les pongo los ".cf" de postfix a ver en que le estoy errando:
 

MAIN.CF ----------------------------------------------------------------------------------------------

(las xxx las puse yo)

# see /usr/share/postfix/main.cf.dist for a commented, fuller

# version of this file.

command_directory = /usr/sbin

daemon_directory = /usr/lib/postfix

program_directory = /usr/lib/postfix

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)

setgid_group = postdrop

biff = no

myhostname = xxxx.xxxx.com.ar

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

myorigin = /etc/mailname

mydestination = xxxx.com.ar, xxxx.com.ar

relayhost =

mynetworks = 200.x.xxx.x/27 192.168.1.0/27

mailbox_command =

mailbox_size_limit = 0

recipient_delimiter = +

append_dot_mydomain = no

header_checks = regexp:/etc/postfix/regexp.header

body_checks = regexp:/etc/postfix/regexp.body

content_filter=smtp-amavis:[localhost]:10024   <-- esta linea la es la nueva, para la nueva configuracion !!!!

 

MASTER.CF --------------------------------------------------------------------------------------------------------------------------------------

# ==========================================================================

# service type private unpriv chroot wakeup maxproc command + args

# (yes) (yes) (yes) (never) (50)

# ==========================================================================

smtp inet n - - - - smtpd

#628 inet n - - - - qmqpd

pickup fifo n - - 60 1 pickup

cleanup unix n - - - 0 cleanup

#qmgr fifo n - - 300 1 qmgr

qmgr fifo n - - 300 1 nqmgr

rewrite unix - - - - - trivial-rewrite

bounce unix - - - - 0 bounce

defer unix - - - - 0 bounce

flush unix n - - 1000? 0 flush

smtp unix - - - - - smtp

showq unix n - - - - showq

error unix - - - - - error

local unix - n n - - local

virtual unix - n n - - virtual

lmtp unix - - n - - lmtp

#

# Interfaces to non-Postfix software. Be sure to examine the manual

# pages of the non-Postfix software to find out what options it wants.

# The Cyrus deliver program has changed incompatibly.

#

cyrus unix - n n - - pipe

flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}

uucp unix - n n - - pipe

flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)

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 -d -t$nexthop -f$sender $recipient

scalemail-backend unix - n n - 2 pipe

flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}

# only used by postfix-tls

#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes

#587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#Lineas nuevas que agregue, a partir de aca seria la linea "106"

smtp-amavis unix - - y 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookup=yes

127.0.0.1:10025 inet n - y - - smtpd

-o content_filter=

-o local_recipient_maps=

-o relay_recipient_maps=

-o smtpd_restriction_classes=

-o smtpd_client_restrictions=

-o smtpd_helo_restrictions=

-o smtpd_sender_restrictions=

-o smtpd_recipient_restrictions=permit_mynetworks,reject

-o mynetworks=127.0.0.0/8

-o strict_rfc821_envelopes=yes

--------------------------------------------------------------------------------------------------------------------------------

Bueno eso es todo... espero que alguien pueda tirarme un par de ideas a ver que puede ser,
que probar....

Un salu2...

Tony


Reply to: