Dear Postfix users, I'm trying to set up email sending from local users on a shared webhosting server. There are hundreds of different domains, each having unique UNIX UID and they need smtp service directly available on localhost:25, without any credentials checking. At the same time, I need the service to permit/defer/deny an email and log all actions based on the UID and its current reputation.
To achieve this, I'd like to set up Postfix+Linux -based outgoing mail server, possibly with some helper daemon. Any incoming TCP connection on localhost:25 where Postfix listens will be handled in a way dependent on the UID of the process that initiated it. In short, I want to police the emails based not on the sender email address or IP address, but based on the sender UNIX UID. I've studied the docs and mail archive and I suspect that Postfix does not provide a way to refer to the email UID in configuration. However, it does support communicating with some custom daemon which can find this information using, say, IDENT. Is there a way to make this work with Postfix? Would you recommended it, or should I look for different solution? -- S pozdravem Ján Lalinský Webhosting C4 ČESKÝ WEBHOSTING s.r.o. Tel: +420 234 139 876 E-mail: i...@c4.cz http://www.c4.cz