This is a discussion on Re: spawn(8) question within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Sun, Jun 05, 2005 at 08:28:39PM +0200, Ralf Hildebrandt wrote: > The man page says: > > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Sun, Jun 05, 2005 at 08:28:39PM +0200, Ralf Hildebrandt wrote:
> The man page says: > > The spawn(8) daemon provides the Postfix equivalent of inetd. It lis- > tens on a port as specified in the Postfix master.cf file and spawns an > external command whenever a connection is established. The connection > can be made over local IPC (such as UNIX-domain sockets) or over non- > local IPC (such as TCP sockets). The command's standard input, output > and error streams are connected directly to the communication endpoint. > > But where is the behaviour documented, that these communication endpoints > end up in $queue_directory/private/<servicename> ? > Not a great deal of detailed documentation, but these indirectly imply the fact: http://www.postfix.org/SMTPD_POLICY_...#client_config http://www.postfix.org/SMTPD_ACCESS_README.html#lists http://www.postfix.org/postkick.1.html If you mark it public, the socket is $queue_directory/public/service. You should use "inet" for services that accept connections from non-Postfix clients, since directory permissions require either user "postfix" or (public) group "postdrop". One can also use "../non-postfix/service" in master.cf, but this likely voids the warranty :-) -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo@postfix.org?body=unsubscribe%20p ostfix-users> |