Re: Simple way of blocking relay of spam on submission port 587

2019-06-22 Thread mabi
‐‐‐ Original Message ‐‐‐
On Thursday, June 20, 2019 8:20 PM, Damiano Venturin  wrote:

> As far as I know any anti spam system just marks suspicious messages.

Yes, so basically to resume the anti-spam system (e.g. SpamAssassin) it simply 
gives you a boolean answer: true (SPAM) or false (HAM).

Now based on that answer I would like to use this SPAM/HAM answer from 
SpamAssassin to deny the relaying of that mail to it's destination (the 
destination being another MX mail server on the internet).


> Then, one way you have, is to use Sieve with Dovecot. You can write
> Sieve rules and decide to drop all the messages that have been tagged as
> spam and overcoming a certain spam score (the threshold is up to you and
> it could even be configured by each mail account user)

There is no Sieve of Dovecot (mailboxes) here, this is a relaying mail server 
which sole purpose is to send the mail further to other MX mail servers to 
their destination. But before doing that I want to be sure that mail is not 
Spam.

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Simple way of blocking relay of spam on submission port 587

2019-06-21 Thread Damiano Venturin
On 20/06/2019 16:08, mabi wrote:
> Hello,

> 
> I don't want them to be tagged I just really want them to be blocked full 
> stop.

As far as I know any anti spam system just marks suspicious messages.

Then, one way you have, is to use Sieve with Dovecot. You can write
Sieve rules and decide to drop all the messages that have been tagged as
spam and overcoming a certain spam score (the threshold is up to you and
it could even be configured by each mail account user)




signature.asc
Description: OpenPGP digital signature


Simple way of blocking relay of spam on submission port 587

2019-06-20 Thread mabi
Hello,

I am using OpenSMTPD for authenticated people with their mail client to send 
mail on port 587 (typical mail submission scenario) and am trying to find out a 
simple way to block these relayed mails in case they are detected as spam by 
SpamAssassin.

For that purpose I evaluated spampd but in the man page of spampd it's clearly 
stated:

"Note that spampd does not do anything other than check for spam, so it is not 
suitable as an anti-relay system."

So I was wondering if there is another way to block potential spam mails which 
would be relayed by my users?

I don't want them to be tagged I just really want them to be blocked full stop.

Cheers,
Mabi






--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org