You
2004-05-15 20:42:43 UTC
May 15 16:25:13 cosmo postfix/smtpd[19997]: fatal: parameter
"smtpd_recipient_restrictions": specify at least one working instance of:
check_relay_domains, reject_unauth_destination, reject, defer or
defer_if_permit May 15 16:25:14 cosmo
postfix/master[13359]: warning: process /usr/libexec/postfix/smtpd pid
19997 exit status 1 May 15 16:25:14 cosmo postfix/master[13359]:
warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Hi folks can someone decode the above statement for me? I have read
through the archives and one solution given that there should be an entry
along the lines of:
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
In main.cf which I added only to recieve the message you see above in my
log files.
What I am trying to do is add amavisd to my set-up, it seems that postfix
is passing mail off to amavis and amavis (which can't seem to find CLAMD
socket but that is a different list) is passing it back however the local
delivery is not happening! Here are the additions I made to the default
master.cf file (postfix 2.0.18)
(email may break the line but -o smtpd_reci... is all one line)
#Amavisd
127.0.0.1:10025 inet n - y - - smtpd
-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_unauth_destination
-o mynetworks=127.0.0.0/8
smtp-amavis unix - - y - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
Here is postconf -n:
[***@cosmo root]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain,
$myhostname.$mydomain, $config_directory/localdomains
myhostname = b-dub.org
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.0.11/README_FILES
relayhost = mail.optonline.net
sample_directory = /usr/share/doc/postfix-2.0.11/samples
sender_canonical_maps = hash:/etc/postfix/canonical
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual
[***@cosmo root]#
Thanks for your assistance,
Johnny Poston
"smtpd_recipient_restrictions": specify at least one working instance of:
check_relay_domains, reject_unauth_destination, reject, defer or
defer_if_permit May 15 16:25:14 cosmo
postfix/master[13359]: warning: process /usr/libexec/postfix/smtpd pid
19997 exit status 1 May 15 16:25:14 cosmo postfix/master[13359]:
warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Hi folks can someone decode the above statement for me? I have read
through the archives and one solution given that there should be an entry
along the lines of:
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
In main.cf which I added only to recieve the message you see above in my
log files.
What I am trying to do is add amavisd to my set-up, it seems that postfix
is passing mail off to amavis and amavis (which can't seem to find CLAMD
socket but that is a different list) is passing it back however the local
delivery is not happening! Here are the additions I made to the default
master.cf file (postfix 2.0.18)
(email may break the line but -o smtpd_reci... is all one line)
#Amavisd
127.0.0.1:10025 inet n - y - - smtpd
-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_unauth_destination
-o mynetworks=127.0.0.0/8
smtp-amavis unix - - y - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
Here is postconf -n:
[***@cosmo root]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain,
$myhostname.$mydomain, $config_directory/localdomains
myhostname = b-dub.org
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.0.11/README_FILES
relayhost = mail.optonline.net
sample_directory = /usr/share/doc/postfix-2.0.11/samples
sender_canonical_maps = hash:/etc/postfix/canonical
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual
[***@cosmo root]#
Thanks for your assistance,
Johnny Poston