On 07/24/2010 12:44 AM, Andrés Gattinoni wrote:
Hi guys, I have the following question:
Is it possible to restrict some virtual accounts from sending emails
through my Postfix?
What does "through" mean ?
If you mean FROM an address that is in your virtual_*_maps, then no, not
trivially.
I have Postfix 2.3.3 running on a box with several virtual accounts. I
That's very old.
want to prevent some of them from sending emails (I just want them to
be able to receive).
How could I do this?
With a check_sender_access restriction in smtpd_recipient_restrictions.
I've been reading about smtpd_client_restrictions but I don't know if
I can do a login-based restriction.
What does login have to do with it ?
BTW, I'm using Dovecot's SASL authentication.
That's not directly related to what you asked.
Thanks!
Andrés