On 12/07/2010 12:49, Wietse Venema wrote:
David Touzeau:
Jul 12 02:48:31 appliance postfix-mail.touzeau.biz/qmgr[15659]: warning:
connect to transport private/smtp-amavis: No such file or directory
It looks for the name /var/spool/postfix.../private/smtp-amavis
r...@appliance:/var/spool/postfix-mail.touzeau.biz/private# ls -la
...
srw-rw-rw- 1 postfix root 0 2010-07-12 02:38 smtp-amavis:127.0.0.1:1026
That is smtp-amavis with garbage at the end. Remove the garbage
from the name, and do "postfix reload".
Wietse
many thanks Wietse
it's now working like a charm with this config
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
-o content_filter=smtp-amavis:127.0.0.1:1026
submission inet n - n - - smtpd
-o smtpd_etrn_restrictions=reject
-o smtpd_enforce_tls=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
smtp-amavis unix - - n - 7 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
192.168.1.228:10026 inet n - n - 2 smtpd
-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,192.168.1.228
-o mynetworks_style=host
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o receive_override_options=no_header_body_check