Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

REJECT ignored by sender

5 views
Skip to first unread message

Thomas Barth

unread,
Mar 30, 2012, 3:21:21 PM3/30/12
to
Hi,
I ve added a few email-addresses of former employees into a hash-db for
check_recipient_access in order to reject emails.

smtpd_recipient_restrictions = check_recipient_access
hash:/etc/postfix/access-recipient, ...

But sender irgnore the rejections and send the emails again and again.
This is a message I get:

Mar 30 20:58:03 mailserver1 postfix/smtpd[30837]: NOQUEUE: reject: RCPT
from fckoeln-newsletter.de[80.70.184.131]: 454 4.7.1 <y...@mydomain.de>:
Recipient address rejected: Access denied; from=<no-r...@fc-koeln.de>
to=<y...@mydomain.de> proto=ESMTP helo=<openemm.fckoeln-newsletter.de>

Is there another way to tell the sender that an email address is
invalid, dont send the email again?

Thomas B

Christian Winter

unread,
Mar 31, 2012, 1:07:11 AM3/31/12
to
Your server is answering with a status code of 454 (temporary
failure) instead of the standard 554 (permanent). This means you
have probably either specified "DEFER" or "454" as action in
access-recipients or changed access_map_reject_code in main.cf and
specified "REJECT" in access-recipient

You can either reply with a "554" action instead of "REJECT"
in access-recipient or (providing it does not interfere with other
configuration parts) set access_map_reject_code back to the
standard value of 554. The least intrusive solution would be the
first one.

Make sure to read http://www.postfix.org/access.5.html before
making any changes.

-Chris

Thomas Barth

unread,
Mar 31, 2012, 7:05:39 AM3/31/12
to
Am 31.03.2012 07:07, schrieb Christian Winter:
Hi Chris,
thanks for your help. You wrote:

> Your server is answering with a status code of 454 (temporary
> failure) instead of the standard 554 (permanent). This means you

When reading "temporary failure" I remembered that I set soft_bounce to
yes in main.cf to turn fatale errors into temporary errors during the
installation process two weeks ago. I ve unset this variable now, an
postfix also sends 554 status code to the clients for invalid email
addresses. I would have had unset this variable much earlier, but
Postfix had already sent the 554 status code for blocked spam dispite of
positive soft_bounce.

Thomas B


0 new messages