Re: Get username of local user from recipient address

2009-12-29 Thread Michal Kurka
Dne 29.12.2009 v 10:17 Serge Fonville napsal(a): > Can't you just use virtual alias maps based on an external service for > this purpose? > For example in case of mysql you can create a stored procedure that > 'logs' when the resultset is empty Yes, this is a good idea. But I need a solution inde

Re: Get username of local user from recipient address

2009-12-29 Thread Serge Fonville
Hi, >> Michal Kurka: >> >> > Because I have not got any answer, I tried trace an internal communication >> > between postfix'es processes via UNIX-sockets. I discovered that >> > "trivial-rewrite" only specifies transport or does a canonicalizing. >> >     Process "verify" right tell that recipien

Re: Get username of local user from recipient address

2009-12-29 Thread Michal Kurka
Dne 28.12.2009 v 17:49 Wietse Venema napsal(a): > Michal Kurka: > > > Because I have not got any answer, I tried trace an internal communication > > between postfix'es processes via UNIX-sockets. I discovered that > > "trivial-rewrite" only specifies transport or does a canonicalizing. > >

Re: Get username of local user from recipient address

2009-12-28 Thread Wietse Venema
Michal Kurka: > Dne 9.12.2009 v 09:45 Michal Kurka napsal(a): > > > 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 > > > reci

Re: Get username of local user from recipient address

2009-12-28 Thread Michal Kurka
Dne 9.12.2009 v 09:45 Michal Kurka napsal(a): > 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

Re: Get username of local user from recipient address

2009-12-09 Thread Michal Kurka
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

Get username of local user from recipient address

2009-12-06 Thread Michal Kurka
Hello. 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 usern