204 |
static unsigned int eventset; |
static unsigned int eventset; |
205 |
static Command_T command= NULL; |
static Command_T command= NULL; |
206 |
static Service_T depend_list= NULL; |
static Service_T depend_list= NULL; |
|
static MailServer_T mailserverlist= NULL; |
|
207 |
static struct IHavePrecedence ihp= {FALSE, FALSE, FALSE}; |
static struct IHavePrecedence ihp= {FALSE, FALSE, FALSE}; |
208 |
static struct PortSet portset= {-1, NULL, 0, SOCK_STREAM, AF_INET, FALSE, |
static struct PortSet portset= {-1, NULL, 0, SOCK_STREAM, AF_INET, FALSE, |
209 |
SSL_VERSION_AUTO, NULL, NULL, NULL, NULL, NULL, ACTION_ALERT, NET_TIMEOUT}; |
SSL_VERSION_AUTO, NULL, NULL, NULL, NULL, NULL, ACTION_ALERT, NET_TIMEOUT}; |
468 |
} |
} |
469 |
; |
; |
470 |
|
|
471 |
setmailservers : SET MAILSERVER mailserverlist { |
setmailservers : SET MAILSERVER mailserverlist |
|
Run.mailservers= mailserverlist; |
|
|
} |
|
472 |
; |
; |
473 |
|
|
474 |
setmailformat : SET MAILFORMAT '{' formatoptionlist '}' { |
setmailformat : SET MAILFORMAT '{' formatoptionlist '}' { |
1837 |
s->host= host; |
s->host= host; |
1838 |
s->next= NULL; |
s->next= NULL; |
1839 |
|
|
1840 |
if(mailserverlist) { |
if(Run.mailservers) { |
1841 |
MailServer_T l; |
MailServer_T l; |
1842 |
for(l= mailserverlist; l->next; l= l->next) /* empty */; |
for(l= Run.mailservers; l->next; l= l->next) /* empty */; |
1843 |
l->next= s; |
l->next= s; |
1844 |
} else { |
} else { |
1845 |
mailserverlist= s; |
Run.mailservers= s; |
1846 |
} |
} |
1847 |
|
|
1848 |
} |
} |