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

Blocking outgoing mail to individual email-address not working with access plugin #23

Closed
0xgeert opened this issue May 20, 2020 · 3 comments

Comments

@0xgeert
Copy link

0xgeert commented May 20, 2020

system info

Ubuntu 18.04
Haraka 2.8.2
Node v12.15.0

Expected behavior

When adding example@gmail.com to config/access.domains I expect outgoing mail to be refused to this address. It this not possible through access-plugin?

Observed behavior

Outgoing mail is delivered to this address, in spite of the configuration. To add, adding a complete domain (e.g.: gmail.com) to config/access.domains then the email-address is correctly blocked

Steps to reproduce

  • add access plugin to config/plugins
  • add config/access.ini with contents [check] any=true
  • add config/access.domains with contents example@gmail.com
@celesteking
Copy link

You'll have to reread the manual. https://github.com/haraka/haraka-plugin-access#rcpt-to

@msimerson msimerson transferred this issue from haraka/Haraka May 27, 2020
@msimerson
Copy link
Member

Do have a look at the name of the file, and then consider what its contents should be.

@rguleryuz
Copy link

Hello I' m having the same issue. Trying to create a blacklist for outgoing mail. Using haraka within poste.io.

My access.ini file ;

[main]

[check]
any=false
conn=false
helo=false
mail=true
rcpt=true

[rcpt]
accept=false

[deny_msg]
conn=You are not allowed to connect
helo=That HELO is not allowed to connect
mail=That sender cannot send mail here
rcpt=That recipient is not allowed

My rcpt_to.access.blacklist file ;

somemail@gmail.com

screenshot of poste io connection. its seen on the connection screen that it hits as it show a red "access: rcpt_to.access.blacklist" but still sends the mail for some reason. Can you help ?

image

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

4 participants