[Postfix-es] Problema con amavis-new y el puerto 10025

Manu manuc en telecable.es
Vie Abr 20 09:45:08 CEST 2007


Este fin de semana actualize la version de debian y donde todo me funcionaba 
bien ahora me falla al conectar el amavis con el postfix o viceversa


La salida del postconf -n es:


alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
header_checks = regexp:/etc/postfix/header_checks
mail_owner = postfix
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
maximal_queue_lifetime = 2d
message_size_limit = 209715200
mydestination = localhost.localdomain, localhost
myhostname = proa.com
mynetworks = 127.0.0.0/8 192.168.1.0/24 192.168.2.0/24
myorigin = /etc/mailname
notify_classes = resource, software, policy
recipient_delimiter = +
relay_domains = $mydestination
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated, 
permit_mynetworks,                      check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = check_sender_access 
hash:/etc/postfix/senders_prohibidos
soft_bounce = no


MI MASTER.CF ES::

# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       nqmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
flush     unix  n       -       n       1000?   0       flush
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       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
proxymap          unix  -       n       n       -       -       proxymap
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify

smtp-amavis  unix       -       -       n       -       2       smtp
       -o smtp_data_done_timeout=1200
       -o disable_dns_lookups=yes
localhost:10025 inet    n       n       n       -       -       smtpd
#       -o content_filter=
#       -o local_recipient_maps=
#       -o relay_recipient_maps=
#       -o smtpd_restriction_classes=
#       -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
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
discard   unix  -       -       -       -       -       discard





La salida de los telnet son:

 telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready
quit
221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
Connection closed by foreign host.




telnet localhost 10025
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.



si os dais cuenta tengo el problema que no comunica con el 10025 sin embargo 
los puertos estan levantados:

netstat -a
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN


la salida del postqueue -p es:


(host 127.0.0.1[127.0.0.1] said: 450 4.4.1 Can't connect to 127.0.0.1 port 
10025,  (Descriptor de fichero err\363neo) at (eval 42) line 145, <GEN21> 
line 80., MTA([127.0.0.1]:10025), id=03449-01 (in reply to end of DATA 
command))



La salida del log es:

Apr 16 09:56:53 localhost postfix/smtpd[4189]: connect from 
adsl-ull-32-178.41-151.net24.it[151.41.178.32]
Apr 16 09:56:55 localhost postfix/smtpd[4189]: warning: support for 
restriction "check_relay_domains" will be removed from Postfix; use 
"reject_unauth_destination" instead
Apr 16 09:56:55 localhost postfix/smtpd[4189]: 9470E1BA4F: 
client=adsl-ull-32-178.41-151.net24.it[151.41.178.32]
Apr 16 09:56:57 localhost postfix/cleanup[4194]: 9470E1BA4F: 
message-id=<51ee01c77ffc$adfb30f5$ae2c236d en mail-online.dk>
Apr 16 09:56:57 localhost postfix/qmgr[4133]: 9470E1BA4F: 
from=<dherron en mail-online.dk>, size=2419, nrcpt=1 (queue active)
Apr 16 09:56:57 localhost postfix/smtpd[4197]: error: incorrect SMTP server 
privileges: uid=0 euid=0
Apr 16 09:56:57 localhost postfix/smtpd[4197]: fatal: the Postfix SMTP 
server must run with $mail_owner privileges
Apr 16 09:56:57 localhost postfix/smtpd[4189]: disconnect from 
adsl-ull-32-178.41-151.net24.it[151.41.178.32]
Apr 16 09:56:58 localhost in.qpopper[4192]: (v4.0.5) Unable to get canonical 
name of client 192.168.1.16: Name or service not known (-2) 
[pop_init.c:1196]
Apr 16 09:56:58 localhost in.qpopper[4192]: (v4.0.5) POP login by user 
"luciaf" at (192.168.1.16) 192.168.1.16 [pop_log.c:244]
Apr 16 09:56:58 localhost postfix/master[4131]: warning: process 
/usr/lib/postfix/smtpd pid 4197 exit status 1
Apr 16 09:56:58 localhost postfix/master[4131]: warning: 
/usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 16 09:56:58 localhost amavis[2902]: (02902-04) (!) FWD via SMTP: 
<dherron en mail-online.dk> -> <user en proa.com>, 450 4.4.1 Can't connect to 
127.0.0.1 port 10025,  (Descriptor de fichero err\363neo) at (eval 42) line 
145, <GEN21> line 90789., MTA([127.0.0.1]:10025), id=02902-04
Apr 16 09:56:58 localhost amavis[2902]: (02902-04) Blocked TEMPFAIL, 
[151.41.178.32] <dherron en mail-online.dk> -> <user en proa.com>, Message-ID: 
<51ee01c77ffc$adfb30f5$ae2c236d en mail-online.dk>, mail_id: zlhU4RD1w-SO, 
Hits: -, 1088 ms
Apr 16 09:56:58 localhost postfix/smtp[4195]: 9470E1BA4F: 
to=<user en proa.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.6, 
delays=2.5/0.01/0/1.1, dsn=4.4.1, status=deferred (host 127.0.0.1[127.0.0.1] 
said: 450 4.4.1 Can't connect to 127.0.0.1 port 10025,  (Descriptor de 
fichero err\363neo) at (eval 42) line 145, <GEN21> line 90789., 
MTA([127.0.0.1]:10025), id=02902-04 (in reply to end of DATA command))



Gracias....
manu en proasur.com
manuc en telecable.es
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.wl0.org/pipermail/postfix-es/attachments/20070420/5500402d/attachment-0001.html


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