Home
last modified time | relevance | path

Searched refs:smtp (Results 1 – 25 of 2854) sorted by relevance

12345678910>>...115

/dports/mail/mailutils/mailutils-3.13/libproto/mailer/
H A Dsmtp_io.c49 if (!smtp->mlrepl) in _mu_smtp_init_mlist()
67 rc = mu_stream_getline (smtp->carrier, &smtp->rdbuf, &smtp->rdsize, &n); in mu_smtp_response()
78 memcpy (smtp->replcode, smtp->rdbuf, 3); in mu_smtp_response()
89 smtp->flbuf = p; in mu_smtp_response()
90 smtp->flsize = n; in mu_smtp_response()
92 memcpy (smtp->flbuf, smtp->rdbuf + 4, n - 1); in mu_smtp_response()
94 smtp->replptr = smtp->flbuf; in mu_smtp_response()
102 rc = mu_stream_getline (smtp->carrier, &smtp->rdbuf, &smtp->rdsize, in mu_smtp_response()
108 if (n < 3 || memcmp (smtp->rdbuf, smtp->replcode, 3)) in mu_smtp_response()
124 smtp->replptr = smtp->rdbuf + 4; in mu_smtp_response()
[all …]
H A Dsmtp_param.c37 if (!smtp) in mu_smtp_set_param()
46 if (smtp->secret) in mu_smtp_set_param()
63 mu_url_destroy (&smtp->url); in mu_smtp_set_param()
70 smtp->url = url; in mu_smtp_set_param()
83 free (smtp->param[pcode]); in mu_smtp_set_param()
91 if (!smtp) in mu_smtp_get_param()
98 smtp->param[pcode] = (char*) mu_secret_password (smtp->secret); in mu_smtp_get_param()
103 if (smtp->url) in mu_smtp_get_param()
117 if (!smtp) in mu_smtp_test_param()
123 if (smtp->secret) in mu_smtp_test_param()
[all …]
H A Dsmtp_ehlo.c49 mu_smtp_ehlo (mu_smtp_t smtp) in mu_smtp_ehlo() argument
53 if (!smtp) in mu_smtp_ehlo()
106 status = mu_smtp_response (smtp); in mu_smtp_ehlo()
108 if (smtp->replcode[0] == '2') in mu_smtp_ehlo()
110 smtp->flags |= _MU_SMTP_ESMTP; in mu_smtp_ehlo()
111 smtp->capa = smtp->mlrepl; in mu_smtp_ehlo()
112 smtp->mlrepl = NULL; in mu_smtp_ehlo()
115 else if (smtp->replcode[0] == '4') in mu_smtp_ehlo()
125 if (smtp->replcode[0] != '2') in mu_smtp_ehlo()
128 if (smtp->state == MU_SMTP_EHLO) in mu_smtp_ehlo()
[all …]
H A Dsmtp_data.c34 _mu_smtp_data_begin (mu_smtp_t smtp) in _mu_smtp_data_begin() argument
39 MU_SMTP_CHECK_ERROR (smtp, status); in _mu_smtp_data_begin()
40 status = mu_smtp_response (smtp); in _mu_smtp_data_begin()
41 MU_SMTP_CHECK_ERROR (smtp, status); in _mu_smtp_data_begin()
43 if (smtp->replcode[0] != '3') in _mu_smtp_data_begin()
65 _mu_smtp_data_end (mu_smtp_t smtp) in _mu_smtp_data_end() argument
79 smtp->state = MU_SMTP_DOT; in _mu_smtp_data_end()
88 _mu_smtp_data_end (smtp); in _smtp_event_cb()
97 if (!smtp) in mu_smtp_data()
101 if (smtp->state != MU_SMTP_MORE) in mu_smtp_data()
[all …]
H A Dsmtp_starttls.c40 streams[0] = smtp->carrier; in _mu_smtp_get_streams()
42 streams[1] = smtp->carrier; in _mu_smtp_get_streams()
72 mu_stream_unref (smtp->carrier); in _mu_smtp_set_streams()
73 smtp->carrier = tmp; in _mu_smtp_set_streams()
80 mu_smtp_starttls (mu_smtp_t smtp) in mu_smtp_starttls() argument
86 if (!smtp) in mu_smtp_starttls()
92 if (smtp->state != MU_SMTP_MAIL) in mu_smtp_starttls()
97 status = mu_smtp_response (smtp); in mu_smtp_starttls()
99 if (smtp->replcode[0] == '4') in mu_smtp_starttls()
104 mu_stream_flush (smtp->carrier); in mu_smtp_starttls()
[all …]
H A Dsmtp_create.c32 struct _mu_smtp *smtp; in mu_smtp_create() local
37 smtp = calloc (1, sizeof (*smtp)); in mu_smtp_create()
39 if (!smtp) in mu_smtp_create()
42 smtp->state = MU_SMTP_INIT; in mu_smtp_create()
43 *psmtp = smtp; in mu_smtp_create()
51 struct _mu_smtp *smtp; in mu_smtp_destroy() local
55 smtp = *psmtp; in mu_smtp_destroy()
59 free (smtp->rdbuf); in mu_smtp_destroy()
60 free (smtp->flbuf); in mu_smtp_destroy()
64 if (smtp->secret) in mu_smtp_destroy()
[all …]
H A Dsmtp_gsasl.c218 MU_SMTP_CHECK_ERROR (smtp, rc); in do_gsasl_auth()
220 status = mu_smtp_response (smtp); in do_gsasl_auth()
221 MU_SMTP_CHECK_ERROR (smtp, status); in do_gsasl_auth()
222 if (smtp->replcode[0] != '3') in do_gsasl_auth()
227 smtp->replcode, smtp->replptr); in do_gsasl_auth()
245 if (smtp->replcode[0] == '2') in do_gsasl_auth()
263 if (smtp->replcode[0] != '2') in do_gsasl_auth()
267 smtp->replcode, smtp->replptr); in do_gsasl_auth()
272 MU_SMTP_FSET (smtp, _MU_SMTP_AUTH); in do_gsasl_auth()
278 _mu_smtp_gsasl_auth (mu_smtp_t smtp) in _mu_smtp_gsasl_auth() argument
[all …]
H A Dsmtp_mech.c44 if (!smtp) in mu_smtp_add_auth_mech()
46 if (!smtp->authmech) in mu_smtp_add_auth_mech()
64 if (!smtp) in mu_smtp_clear_auth_mech()
66 mu_list_clear (smtp->authmech); in mu_smtp_clear_auth_mech()
73 mu_smtp_t smtp = data; in _mech_append() local
81 if (!smtp) in mu_smtp_add_auth_mech_list()
91 smtp->authimpl = list; in _mu_smtp_mech_impl()
114 if (!smtp) in mu_smtp_mech_select()
123 if (!smtp->authimpl) in mu_smtp_mech_select()
126 if (!smtp->authmech) in mu_smtp_mech_select()
[all …]
/dports/mail/mailutils/mailutils-3.13/include/mailutils/
H A Dsmtp.h45 int mu_smtp_response (mu_smtp_t smtp);
48 int mu_smtp_replcode (mu_smtp_t smtp, char *buf);
57 int mu_smtp_trace (mu_smtp_t smtp, int op);
60 int mu_smtp_disconnect (mu_smtp_t smtp);
61 int mu_smtp_ehlo (mu_smtp_t smtp);
72 int mu_smtp_starttls (mu_smtp_t smtp);
81 int mu_smtp_dot (mu_smtp_t smtp);
82 int mu_smtp_rset (mu_smtp_t smtp);
83 int mu_smtp_quit (mu_smtp_t smtp);
85 int mu_smtp_auth (mu_smtp_t smtp);
[all …]
/dports/mail/nocc/nocc-1.9.10/classes/
H A Dclass_smtp.php26 class smtp { class
62 $line=fgets($smtp, 1024);
98 if (!$smtp)
106 return $smtp;
161 fputs($smtp, "auth login\r\n");
179 fputs($smtp, "STARTTLS\r\n");
194 fputs($smtp, "auth login\r\n");
243 fputs($smtp, "RCPT TO:$tmp\r\n");
271 fputs($smtp, "DATA\r\n");
288 fputs($smtp, "QUIT\r\n");
[all …]
/dports/mail/postfix-current/postfix-3.7-20211107/src/smtpstone/
H A DMakefile.in2 SRCS = smtp-source.c smtp-sink.c qmqp-source.c qmqp-sink.c
3 OBJS = smtp-source.o smtp-sink.o qmqp-source.o qmqp-sink.o
10 PROG = smtp-source smtp-sink qmqp-source qmqp-sink
23 smtp-sink: smtp-sink.o $(LIBS)
26 smtp-source: smtp-source.o $(LIBS)
41 update: ../../bin/smtp-source ../../bin/smtp-sink ../../bin/qmqp-source \
44 ../../bin/smtp-source: smtp-source
47 ../../bin/smtp-sink: smtp-sink
134 smtp-sink.o: ../../include/msg.h
147 smtp-sink.o: smtp-sink.c
[all …]
/dports/devel/p5-SVN-Notify/SVN-Notify-2.87/t/
H A Dsmtp.t13 my $smtp = {};
17 smtp => 'smtp.example.com',
44 is_deeply $smtp->{new}, [
77 like $smtp->{datasend},
92 $smtp = {};
111 is_deeply $smtp->{new}, [
132 $smtp->{new} = \@_;
136 sub mail { $smtp->{mail} = $_[1] }
138 sub data { $smtp->{data} = 1 }
141 sub quit { $smtp->{quit} = 1 }
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_smtplib.py79 smtp.close()
87 smtp.close()
93 smtp.close()
100 smtp.close()
112 smtp.close()
123 smtp.close()
677 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()
1077 smtp.user, smtp.password = sim_auth
1085 smtp.user, smtp.password = sim_auth
1099 smtp.user, smtp.password = sim_auth
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_smtplib.py79 smtp.close()
87 smtp.close()
93 smtp.close()
100 smtp.close()
112 smtp.close()
123 smtp.close()
677 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()
1077 smtp.user, smtp.password = sim_auth
1085 smtp.user, smtp.password = sim_auth
1099 smtp.user, smtp.password = sim_auth
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_smtplib.py79 smtp.close()
87 smtp.close()
93 smtp.close()
100 smtp.close()
112 smtp.close()
123 smtp.close()
677 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()
1077 smtp.user, smtp.password = sim_auth
1085 smtp.user, smtp.password = sim_auth
1099 smtp.user, smtp.password = sim_auth
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_smtplib.py79 smtp.close()
87 smtp.close()
93 smtp.close()
100 smtp.close()
112 smtp.close()
123 smtp.close()
677 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()
1077 smtp.user, smtp.password = sim_auth
1085 smtp.user, smtp.password = sim_auth
1099 smtp.user, smtp.password = sim_auth
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_smtplib.py79 smtp.close()
87 smtp.close()
93 smtp.close()
100 smtp.close()
112 smtp.close()
123 smtp.close()
677 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()
1077 smtp.user, smtp.password = sim_auth
1085 smtp.user, smtp.password = sim_auth
1099 smtp.user, smtp.password = sim_auth
[all …]
/dports/mail/mailutils/mailutils-3.13/testsuite/
H A Dmockmta.c973 smtp_end (struct smtp *smtp) in smtp_end() argument
1018 smtp_help (struct smtp *smtp) in smtp_help() argument
1025 smtp_rset (struct smtp *smtp) in smtp_rset() argument
1056 smtp_ehlo (struct smtp *smtp) in smtp_ehlo() argument
1116 smtp_quit (struct smtp *smtp) in smtp_quit() argument
1122 smtp_helo (struct smtp *smtp) in smtp_helo() argument
1138 smtp_mail (struct smtp *smtp) in smtp_mail() argument
1170 smtp_rcpt (struct smtp *smtp) in smtp_rcpt() argument
1235 smtp_data (struct smtp *smtp) in smtp_data() argument
1341 struct smtp smtp; in do_smtp() local
[all …]
/dports/lang/seed7/seed7/lib/
H A Dsmtp.s7i90 smtp.response := getln(smtp.sock);
95 smtp.response := getln(smtp.sock);
98 smtp.responseContent &:= smtp.response;
100 smtp.response := getln(smtp.sock);
153 smtp.sock := openTlsSocket(smtp.sock);
171 close(smtp);
179 * @param smtp Open smtp connection.
197 close(smtp);
205 * @param smtp Open smtp connection.
242 close(smtp);
[all …]
/dports/lang/ruby26/ruby-2.6.9/test/net/smtp/
H A Dtest_smtp.rb35 smtp.send :critical do
46 assert smtp.esmtp
47 assert smtp.esmtp?
49 smtp.esmtp = 'omg'
58 assert smtp.rset
130 smtp.enable_tls
131 smtp.open_timeout = 1
132 smtp.start do
150 smtp.enable_tls
153 smtp.start do
[all …]
/dports/security/suricata/suricata-6.0.4/rules/
H A Dsmtp-events.rules9 alert smtp any any -> any any (msg:"SURICATA SMTP invalid reply"; flow:established,to_client; app-l…
11smtp any any -> any any (msg:"SURICATA SMTP max command line len exceeded"; flow:established; app-…
14 …rt smtp any any -> any any (msg:"SURICATA SMTP bdat chunk len exceeded"; flow:established; app-lay…
16 alert smtp any any -> any any (msg:"SURICATA SMTP tls rejected"; flow:established; app-layer-event:
17smtp any any -> any any (msg:"SURICATA SMTP data command rejected"; flow:established,to_client; ap…
20 #alert smtp any any -> any any (msg:"SURICATA SMTP Mime parser failed"; flow:established; app-layer…
21 …rt smtp any any -> any any (msg:"SURICATA SMTP Mime malformed message found"; flow:established; ap…
22 …rt smtp any any -> any any (msg:"SURICATA SMTP Mime base64-decoding failed"; flow:established; app…
26 #alert smtp any any -> any any (msg:"SURICATA SMTP Mime line len exceeded"; flow:established; app-l…
30 …lert smtp any any -> any any (msg:"SURICATA SMTP duplicate fields"; flow:established,to_server; ap…
[all …]
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/doc/utils/rfc/
H A Dsmtp.scrbl2 @subsection[:tag "rfc.smtp"]{(rfc smtp) - SMTP client}
18 (smtp:mail
25 (define smtp-conn (make-smtp-connection "your.smtp.server.com" "587"))
28 (smtp-connect! smtp-conn) ;; returns SMTP connection
31 (when (smtp-authentication-required? smtp-conn)
34 (smtp-authenticate! smtp-conn (smtp-plain-authentication
37 (else (smtp-disconnect! smtp-conn)
45 (smtp-disconnect! smtp-conn)
53 (smtp:mail
63 (smtp:mail
[all …]
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_smtplib.py76 smtp.close()
84 smtp.close()
90 smtp.close()
97 smtp.close()
109 smtp.close()
120 smtp.close()
126 smtp.close()
134 smtp.close()
144 smtp.close()
644 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()
[all …]
/dports/devel/py-gevent/gevent-21.8.0/src/greentest/3.6pypy/
H A Dtest_smtplib.py84 smtp.close()
92 smtp.close()
98 smtp.close()
105 smtp.close()
117 smtp.close()
128 smtp.close()
134 smtp.close()
142 smtp.close()
246 smtp.quit()
584 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()
[all …]
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_smtplib.py286 smtp.quit()
310 smtp.quit()
318 smtp.quit()
327 smtp.quit()
337 smtp.quit()
347 smtp.quit()
733 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()
1140 smtp.user, smtp.password = sim_auth
1149 smtp.user, smtp.password = sim_auth
1166 smtp.user, smtp.password = sim_auth
[all …]

12345678910>>...115