On Tue, 22 Sep 2009, Filippo Carletti wrote:
The peers plugin by Charlie Brady permits different plugins for connecting clients.
Selection of different plugin set is by source IP address of the connection. So "the network" can be conveniently partitioned into different trust zones.
[The design pattern for the configuration files (e.g. peers/10, peers/192.168.2, peers/0) is from djbdns acls, also used in ipsvd http://smarden.sunsite.dk/ipsvd/examples.html.]
It's used in thousand of sme server installations since he presented it to the list: http://www.nntp.perl.org/group/perl.qpsmtpd/2006/02/msg4475.html Here is the patch actually needed to the core: http://github.com/filippocarletti/qpsmtpd/blob/0c8c3fbd4a79d4ef3536ff90e3bb1595bbad0fe9/packaging/rpm/files/qpsmtpd-0.83-peer_hooks.patch Is there any possibility to include peers in the core? Or find a way to cleanly add needed patch to the core?