[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Postfix Block User



I did finally figure it out.

I switched saslauthd to use PAM, then setup an SMTP service file that 
called pam_listfile and pam_ldap, set pam_listfile to deny any users in 
the file. Worked.

h.


On Tue, 3 Jul 2012, Samir Faci wrote:

> you could put your mail users in a different LDAP branch I suppose. But 
> usually once they're authenticated.. I don't think Postfix will allow 
> you to ban authenticated users.
>
> iptables is probably too low level to be aware of who is sending what.
>
> You might be able to hook in via procmail/maildrop and just have a check
> to check the from email and drop any emails that match that address.
>
> --
> Samir Faci
>
>
> On Tue, Jul 3, 2012 at 6:26 AM, Herbie <technowombat@yahoo.com> wrote:
>> I have Postfix setup to authenticate users via SASL using LDAP, however I
>> need a way to exclude some of those already authenticated users from being
>> allowed to send. Is there a way to setup postfix to block a user based on
>> login (from SASL) rather than envelope sender?
>>
>> h.
>>
>> -
>> To unsubscribe, send email to majordomo@luci.org with
>> "unsubscribe luci-discuss" in the body.
>
>
>
> -- 
> Samir Faci
> *insert title*
> fortune | cowsay -f /usr/share/cows/tux.cow
>
> Sent from my non-iphone laptop.
>
> -
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.
>

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.