Daniel Mayer [COUGA.net] wrote:
> On Behalf Of Leonardo Rodrigues Magalhães
>> Daniel Mayer [COUGA.net] escreveu:
>>> Hi,
>>> 
>>> We are running postfix in an ISP mass-webhosting environment with
>>>  several customers per server. We'd like to limit the amount of
>>> mail a user is allowed to send from its web pages (like php, cgi
>>> scripts etc.). Processes of all users are running under unique
>>> system users and therefore an accounting on this level would be
>>> very useful for us as all these mail originate from 127.0.0.1.
>>> 
>> So, why not stop relaying even for 127.0.0.1 and get all your 
>> customers to authenticate on the SMTP server ?
> 
> If the user has to authenticate to send a mail he can not just use
> the built-in PHP mail() function e.g.. As out customers are not
> necessarily skilled enough or don't want to bother with writing
> authentication code especially for ready-to-run applications as CMS,
> weblogs, shop-systems etc. this is a major issue.  All these use the
> default mail function. Or am I missing something here?
> 
> I have to check if there exists kind of a wrapper through which I can
> send the email (instead of the usual sendmail binary interface) which
> does the authentication transparently for the user. This could use an
> account which is predefined by us and can be traced to a customer
> account.
> 
> Thanks for your ideas, Daniel

Good luck with that.  I also wanted to point out that what you want to 
do cannot be done via the policyd server, nor a policy service.  The 
processID or UID is not provided by postfix to the policy server.

You'll have to investigate these other alternatives.
john

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to