You need the domain match as well.
accept from any for domain example.org recipient !<blacklist-recipients>
alias <aliases> deliver to mbox
That works on my test system.
Reio
On 04.07.2018 1:20, Teno Deuter wrote:
just tried and gives a syntax error :(
On Tue, Jul 3, 2018 at 11:59 PM, Reio Remma <r...@mrstuudio.ee> wrote:
Did you try it with:
accept from any for recipient ! <blacklist-recipients>
Reio
On 03.07.2018 21:04, Teno Deuter wrote:
Thank you for your prompt reply but unfortunately this wasn't the problem :(
I renamed to 'blacklistRecipients' and still get the same error message!
On Tue, Jul 3, 2018 at 7:57 PM, Reio Remma <r...@mrstuudio.ee> wrote:
Hello!
I'm not sure you can have a dash (-) in a table name. Apart from that, if
I'm correct that you're trying to reject mail to blacklisted recipients on
your own server, then:
reject from any for recipient <blacklist>
Good luck,
Reio
On 03.07.2018 20:39, Teno Deuter wrote:
Dear support team,
I-m running a OpenBSD 6.3 amd64 installed box and try to set up
opensmtpd. In the smptd.conf file, following entries can be found:
table blacklist-recipients file:/etc/mail/blacklist-recipients
accept from any \
recipient ! <blacklist-recipients> \
accept from any \
recipient ! <blacklist-recipients> \
but I get the error:
invalid use of table "blacklist-recipients" as RECIPIENT parameter
also, I was looking for the 'accept' syntax documentation!
Thank you for your kind help on this
--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org