On 2024-11-05 at 13:17:11 UTC-0500 (Tue, 5 Nov 2024 19:17:11 +0100)
Florian Piekert via Postfix-users <flo...@floppy.org>
is rumored to have said:
I have a postfix 3.10 installation up & running. Postfix and
dovecot handle mail reception from the inet, dovecot/587 users
sending to the local domains or into the internet.
Is there a possibility of having some kind of "local" restriction
for a specific (or a set of) local users (coming in via dovecot
imap/587 smtp) to *SEND* emails?
If you're using Dovecot for submission and want help with Dovecot, it
is probably best to ask that question of the Dovecot community...
I forgot to mention amavisd.
Which does not influence any answer.
And IF dovecot is the best angle of attack, I do not know.
Neither do I. People who actually use Dovecot for submission might know.
Maybe some kind of policy driven solution coming from
postfix/amavis/dovecot in combination driven by pf is?
I'm not even sure whether Dovecot's submission facility ever talks to
Postfix. It MIGHT in your case, but it also MIGHT be using some other
MTA somewhere else.
People who actually use Dovecot for submission might know the right
questions to ask to figure out what you're doing.
If you were using Postfix for submission, there would be a way to do
what you want using SMTP restriction classes. If you only need to do it
for one user, you may not even need that. For those approaches to work
with Dovecot, your system would need to pass all submitted mail to your
Postfix for relay. If you were to do that, why submit via Dovecot at
all?
I am not aware that dovecot does such checking - possibly with sieve.
At least I didnt use the proper search keywords so far...
If in fact you have Dovecot listening on 587, you need a Dovecot answer.
This is not the Dovecot mailing list.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo@toad.social and many *@billmail.scconsult.com
addresses)
Not Currently Available For Hire
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org