Dear List

We are using postfix-2.3.3-2.1.el5_2 under RHEL 5.3. Some of our users are
in the LAN and some are connecting via Internet from different offices to
send and receive email. Users from one of the locations are complaining that
once they are sending mails to any external domain, the mails are getting
rejected with the message:

"Recipient address rejected: Access denied"

When we check the mail log for the transactions we find the following
message:

"Sep 28 14:22:19 mail postfix/smtpd[24057]: NOQUEUE: reject: RCPT from
unknown[203.200.166.34]: 554 5.7.1 <rajivmittal1...@yahoo.com>: Recipient
address rejected: Access denied; from=<shen...@rpg.in>
to=<rajivmittal1...@yahoo.com> proto=ESMTP helo=<rpg.in>"

The postconf -n output is

[r...@mail postfix]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = imss:localhost:10025
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_recipient_limit = 200
default_process_limit = 105
disable_vrfy_command = yes
fallback_transport = virtual
home_mailbox = Maildir/
inet_interfaces = all
ipc_timeout = 5000s
local_transport = maildrop
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 25728640
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
rpgnet.com
mydomain = rpg.in
myhostname = mail.rpg.in
mynetworks = 127.0.0.0/8, 10.50.0.0/16
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
rbl_reply_maps = hash:/etc/postfix/imss_rbl_reply
relay_recipient_maps = ldap:/etc/postfix/virtual-mailbox.ldap
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_restrictions = check_sender_access
hash:/etc/postfix/rbl_sender_exception,reject_rbl_client
ASNQWAVAPX7S683TZDZFBFUVXP56QLC.r.mail-abuse.com,reject_rbl_client
ASNQWAVAPX7S683TZDZFBFUVXP56QLC.q.mail-abuse.com
smtpd_helo_required = yes
smtpd_recipient_limit = 250
smtpd_recipient_restrictions = permit_mynetworks,
permit_auth_destination,         permit_sasl_authenticated,         reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_login_maps = ldap:sender_login
smtpd_sender_restrictions = permit_mynetworks,  check_client_access
hash:/etc/postfix/client_access,        reject_sender_login_mismatch,
check_sender_access regexp:/etc/postfix/sender_access,
reject_unknown_sender_domain,        permit_sasl_authenticated
smtpd_tls_auth_only = no
soft_bounce = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = ldap:forward
virtual_gid_maps = ldap:/etc/postfix/virtual-gid.ldap
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps = ldap:/etc/postfix/virtual-mailbox.ldap
virtual_minimum_uid = 5000
virtual_uid_maps = ldap:/etc/postfix/virtual-uid.ldap


We have included the IP address of the location concerned [203.200.166.34]
in the client_access file and found no improvement in the situation. But our
users from locations other than the complianing one are able to send mails
to all addresses without any problem. Thus it is happening only for users of
a particular location and that also when they are trying to send mails to
external domains. These same users are able to send mails to all other users
of our domain.

Any help please.

With regards,

Goutam



Reply via email to