Arturo 'Buanzo' Busleiman wrote:
> Is there any way I can tell courier that some accounts (I'm authenticating 
> via authldap) are not
> allowed to send or receive email from outside our @domain ?
>   

To prevent them sending mail, you'd need to duplicate in esmtpd what's 
currently done in imapd/pop3d with the "disableimap" option.  It should 
be relatively simple to add a "disablesmtp" login option.

To prevent the accounts from receiving mail, you'll probably want to 
continue using the courierfilter you've got.  You'll be better able to 
manage the logic behind who is allowed to send to those accounts that 
way.  Since you're using pythonfilter, once you get the modifications 
made to esmtpd, you could probably tie in to authdaemon and limit 
receiving for accounts that have the 'disablesmtp" option set.  That 
might make managing the filter easier.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to