后缀未使用的参数错误

很长一段时间,我一直在试图让我的服务器上的postfix工作,我放弃了一段时间,但现在我别无select,只能得到它的工作。

configurationmain.cf文件并重新启动后缀后,似乎有一些错误,即使在search解决scheme后,我也不知道如何解决。

错误

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_client_restriction=permit_mynetworks,reject_unknown_client,permit /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: body_check=regexp:/etc/postfix/body_checks /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smptd_sasl_type=dovecot /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smptd_sasl_path=private/auth 

main.cf

 command_directory = /usr/sbin daemon_directory = /usr/lib/postfix data_directory = /var/lib/postfix mail_owner = postfix myhostname = mail.xxxxxxbooks.com mydomain = xxxxxxbooks.com myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain local_recipient_maps = unix:passwd.byname $alias_maps unknown_local_recipient_reject_code = 550 mynetworks = 127.0.0.0/8, 78.129.200.10 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases home_mailbox = Maildir/ header_checks = regexp:/etc/postfix/header_checks body_check = regexp:/etc/postfix/body_checks smtpd_banner = $myhostname ESMTP debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/postfix newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq setgid_group = postdrop message_size_limit = 10485760 smptd_sasl_type = dovecot smptd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = $myhostname smtpd_client_restriction = permit_mynetworks,reject_unknown_client,permit #smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination 

编辑

我有一个运行Apache的Ubuntu 12.04.1服务器。

如果有人可以帮助,我会非常感激。

你拼错了参数。

这是smtpd_client_restrictions < – 注意s

body_checks

smtpd_sasl_path不是smptd

对于smtpd_sasl_type同样的事情

这些只是警告,所以你不必担心太多。 如果你在乎,你可以从main.cf中删除或者注释掉这些指令,或者通过重新configuration你的postfix来获得一些意义,从而开始使用它们。