HEX
Server: Apache/2
System: Linux nexus-01 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User: aglcoke (1118)
PHP: 8.2.31
Disabled: mail,exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/include/dovecot/istream-dot.h
#ifndef ISTREAM_DOT_H
#define ISTREAM_DOT_H

enum istream_dot_flags {
	/* If asserted, the trailing [CR]LF before "." line isn't returned. */
	ISTREAM_DOT_NO_TRIM    = 0x00,
	ISTREAM_DOT_TRIM_TRAIL = 0x01,

	/* If not asserted, accept only CR-LF-'.'-CR-LF as the End Of Text
	   sequence. If asserted, also accept sequences missing one or both
	   of the CRs, i.e. LF-'.'-LF, CR-LF-'.'-LF, LF-'.'-CR-LF */
	ISTREAM_DOT_STRICT_EOT = 0x00,
	ISTREAM_DOT_LOOSE_EOT  = 0x02,
};

/* Create input stream for reading SMTP DATA style message: Drop initial "."
   from lines beginning with it. Return EOF on line that contains only "." */
struct istream *
i_stream_create_dot(struct istream *input, enum istream_dot_flags flags);

#endif