commands.c revision bf7dc750b95039981c0e9d728f313d50cf38a156
355N/A#include "strescape.h"
355N/A#include "istream-concat.h"
355N/A#include "istream-dot.h"
355N/A#include "safe-mkstemp.h"
355N/A#include "time-util.h"
355N/A#include "var-expand.h"
355N/A#include "restrict-access.h"
355N/A#include "settings-parser.h"
355N/A#include "anvil-client.h"
355N/A#include "master-service.h"
355N/A#include "master-service-ssl.h"
355N/A#include "iostream-ssl.h"
355N/A#include "rfc822-parser.h"
355N/A#include "message-date.h"
355N/A#include "auth-master.h"
355N/A#include "mail-storage-service.h"
355N/A#include "index/raw/raw-storage.h"
355N/A#include "lda-settings.h"
355N/A#include "lmtp-settings.h"
355N/A#include "mail-namespace.h"
355N/A#include "mail-deliver.h"
355N/A#include "commands.h"
355N/A#include "lmtp-proxy.h"
355N/A#define ERRSTR_TEMP_USERDB_FAIL \
355N/Astatic void lmtp_anvil_init(void)
return FALSE;
return proxying;
return FALSE;
return FALSE;
return FALSE;
return TRUE;
const char *detail)
const char *domain;
int ret;
if (ret <= 0) {
if (ret < 0) {
return TRUE;
return FALSE;
return FALSE;
return TRUE;
username);
username);
return TRUE;
address);
return TRUE;
return TRUE;
return name;
return name;
return name;
return name;
return name;
const char **detail_r)
const char *p, *domain;
*delim_r = *p;
if (p == NULL)
if (p == NULL)
if (p == NULL)
const char *errstr;
int ret;
if (ret < 0) {
if (ret < 0) {
return ret;
int ret;
if (ret < 0) {
return FALSE;
return TRUE;
unsigned int parallel_count = 0;
const char *const *argv;
int ret = 0;
if (ret < 0) {
if (ret == 0) {
address);
return FALSE;
return TRUE;
void **sets;
int ret;
i_unreached();
ret = 0;
return ret;
unsigned int count;
int ret;
if (ret == 0)
return TRUE;
return FALSE;
return cinput;
static const char *wanted_headers[] = {
&box) < 0) {
if (seteuid(0) < 0)
if (old_uid == 0) {
if (seteuid(0) < 0)
void **sets;
&rcpt_to))
int fd;
const unsigned char *data;
if (ret == 0)
const char *const *tmp;
if (!args_ok) {
if (remote_port != 0)