[Postfix-es] unexpected command-line argument

Simon J Mudd sjmudd en pobox.com
Jue Oct 13 19:14:31 CEST 2005


rmcama at wanadoo.es (Kien) writes:

> Simon J Mudd escribió:
> 
> >[snip]
> >Largo es, pero se ve lo que esta ocurriendo.
> >
> >[snip]
> >
> La verdad es que es una lastima que despues de haber instalado todo
> tenga que echarme para atras.
> 
> >Como te he dicho. Amavis tiene que volver a meter el mensaje en
> >Postfix a traves de un puerto donde el content_filter esta
> >deshabilitado.
> >
> >En _mi_ configuracion lo hago asi:
> >
> ># define the content filter (amavisd) [listens on port 10024]
> ># - smtp client which connects to the virus scanner
> >smtp-amavis    unix    -       -       y       -       5       smtp
> >  -o smtp_data_done_timeout=1200s
> >  -o smtp_send_xforward_command=yes
> >  -o smtp_never_send_ehlo=yes
> >  -o disable_dns_lookups=yes
> >  -o smtp_helo_name=send-to-amavis
> >
> ># amavisd configuration
> ># - postfix listener on localhost only (listens to mail from amavis)
> ># - amavis itself is listening on 10024
> ># - here we DISABLE the content filter
> >127.0.0.1:10025 inet    n       -       y       -       5      smtpd
> >  -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
> >  -o content_filter=
> >  -o local_recipient_maps=
> >  -o smtpd_helo_restrictions=
> >  -o smtpd_client_restrictions=
> >  -o smtpd_sender_restrictions=
> >  -o smtpd_recipient_restrictions=permit_mynetworks,reject
> >  -o strict_rfc821_envelopes=yes
> >  -o mynetworks=127.0.0.0/8
> >  -o syslog_name=postfix-postamavis
> >
> Te paso la parte correspondiente a mi fichero:
> 
> 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
> 
> >Creo que tu amavisd-new esta volviendo a meter el correo en puerto 25,
> >o que en la configuracion del puerto 10025 no tienes la linea
> >
> >  -o content_filter=
> >
> >?puede ser?
> >
> >Simon
> >
> Como veras, la linea '-o content_filter=' existe, pero sigue sin funcionar.
> 
> Espero tu respuesta, mientras tanto seguire investigando.

Y como tienes amavis configurado para volver a hablar con Postfix?

en mi /openpkg/etc/amavisd/amavisd.conf (uso OpenPKG) tengo 

[snip]
$inet_socket_port = 10024;   # listen on this local TCP port(s) (see $protocol)
# $unix_socketname = "$MYHOME/amavisd.sock";  # when using sendmail milter
[snip]

Mi avamis habla con Postfix en puerto 10024 de localhost.

Simon



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