2017-08-30 10:16 GMT-03:00 Christian Kivalo <ml+postfix-us...@valo.at>: > > > On 2017-08-30 15:07, Daniel Armando Rodriguez wrote: >>> >>> On 2017-08-30 14:51, Daniel Armando Rodriguez wrote: >>>> >>>> >>>> Hi, I'm getting such message logged after the warning: unknown smtpd >>>> restriction: "milter_default_action" >>> >>> >>> Note that options in master.cf are without spaces around the "=". >> >> >> yep >> >>>> All incoming mail is rejected. >>>> >>>> What I'm trying to achieve is to get dkim validation working, >>>> following this guide >>>> https://wiki.debian.org/opendkim >>> >>> >>> It helps to show your configuration. >>> >>> See http://www.postfix.org/DEBUG_README.html#mail >>> >>> Send the output of >>> postconf -n >> >> >> # postconf -n >> alias_database = hash:/etc/aliases >> alias_maps = hash:/etc/aliases >> append_dot_mydomain = no >> biff = no >> config_directory = /etc/postfix >> home_mailbox = Maildir/ >> html_directory = /usr/share/doc/postfix/html >> inet_interfaces = all >> mailbox_command = >> mailbox_size_limit = 0 >> mydestination = localhost >> mydomain = unau.edu.ar >> myhostname = correo.$mydomain >> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128, >> 170.210.45.128/29 >> myorigin = $myhostname >> policyd-spf_time_limit = 3600 >> readme_directory = /usr/share/doc/postfix >> recipient_delimiter = + >> relayhost = >> smtp_tls_security_level = may >> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache >> smtpd_banner = $myhostname ESMTP $mail_name >> smtpd_recipient_restrictions = permit_mynetworks, >> permit_sasl_authenticated, reject_unauth_destination, >> check_policy_service unix:private/policyd-spf milter_default_action = > > ^^ > Maybe just your mailclient, but you seem to be missing newlines here. > >> accept milter_protocol = 6 smtpd_milters = >> local:/opendkim/opendkim.sock non_smtpd_milters = $smtpd_milters > > All these milter_* options should be on their own line.
They are, look like this in main.cf # OpenDKIM milter_default_action = accept milter_protocol = 6 smtpd_milters = local:/opendkim/opendkim.sock non_smtpd_milters = $smtpd_milters _______________________________________________ Daniel A. Rodriguez Departamento de Tecnología para la Gestión Escuela Provincial de Educación Técnica N° 1 Posadas - Misiones - Argentina (0376) 443-8578 www.epet1.edu.ar