comparison src/mail/ngx_mail.h @ 444:33394d1255b0 NGINX_0_7_34

nginx 0.7.34 *) Feature: the "off" parameter of the "if_modified_since" directive. *) Feature: now nginx sends an HELO/EHLO command after a XCLIENT command. Thanks to Maxim Dounin. *) Feature: Microsoft specific "AUTH LOGIN with User Name" mode support in mail proxy server. Thanks to Maxim Dounin. *) Bugfix: in a redirect rewrite directive original arguments were concatenated with new arguments by an "?" rather than an "&"; the bug had appeared in 0.1.18. Thanks to Maxim Dounin. *) Bugfix: nginx could not be built on AIX.
author Igor Sysoev <http://sysoev.ru>
date Tue, 10 Feb 2009 00:00:00 +0300
parents ad0a34a8efa6
children 98143f74eb3d
comparison
equal deleted inserted replaced
443:28335b730750 444:33394d1255b0
138 ngx_smtp_helo, 138 ngx_smtp_helo,
139 ngx_smtp_helo_xclient, 139 ngx_smtp_helo_xclient,
140 ngx_smtp_helo_from, 140 ngx_smtp_helo_from,
141 ngx_smtp_xclient, 141 ngx_smtp_xclient,
142 ngx_smtp_xclient_from, 142 ngx_smtp_xclient_from,
143 ngx_smtp_xclient_helo,
143 ngx_smtp_from, 144 ngx_smtp_from,
144 ngx_smtp_to 145 ngx_smtp_to
145 } ngx_smtp_state_e; 146 } ngx_smtp_state_e;
146 147
147 148
256 #define NGX_SMTP_EXPN 11 257 #define NGX_SMTP_EXPN 11
257 #define NGX_SMTP_HELP 12 258 #define NGX_SMTP_HELP 12
258 #define NGX_SMTP_STARTTLS 13 259 #define NGX_SMTP_STARTTLS 13
259 260
260 261
261 #define NGX_MAIL_AUTH_PLAIN 0 262 #define NGX_MAIL_AUTH_PLAIN 0
262 #define NGX_MAIL_AUTH_LOGIN 1 263 #define NGX_MAIL_AUTH_LOGIN 1
263 #define NGX_MAIL_AUTH_APOP 2 264 #define NGX_MAIL_AUTH_LOGIN_USERNAME 2
264 #define NGX_MAIL_AUTH_CRAM_MD5 3 265 #define NGX_MAIL_AUTH_APOP 3
265 #define NGX_MAIL_AUTH_NONE 4 266 #define NGX_MAIL_AUTH_CRAM_MD5 4
267 #define NGX_MAIL_AUTH_NONE 5
266 268
267 269
268 #define NGX_MAIL_AUTH_PLAIN_ENABLED 0x0002 270 #define NGX_MAIL_AUTH_PLAIN_ENABLED 0x0002
269 #define NGX_MAIL_AUTH_LOGIN_ENABLED 0x0004 271 #define NGX_MAIL_AUTH_LOGIN_ENABLED 0x0004
270 #define NGX_MAIL_AUTH_APOP_ENABLED 0x0008 272 #define NGX_MAIL_AUTH_APOP_ENABLED 0x0008
344 ngx_int_t ngx_mail_salt(ngx_mail_session_t *s, ngx_connection_t *c, 346 ngx_int_t ngx_mail_salt(ngx_mail_session_t *s, ngx_connection_t *c,
345 ngx_mail_core_srv_conf_t *cscf); 347 ngx_mail_core_srv_conf_t *cscf);
346 ngx_int_t ngx_mail_auth_plain(ngx_mail_session_t *s, ngx_connection_t *c, 348 ngx_int_t ngx_mail_auth_plain(ngx_mail_session_t *s, ngx_connection_t *c,
347 ngx_uint_t n); 349 ngx_uint_t n);
348 ngx_int_t ngx_mail_auth_login_username(ngx_mail_session_t *s, 350 ngx_int_t ngx_mail_auth_login_username(ngx_mail_session_t *s,
349 ngx_connection_t *c); 351 ngx_connection_t *c, ngx_uint_t n);
350 ngx_int_t ngx_mail_auth_login_password(ngx_mail_session_t *s, 352 ngx_int_t ngx_mail_auth_login_password(ngx_mail_session_t *s,
351 ngx_connection_t *c); 353 ngx_connection_t *c);
352 ngx_int_t ngx_mail_auth_cram_md5_salt(ngx_mail_session_t *s, 354 ngx_int_t ngx_mail_auth_cram_md5_salt(ngx_mail_session_t *s,
353 ngx_connection_t *c, char *prefix, size_t len); 355 ngx_connection_t *c, char *prefix, size_t len);
354 ngx_int_t ngx_mail_auth_cram_md5(ngx_mail_session_t *s, ngx_connection_t *c); 356 ngx_int_t ngx_mail_auth_cram_md5(ngx_mail_session_t *s, ngx_connection_t *c);