Hi all,

I recently configure my postfix and I am having problems with 
"smtpd_recipient_restrictions".

I change it to "smtpd_recipient_restrictions = check_recipient_access 
regexp:/etc/postfix/check_recipients reject", but when I allow a recipient 
in check_recipients file, specifically talking to the seconde rule, it 
continues rejected by the last reject command.

I would like to configure some kind of whitelist in the check_recipients 
file.

Can you help me?

Thanks in advance
Marcus


My confs:

main.cf
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
append_at_myorigin = no
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
default_process_limit = 10
disable_vrfy_command = yes
inet_interfaces = all
local_recipient_maps =
local_transport = error:local mail delivery is disabled
mail_release_date = ""
mail_version = ""
mailbox_size_limit = 0
mydestination =
myhostname = relay.intranet.net
mynetworks = 127.0.0.0/8 192.168.0.0/23
myorigin = /etc/mailname
recipient_delimiter = +
relay_domains = regexp:/etc/postfix/relay_domains
relayhost = relaygw.extranet.net
show_user_unknown_table_name = no
smtp_helo_name = relay.intranet.net
smtpd_banner = relay.intranet.net
smtpd_client_restrictions = reject_unknown_client_hostname 
permit_mynetworks reject
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_helo_hostname 
reject_non_fqdn_helo_hostname reject_unknown_helo_hostname 
permit_mynetworks reject
smtpd_recipient_restrictions = check_recipient_access 
regexp:/etc/postfix/check_recipients reject
smtpd_sender_restrictions = check_sender_access 
regexp:/etc/postfix/check_senders reject_non_fqdn_sender 
reject_unknown_sender_domain reject
strict_rfc821_envelopes = yes

check_recipients
/[EMAIL PROTECTED]/ OK
/^\%group.*/ OK

Reply via email to