mirror of
https://github.com/anope/anope.git
synced 2026-07-07 17:43:14 +02:00
Added dontquoteaddresses directive to mail block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1626 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -268,6 +268,13 @@ mail
|
||||
* it is highly recommended that it be used.
|
||||
*/
|
||||
delay = 5m
|
||||
|
||||
/*
|
||||
* If set, Services will not attempt to put quotes around the TO: fields
|
||||
* in e-mails. This directive is optional, and as far as we know, it's
|
||||
* only needed if you are using ESMTP or QMail to send out e-mails.
|
||||
*/
|
||||
#dontquoteaddresses = yes
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -315,7 +315,7 @@ E char *SendMailPath;
|
||||
E char *SendFrom;
|
||||
E bool RestrictMail;
|
||||
E time_t MailDelay;
|
||||
E int DontQuoteAddresses;
|
||||
E bool DontQuoteAddresses;
|
||||
|
||||
E int NSDefFlags;
|
||||
E int NSDefLanguage;
|
||||
|
||||
+2
-3
@@ -110,7 +110,7 @@ char *SendMailPath;
|
||||
char *SendFrom;
|
||||
bool RestrictMail;
|
||||
time_t MailDelay;
|
||||
int DontQuoteAddresses;
|
||||
bool DontQuoteAddresses;
|
||||
|
||||
static std::string NSDefaults;
|
||||
char *NSGuestNickPrefix;
|
||||
@@ -667,6 +667,7 @@ int ServerConfig::Read(bool bail)
|
||||
{"mail", "sendfrom", "", new ValueContainerChar(&SendFrom), DT_CHARPTR, ValidateMail},
|
||||
{"mail", "restrict", "no", new ValueContainerBool(&RestrictMail), DT_BOOLEAN, NoValidation},
|
||||
{"mail", "delay", "0", new ValueContainerTime(&MailDelay), DT_TIME, NoValidation},
|
||||
{"mail", "dontquoteaddresses", "no", new ValueContainerBool(&DontQuoteAddresses), DT_BOOLEAN, NoValidation},
|
||||
{"chanserv", "nick", "ChanServ", new ValueContainerChar(&s_ChanServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
|
||||
{"chanserv", "description", "Channel Registration Service", new ValueContainerChar(&desc_ChanServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
|
||||
{"chanserv", "database", "chan.db", new ValueContainerChar(&ChanDBName), DT_CHARPTR, ValidateNotEmpty},
|
||||
@@ -1331,8 +1332,6 @@ bool ValueItem::GetBool()
|
||||
Directive directives[] = {
|
||||
{"BadPassLimit", {{PARAM_POSINT, PARAM_RELOAD, &BadPassLimit}}},
|
||||
{"BadPassTimeout", {{PARAM_TIME, PARAM_RELOAD, &BadPassTimeout}}},
|
||||
{"DontQuoteAddresses",
|
||||
{{PARAM_SET, PARAM_RELOAD, &DontQuoteAddresses}}},
|
||||
{"DumpCore", {{PARAM_SET, 0, &DumpCore}}},
|
||||
{"EncModule", {{PARAM_STRING, 0, &EncModule}}},
|
||||
{"ExpireTimeout", {{PARAM_TIME, PARAM_RELOAD, &ExpireTimeout}}},
|
||||
|
||||
Reference in New Issue
Block a user