qpsmtpd configuration is in /var/service/qpsmtpd/config
The basic config is in the file plugins
Starting with version 7.1.3 (maybe 7.1.2?) the 'plugins' file contains only the word 'peers'. This tells qpsmtpd to use the config files in the 'peers' folder (/var/service/qpsmtpd/config/peers). A peek in here will show 2 files, 0 and local plus some symlinks to these two files. The file named '0' is the qpsmtpd configuration for the Internet; the file named 'local' is the qpsmtpd configuration file for the local network. These were split in order to reduce the connection checking and spam filtering load due to connections from the local network.
The location of the plugins is indicated by the contents of the file /var/service/qpsmtpd/config/plugin_dir - on sme this file will contain /usr/share/qpsmtpd/plugins
The other files in the config directory contain the various configuration settings for the plugins and for qpsmtpd generally.
I find the following commands generally useful when trying to figure out my SME server:
- updatedb
(creates a database of all filenames on your system when run)
- locate <file>
(uses the databases created by 'updatedb' to easily locate files - so 'locate qpsmtpd | less' would list all the files or folders on your system with 'qpsmtpd' in the name)
- cd /etc/e-smith/templates; grep -R <string> * | less
(searches for <string> in all of the default SME templates - useful for identifying the template fragment that controls a particular config file setting. So, once you find the particular qpsmtpd config file you want to customize, this command will help you find the template fragment used to create it if it isn't obvious from looking in /etc/e-smith/templates/var/service/qpsmtpd/config/ConfigFileName)