commands.c revision 98720d3b830e8ec762e9bdde94a71c0ef184595d
14d19b08f079988d61ea653d1d7c439522e9ae70Eugen Kuksa/* Copyright (c) 2009-2010 Dovecot authors, see the included COPYING file */
#include "mail-deliver.h"
#include "main.h"
#include "client.h"
#include "commands.h"
#include "lmtp-proxy.h"
#include <stdlib.h>
int ret = 0;
NULL);
if (ret < 0) {
unsigned int len;
argv++;
return TRUE;
return FALSE;
if (p == NULL) {
if (!port_set)
return FALSE;
return FALSE;
return proxying;
return FALSE;
return FALSE;
return FALSE;
return TRUE;
const char *username)
int ret;
if (ret <= 0) {
if (ret < 0) {
address);
return TRUE;
return FALSE;
return FALSE;
return FALSE;
return TRUE;
return name;
return name;
return name;
return name;
return name;
const char *p, *p2;
if (p != NULL) {
unsigned int len;
int ret = 0;
argv++;
if (ret < 0) {
if (ret == 0) {
void **sets;
int ret;
&error) < 0) {
ret = 0;
if (old_uid == 0) {
if (seteuid(0) < 0)
return ret;
unsigned int count;
int ret;
src_mail);
if (ret == 0)
return TRUE;
return FALSE;
FALSE);
return cinput;
static const char *wanted_headers[] = {
0, headers_ctx);
if (timeout) {
const char *host;
return ret;
int fd;
const unsigned char *data;
if (ret == 0)