Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 21:43:58 -0400
From:      Edward Carmody <ecarmody@optonline.net>
To:        freebsd-questions@freebsd.org
Subject:   postfix-2.1.1,1 - Recipient address rejected: Access denied
Message-ID:  <000a01c4598c$b7b2ac10$1568a8c0@edsdell8200>

next in thread | raw e-mail | index | archive | help
I cannot receive email to local accounts from other mail servers (my other
accounts).  /var/log/maillog has (for example) multiple instances of:
---------------------------------------------------------------------------
Jun 23 20:52:36 oberon postfix/smtpd[84170]: connect from
imo-d02.mx.aol.com[205.188.157.34]
Jun 23 20:52:37 oberon postfix/smtpd[84170]: NOQUEUE: reject: RCPT from
imo-d02.mx.aol.com[205.188.157.34]: 554 <ecarmody@hudsonvalleynetworks.com>:
Recipient address rejected: Access denied; from=<BigTimeEddie@netscape.net>
to=<ecarmody@hudsonvalleynetworks.com> proto=ESMTP helo=<imo-d02.mx.aol.com>
Jun 23 20:52:37 oberon postfix/smtpd[84170]: disconnect from
imo-d02.mx.aol.com[205.188.157.34]
---------------------------------------------------------------------------

My /etc/postfix/main.cf is so:
---------------------------------------------------------------------------
[root@oberon /root] # cat /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
myhostname = oberon.<mydomain>.com
mydomain = <mydomain>.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks_style = subnet
mynetworks = 192.168.X.X/24, 127.0.0.0/8
alias_maps = hash:/etc/mail/aliases
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#alias_database = dbm:/etc/mail/aliases
#mail_spool_directory = /var/spool/mail
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
html_directory = no
manpage_directory = /usr/local/man
readme_directory = no

# CYRUS-SASLv2 Config
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = 
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks,
reject_unauth_destination
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks,
reject

# TLS Config
smtp_use_tls = yes
smtpd_use_tls = yes 
smtp_tls_note_starttls_offer = yes 
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
---------------------------------------------------------------------------

I would want to be checking users against /etc/passwd, I guess.  Is there
something wrong with my local_recipient_maps statement?

Also, postconf -v mail_version reports "mail_version = 2.0.18", but pkg_info
shows "postfix-2.1.1,1".  Obviously, I upgraded, but didn't do something
quite right.

Any help greatly appreciated.  Thanks!

Edward Carmody



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c4598c$b7b2ac10$1568a8c0>