On 12/07/2010 03:44, Sahil Tandon wrote:
On Mon, 2010-07-12 at 02:55:40 +0200, David Touzeau wrote:
Jul 12 02:48:31 appliance postfix-mail.touzeau.biz/qmgr[15659]:
warning: connect to transport private/smtp-amavis: No such file or
directory
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
Odd.
Master.cf :
-o content_filter=smtp-amavis:127.0.0.1:1026
You might want to use brackets here to encapsulate the IP.
smtp-amavis:127.0.0.1:1026 unix - - - - 7 smtp
Why are you using 'inet' service name syntax with the 'unix' service
type? Remove ':127.0.0.1:1026' and restart Postfix. And unless you
want chroot, you can change the third '-' to 'n'. To familiarize
yourself with what is supported in master.cf, see the master(5) manual.
thanks for your help but this did not fix the problem nnow postfix claim :
Jul 12 10:16:55 appliance postfix-mail.touzeau.biz/master[31968]: fatal:
/etc/postfix-mail.touzeau.biz/master.cf: line 29: valid hostname or
network address required in "smtp-amavis:127.0.0.1:1026"
i have set this :
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:127.0.0.1:1026 inet - - 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 smtp
-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_checks
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discar