Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precedence between whitelisting and badrcptto? #223

Open
salvis opened this issue Feb 4, 2015 · 1 comment
Open

Precedence between whitelisting and badrcptto? #223

salvis opened this issue Feb 4, 2015 · 1 comment

Comments

@salvis
Copy link
Contributor

salvis commented Feb 4, 2015

57a0e4b
added whitelisting support to badrcptto with the call to $self->is_immune().
Is that useful? What are the use cases for badrcptto?
I have two:

  1. Close a mailbox because the addressee has disappeared (e.g. an employee who quit).
  2. Close a mailbox because it's receiving too much junk.

The unique advantage of badrcptto is that it supports a custom message to inform the sender of why the mailbox is not working anymore, and possibly to give one or more alternative addresses. The basic premise is that we want to completely shut down that mailbox.

Unfortunately, whitelisting defeats the purpose, because it allows mail from whitelisted senders to go through, so (#1) they never see the message that we wanted to show to them, especially to legitimate senders, and (#2) junk comes through again.

My reason for bringing this up is receiving a piece of spam (in the catch-all mailbox) from yahoo.co.jp (which is whitelisted in list.dnswl.org via the dns_whitelist_soft plugin) for an account listed in badrcptto.

If we say "this rcptto is bad!", is there a use case for allowing a whitelisted host or sender to get through anyway?

Hans

@msimerson
Copy link
Member

I'm inclined to agree that overriding badrcptto is not a great idea. If the RCPT TO address is listed in badrcptto, then it should always be blocked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants