"default_maxlogins" "2";
// what is the absolute maxlogins value?
"hard_maxlogins" "10";
+ // Which mode should we use for account timestamps?
+ "account_timestamp_mode" "ignore";
// This names a file that contains easily guessed passwords.
// It always contains "password", "<password>" and the user's
// account name.
"account_expire_delay" "35d";
// how long until an account with no access to any channels expires?
"nochan_account_expire_delay" "14d";
+ // how long must an account be inactive so it can be ounregistered without force?
+ "ounregister_inactive" "1M";
+ // which flags on an account require the ounregister to be used with force?
+ "ounregister_flags" "ShgsfnHbu";
/* "require_qualified" has been removed. It is now
* integrated into the modcmd command authorization
* and dispatch mechanism. "/msg OpServ help modcmd"
"max_read" "1024"; // don't read more than 1024 bytes from any client
"gline_duration" "1h"; // issue G-lines lasting one hour
"max_cache_age" "60"; // only cache results for 60 seconds
- // "address" "192.168.0.10"; // do proxy tests from this address
+ // "bind_address" "192.168.0.10"; // do proxy tests from this address
};
"snoop" {
// Where to send snoop messages?
// to 0 to disable message expiration
};
"qserver" {
- "address" "127.0.0.1";
+ "bind_address" "127.0.0.1";
"port" "7702";
"password" "hello";
};
"file_reason" "client is blacklisted";
// How long should a blacklist G-line last?
"gline_duration" "1h";
+ // Bot used to send debug notices
+ "debug_bot" "OpServ";
+ // To which channel should debug output be sent?
+ "debug_channel" "#opserv";
+ "debug_channel_modes" "+tinms";
+ // If you want to use DNS blacklists, add them here:
+ "dnsbl" {
+ // This DNSBL zone does not exist - you'll have to pick your own.
+ "dnsbl.example.org" {
+ // Send a notice instead of glining blacklisted ips
+ "debug" "1";
+ "description" "Example DNSBL entry";
+ "reason" "busted by a dns blacklist";
+ "duration" "1h";
+ // You can stick the client's IP in the G-line message.
+ "reason_2" "Example DNSBL reported %ip%'s address as 127.0.0.2";
+ // .. or the contents of a DNS TXT.
+ "reason_3" "%txt%";
+ };
+ };
+ };
+ "sar" {
+ // You generally will not want to override these defaults.
+ // "resolv_conf" "/etc/resolv.conf";
+ // "services" "/etc/services";
+ // "bind_address" "0.0.0.0";
+ // "bind_port" "0";
+ // The defaults for these are derived from the system config files (above).
+ // "domain" "example.org";
+ // "timeout" "3"; // base timeout for a DNS reply
+ // "retries" "3"; // number of times to retry on different servers or longer timeouts
+ // "ndots" "1"; // number of dots needed in a hostname to bypass search path
+ // "edns0" "0"; // if set, enable EDNS0 extended message sizes
+ // "search" ("example.org", "example.net");
+ // "nameservers" ("127.0.0.1");
};
};
"body_prefix" ("This goes before the mail text.", "Each string here is treated as a separate \"paragraph\" for line wrapping.");
"body_suffix_first" ("We care a lot about spam. If you did not request this email, bitch and moan loudly at our opers, and tell our ISP to gank our connection.");
"body_suffix" ("PLEASE DO NOT BE ALARMED. CALMLY BOARD THE AIRCRAFT, STRAP YOUR ARMS ACROSS YOUR BODY, AND JUMP THE HELL OUT OF THE PLANE.", "Yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaatta!");
+ // If you are using the smtp mail back-end, you may need to set these:
+ "smtp_server" "localhost";
+ "smtp_service" "smtp";
+ // "smtp_myname" "localhost.domain";
};
// New section in srvx-1.2 to control database locations, etc.