Dne 6.12.2009 v 10:41 Michal Kurka napsal(a): > I need resolve whether incoming mail for the recipient accept or defer > or reject according to some rule of local username(s) (of course, if the > recipient corresponds to local username), before SMTP-command DATA. > My idea is create own policy service. But I don't known how get > username of local user (or list of users) for recipient address.
I think, I can use internal Postfix's programs "trivial-rewrite" or "verify". But there are no detail documentation for external usage. Maybe somewhere exists documentation for developers, I don't known. Prior to I will begin study source code of Postfix and experiment with Postfix's programs via UNIX-sockets, I shall be happy to any information. With regards -- Michal Kurka - Mysak sluzby spojene s operacnim systemem Linux