Hi,

>> Apr 11 03:32:07 alex postfix/smtpd[2278]: NOQUEUE: reject: RCPT from
>> ut-tul-1.tul.getthere.net[151.193.164.249]: 450 4.1.8
>> <[email protected]>: Sender address rejected: Domain not
>> found; from=<[email protected]>  to=<[email protected]>
>> proto=ESMTP helo=<ut-tul-1.tul.getthere.net>
>>
>> Would adding "[email protected] OK" to my sender_access map
>> permit this message to be delivered, even though the
>> wl0.tul.getthere.net domain doesn't exist? It doesn't seem to work. Is
>> there a better way to do this (outside of having them create a proper
>> DNS entry, of course)?
>
> Yes, that's the right format for a check_sender_access map.
>
> Sounds as if the mail is being rejected by reject_unknown_sender_domain.
>  Your check_sender_access whitelist needs to be before
>  reject_unknown_sender_domain in the same smtpd_*_restrictions section.

Okay, I've even put the sender_access map first and it is still
rejected. Below is the output from postconf:

alias_maps = hash:/etc/postfix/aliases
alternate_config_directories = /etc/postfix_f
bounce_queue_lifetime = $maximal_queue_lifetime
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = $myhostname, gambit.$mydomain
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maximal_queue_lifetime = 50d
mydestination = $myhostname, localhost.$mydomain, gambit.$mydomain
mydomain = mydomain.com
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/README_FILES
receive_override_options = no_address_mappings
relay_domains = $mydestination, mydomain1.com
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_recipient_restrictions = check_sender_access
hash:/etc/postfix/sender_checks,        reject_non_fqdn_sender,
reject_non_fqdn_recipient,        reject_unknown_sender_domain,
reject_unknown_recipient_domain,        reject_unauth_pipelining,
  permit_mynetworks,    permit_sasl_authenticated,
reject_invalid_hostname,        reject_non_fqdn_hostname,
reject_unauth_destination,        check_recipient_access
pcre:/etc/postfix/recip_map,        check_recipient_access
pcre:/etc/postfix/relay_recips_access,        check_helo_access
hash:/etc/postfix/helo_checks,        check_sender_access
hash:/etc/postfix/sender_checks,        check_sender_access
hash:/etc/postfix/disallow_my_domain,        check_client_access
hash:/etc/postfix/client_access,        check_client_access
pcre:/etc/postfix/client_checks.pcre, reject_rbl_client
zen.spamhaus.org,     reject_rbl_client bl.spamcop.net,        permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2:/etc/sasl2
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = cyrus
smtpd_sender_restrictions = permit_sasl_authenticated,
permit_mynetworks,      reject_non_fqdn_sender,
reject_unknown_sender_domain,   reject_unauth_pipelining,       permit
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550

Thanks,
Alex

Reply via email to