Lines Matching refs:command

52 /*	default reply is "450 4.3.0 Error: command failed".
55 /* default reply is "500 5.3.0 Error: command failed".
58 /* session ends, a QUIT command is executed, or when "." is
87 /* .IP "\fB-f \fIcommand,command,...\fR"
92 /* DATA, ., RSET, NOOP, and QUIT. Separate command names by
112 /* Do not announce support for ESMTP command pipelining.
116 /* .IP "\fB-q \fIcommand,command,...\fR"
121 /* DATA, ., RSET, NOOP, and QUIT. Separate command names by
124 /* .IP "\fB-Q \fIcommand,command,...\fR"
129 /* DATA, ., RSET, NOOP, and QUIT. Separate command names by
132 /* .IP "\fB-r \fIcommand,command,...\fR"
137 /* DATA, ., RSET, NOOP, and QUIT. Separate command names by
144 /* .IP "\fB-s \fIcommand,command,...\fR"
148 /* DATA, ., RSET, NOOP, and QUIT. Separate command names by
160 /* Limit the time for receiving a command or sending a response.
174 /* Wait \fIdelay\fR seconds before responding to a DATA command.
215 /* The arguments of the last HELO or EHLO command before this
217 /* the client sent a recognizable HELO or EHLO command before
218 /* the DATA command.
220 /* The arguments of the MAIL command that started this mail
223 /* The arguments of an RCPT command within this mail delivery
224 /* transaction. There is one record for each RCPT command, and
232 /* The HELO or EHLO command argument and client IP address.
315 time_t start_time; /* MAIL command time */
337 #define SOFT_ERROR_RESP "450 4.3.0 Error: command failed"
338 #define HARD_ERROR_RESP "500 5.3.0 Error: command failed"
598 /* ehlo_response - respond to EHLO command */
631 /* helo_response - respond to HELO command */
670 smtp_printf(state->stream, "503 5.5.1 Error: nested MAIL command");
692 smtp_printf(state->stream, "503 5.5.1 Error: need MAIL command");
708 /* abort_event - delayed abort after DATA command */
719 /* data_response - respond to DATA command */
724 smtp_printf(state->stream, "503 5.5.1 Error: need RCPT command");
744 /* dot_resp_hard - hard error response to . command */
757 /* dot_resp_soft - soft error response to . command */
770 /* dot_response - response to . command */
783 /* quit_response - respond to QUIT command */
793 /* conn_response - respond to connect command */
806 /* delay_event - delayed command response */
934 #define FLAG_ENABLE (1<<0) /* command is enabled */
935 #define FLAG_SYSLOG (1<<1) /* log the command */
960 /* reset_cmd_flags - reset per-command command flags */
970 msg_fatal("unknown command: %s", cmd);
974 /* set_cmd_flags - set per-command command flags */
984 msg_fatal("unknown command: %s", cmd);
988 /* set_cmds_flags - set per-command flags for multiple commands */
1002 /* set_cmd_delay - set per-command delay */
1012 msg_fatal("unknown command: %s", cmd);
1023 /* set_cmd_delay_arg - set per-command delay from option argument */
1037 msg_fatal("invalid command delay argument: %s", arg);
1043 /* command_resp - respond to command */
1046 const char *command, const char *args)
1050 syslog(LOG_INFO, "%s %.100s", command, args);
1073 /* Suspend input event handling while delaying the command response. */
1091 char *command;
1124 msg_warn("command line too long");
1163 * reading the next command. This is ugly, but not as ugly as trying to
1172 * Got a complete command line. Parse it.
1177 if ((command = mystrtok(&ptr, " \t")) == 0) {
1178 smtp_printf(state->stream, "500 5.5.2 Error: unknown command");
1183 if (strcasecmp(command, cmdp->name) == 0)
1186 smtp_printf(state->stream, "500 5.5.1 Error: unknown command");
1190 return (command_resp(state, cmdp, command, printable(ptr, '?')));
1208 /* read_event - handle command or data read events */