[Postfix-es] Curioso problema

Xabier Guitián xabier en alsernet.es
Vie Sep 2 17:23:29 CEST 2005


Buenas!
	Tengo un pequeño problema con un servidor de correo montado para hacer relay 
sobre el servidor de correo de verdad, resulta que cuando le mandas el 
ehlo/helo tarda un rato en responder, más de lo habitual, y no se a q se debe 
ni desde cuando, realmente no estoy seguro. Yo os doy los datos que son, por 
cierto mando correo a través de este servidor.

	hermes:/etc/postfix# postconf -d mail_version
	mail_version = 2.1.5

Este postfix va sobre una debian woody instalado con paquetería deb, con Cyrus 
SASL y autenticación contra una BD en mySQL en otra máquina. Desabilitando 
todas las opciones de esta índole sigue produciendose el retraso.

hermes:/etc/postfix# postconf -n
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
local_recipient_maps =
local_transport = error:local mail delivery is disabled
mydestination =
mydomain = alsernet.es
myhostname = hermes.alsernet.es
mynetworks = 127.0.0.0/8 192.168.0.0/16
myorigin = $mydomain
parent_domain_matches_subdomains = debug_peer_list smtpd_access_maps
relay_domains = /etc/postfix/localdomains
relay_recipient_maps =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks  permit_sasl_authenticated  
reject_rbl_client relays.ordb.org  reject_rbl_client opm.blitzed.org  
reject_rbl_client list.dsbl.org  reject_rbl_client sbl.spamhaus.org  
reject_rbl_client cbl.abuseat.org  reject_rbl_client dnsbl.njabl.org  
reject_rbl_client spamsources.fabel.dk  check_client_access 
hash:/etc/postfix/access  check_client_access hash:/etc/postfix/ips_sin_spam  
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = hash:/etc/postfix/virtual

hermes:/etc/postfix# sh /root/postfinger-1.30
postfinger - postfix configuration on Fri Sep  2 17:16:51 CEST 2005
version: 1.30

Warning: postfinger output may show private configuration information,
such as ip addresses and/or domain names which you do not want to show
to the public.  If this is the case it is your responsibility to modify
the output to hide this private information.  [Remove this warning with
the --nowarn option.]

--System Parameters--
mail_version = 2.1.5
hostname = hermes
uname = Linux hermes 2.6.8-11-amd64-k8 #1 Mon May 30 22:15:15 UTC 2005 x86_64 
GNU/Linux

--Packaging information--
No se ha encontrado ningún paquete que corresponda con desviación.
No se ha encontrado ningún paquete que corresponda con por.
No se ha encontrado ningún paquete que corresponda con desde.
looks like this postfix comes from deb package: desviación por postfix-tls 
desde-2.1.5-9

--main.cf non-default parameters--
broken_sasl_auth_clients = yes
content_filter = smtp-amavis:[127.0.0.1]:10024
local_recipient_maps =
local_transport = error:local mail delivery is disabled
mydestination =
mydomain = alsernet.es
myhostname = hermes.alsernet.es
mynetworks = 127.0.0.0/8 192.168.0.0/16
myorigin = $mydomain
parent_domain_matches_subdomains = debug_peer_list smtpd_access_maps
relay_domains = /etc/postfix/localdomains
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated 
reject_rbl_client relays.ordb.org reject_rbl_client opm.blitzed.org 
reject_rbl_client list.dsbl.org reject_rbl_client sbl.spamhaus.org 
reject_rbl_client cbl.abuseat.org reject_rbl_client dnsbl.njabl.org 
reject_rbl_client spamsources.fabel.dk check_client_access 
hash:/etc/postfix/access check_client_access hash:/etc/postfix/ips_sin_spam 
reject_unauth_destination
smtpd_sasl_auth_enable = yes
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = hash:/etc/postfix/virtual

--master.cf--
smtp      inet  n       -       -       -       -       smtpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
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}
127.0.0.1:10025 inet    n       -       n       -       -       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
        -o smtpd_error_sleep_time=0
        -o smtpd_soft_error_limit=1001
        -o smtpd_hard_error_limit=1000
smtp-amavis unix - - n - 2 lmtp
        -o lmtp_data_done_timeout=1200
        -o lmtp_send_xforward_command=yes

-- end of postfinger output --

Supongo q algo cantará si le aumento el nivel de log por errores, cosa q voy a 
ver como se hace. Lo de los logs q poneis en los datos q decis q se manden, 
pues no se a q os referís, pero si os hace falta algo más avisad.

Saludos.
-- 
Xabier Guitián
Alsernet
xabier en alsernet.es


Más información sobre la lista de distribución Postfix-es