here is the full 'accept' part I was trying to define in order to
receive email from the outside:
accept from any \
recipient ! <blacklistRecipients> \
for domain <domains>
virtual <users> \
deliver to maildir "/var/mail/%{user.username}/Inbox"
so now I have 2 issues:
1.
the 'blacklistRecipients which troughs a syntax error and
2.
the syntax to deliver mail to a system user. The mailbox of that user
(in maildir format) is located
in /var/mail/{user}/Inbox for the spoolfile
Thank you for your support on this
Regards
On Wed, Jul 4, 2018 at 12:59 AM, Reio Remma <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]> 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 [email protected]
> To unsubscribe, send a mail to: [email protected]
>
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]