How to send an email to myself on the same local machine (tcp port 25)
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Does anyone know how to sent email to myself?
I am trying to generate TCP traffic on port 25.
email tcp traffic
add a comment |Â
up vote
0
down vote
favorite
Does anyone know how to sent email to myself?
I am trying to generate TCP traffic on port 25.
email tcp traffic
2
Do you just want the email, or do you want to test an SMTP server on your machine?
â Keith
Jan 21 '13 at 1:54
You open up your favorite email program, fire up a new message editing window, put your email address in the "to"-field and you're good to go. Assuming your email program is configured correctly that will generate traffic on port 25 at least once on at least one host which goes beyond TCP connection requests. I think you need to put more effort into asking your question because the simple answer is "yes".
â Bananguin
Jan 22 '13 at 13:24
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Does anyone know how to sent email to myself?
I am trying to generate TCP traffic on port 25.
email tcp traffic
Does anyone know how to sent email to myself?
I am trying to generate TCP traffic on port 25.
email tcp traffic
email tcp traffic
edited Jan 21 '13 at 8:54
manatwork
21.1k38284
21.1k38284
asked Jan 21 '13 at 1:13
Alex
310149
310149
2
Do you just want the email, or do you want to test an SMTP server on your machine?
â Keith
Jan 21 '13 at 1:54
You open up your favorite email program, fire up a new message editing window, put your email address in the "to"-field and you're good to go. Assuming your email program is configured correctly that will generate traffic on port 25 at least once on at least one host which goes beyond TCP connection requests. I think you need to put more effort into asking your question because the simple answer is "yes".
â Bananguin
Jan 22 '13 at 13:24
add a comment |Â
2
Do you just want the email, or do you want to test an SMTP server on your machine?
â Keith
Jan 21 '13 at 1:54
You open up your favorite email program, fire up a new message editing window, put your email address in the "to"-field and you're good to go. Assuming your email program is configured correctly that will generate traffic on port 25 at least once on at least one host which goes beyond TCP connection requests. I think you need to put more effort into asking your question because the simple answer is "yes".
â Bananguin
Jan 22 '13 at 13:24
2
2
Do you just want the email, or do you want to test an SMTP server on your machine?
â Keith
Jan 21 '13 at 1:54
Do you just want the email, or do you want to test an SMTP server on your machine?
â Keith
Jan 21 '13 at 1:54
You open up your favorite email program, fire up a new message editing window, put your email address in the "to"-field and you're good to go. Assuming your email program is configured correctly that will generate traffic on port 25 at least once on at least one host which goes beyond TCP connection requests. I think you need to put more effort into asking your question because the simple answer is "yes".
â Bananguin
Jan 22 '13 at 13:24
You open up your favorite email program, fire up a new message editing window, put your email address in the "to"-field and you're good to go. Assuming your email program is configured correctly that will generate traffic on port 25 at least once on at least one host which goes beyond TCP connection requests. I think you need to put more effort into asking your question because the simple answer is "yes".
â Bananguin
Jan 22 '13 at 13:24
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
1
down vote
Do you need to test if an smtp server works or to send some email by a shell script?
SWAKS - Swiss Army Knife for SMTP
Swaks is a featureful, flexible, scriptable, transaction-oriented
SMTP test tool written and maintained by John Jetmore. Features include:
* SMTP extensions including TLS, authentication, and pipelining
* Protocols including SMTP, ESMTP, and LMTP
* Transports including unix-domain sockets, internet-domain sockets
(IPv4 and IPv6), and pipes to spawned processes
* Completely scriptable configuration, with option specification
via environment variables, configuration files, and command line
add a comment |Â
up vote
1
down vote
telnet (to test out smtp protocol)
If you are trying to send email to yourself on the email server
telnet localhost 25
In this case you properly do not need to worry about correct HELO or login stuff, as email server generally will accept anything from localhost.
If you are trying to send email to yourself to an email server
telnet <email-server> 25
In this case depends on the configuration, the email server may reject your email if your box is not an email server(no mx record or spf record, etc).
Then follow this Tutorial link
Instead of telnet, you can also use netcat.
â jofel
Jan 21 '13 at 9:11
@jofel True, it is almost identical in this usage.
â John Siu
Jan 21 '13 at 21:27
yet you are not sending an email to anybody and calling an established TCP connection "generating traffic on port 25" is a little optimistic as well :-)
â Bananguin
Jan 22 '13 at 13:26
@user1129682 I included the tutorial link for it.
â John Siu
Jan 22 '13 at 17:39
add a comment |Â
up vote
0
down vote
# echo "This is message body" | mail -s "This is subject" you@domain.com
Or
# mail -s "My Subject" you@yourdomain.com < msg.txt
Originally I included this in my answer. However, after verifying themail.log
, themail
command seems to call mail queue directly, which bypass TCP/IP.
â John Siu
Jan 24 '13 at 2:20
That's good to know. Hope that helps someone too. Thank you.
â Mardanian
Jan 24 '13 at 15:31
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Do you need to test if an smtp server works or to send some email by a shell script?
SWAKS - Swiss Army Knife for SMTP
Swaks is a featureful, flexible, scriptable, transaction-oriented
SMTP test tool written and maintained by John Jetmore. Features include:
* SMTP extensions including TLS, authentication, and pipelining
* Protocols including SMTP, ESMTP, and LMTP
* Transports including unix-domain sockets, internet-domain sockets
(IPv4 and IPv6), and pipes to spawned processes
* Completely scriptable configuration, with option specification
via environment variables, configuration files, and command line
add a comment |Â
up vote
1
down vote
Do you need to test if an smtp server works or to send some email by a shell script?
SWAKS - Swiss Army Knife for SMTP
Swaks is a featureful, flexible, scriptable, transaction-oriented
SMTP test tool written and maintained by John Jetmore. Features include:
* SMTP extensions including TLS, authentication, and pipelining
* Protocols including SMTP, ESMTP, and LMTP
* Transports including unix-domain sockets, internet-domain sockets
(IPv4 and IPv6), and pipes to spawned processes
* Completely scriptable configuration, with option specification
via environment variables, configuration files, and command line
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Do you need to test if an smtp server works or to send some email by a shell script?
SWAKS - Swiss Army Knife for SMTP
Swaks is a featureful, flexible, scriptable, transaction-oriented
SMTP test tool written and maintained by John Jetmore. Features include:
* SMTP extensions including TLS, authentication, and pipelining
* Protocols including SMTP, ESMTP, and LMTP
* Transports including unix-domain sockets, internet-domain sockets
(IPv4 and IPv6), and pipes to spawned processes
* Completely scriptable configuration, with option specification
via environment variables, configuration files, and command line
Do you need to test if an smtp server works or to send some email by a shell script?
SWAKS - Swiss Army Knife for SMTP
Swaks is a featureful, flexible, scriptable, transaction-oriented
SMTP test tool written and maintained by John Jetmore. Features include:
* SMTP extensions including TLS, authentication, and pipelining
* Protocols including SMTP, ESMTP, and LMTP
* Transports including unix-domain sockets, internet-domain sockets
(IPv4 and IPv6), and pipes to spawned processes
* Completely scriptable configuration, with option specification
via environment variables, configuration files, and command line
answered Jan 21 '13 at 8:52
andcoz
12.1k32938
12.1k32938
add a comment |Â
add a comment |Â
up vote
1
down vote
telnet (to test out smtp protocol)
If you are trying to send email to yourself on the email server
telnet localhost 25
In this case you properly do not need to worry about correct HELO or login stuff, as email server generally will accept anything from localhost.
If you are trying to send email to yourself to an email server
telnet <email-server> 25
In this case depends on the configuration, the email server may reject your email if your box is not an email server(no mx record or spf record, etc).
Then follow this Tutorial link
Instead of telnet, you can also use netcat.
â jofel
Jan 21 '13 at 9:11
@jofel True, it is almost identical in this usage.
â John Siu
Jan 21 '13 at 21:27
yet you are not sending an email to anybody and calling an established TCP connection "generating traffic on port 25" is a little optimistic as well :-)
â Bananguin
Jan 22 '13 at 13:26
@user1129682 I included the tutorial link for it.
â John Siu
Jan 22 '13 at 17:39
add a comment |Â
up vote
1
down vote
telnet (to test out smtp protocol)
If you are trying to send email to yourself on the email server
telnet localhost 25
In this case you properly do not need to worry about correct HELO or login stuff, as email server generally will accept anything from localhost.
If you are trying to send email to yourself to an email server
telnet <email-server> 25
In this case depends on the configuration, the email server may reject your email if your box is not an email server(no mx record or spf record, etc).
Then follow this Tutorial link
Instead of telnet, you can also use netcat.
â jofel
Jan 21 '13 at 9:11
@jofel True, it is almost identical in this usage.
â John Siu
Jan 21 '13 at 21:27
yet you are not sending an email to anybody and calling an established TCP connection "generating traffic on port 25" is a little optimistic as well :-)
â Bananguin
Jan 22 '13 at 13:26
@user1129682 I included the tutorial link for it.
â John Siu
Jan 22 '13 at 17:39
add a comment |Â
up vote
1
down vote
up vote
1
down vote
telnet (to test out smtp protocol)
If you are trying to send email to yourself on the email server
telnet localhost 25
In this case you properly do not need to worry about correct HELO or login stuff, as email server generally will accept anything from localhost.
If you are trying to send email to yourself to an email server
telnet <email-server> 25
In this case depends on the configuration, the email server may reject your email if your box is not an email server(no mx record or spf record, etc).
Then follow this Tutorial link
telnet (to test out smtp protocol)
If you are trying to send email to yourself on the email server
telnet localhost 25
In this case you properly do not need to worry about correct HELO or login stuff, as email server generally will accept anything from localhost.
If you are trying to send email to yourself to an email server
telnet <email-server> 25
In this case depends on the configuration, the email server may reject your email if your box is not an email server(no mx record or spf record, etc).
Then follow this Tutorial link
edited Jan 22 '13 at 17:39
answered Jan 21 '13 at 3:09
John Siu
3,33011517
3,33011517
Instead of telnet, you can also use netcat.
â jofel
Jan 21 '13 at 9:11
@jofel True, it is almost identical in this usage.
â John Siu
Jan 21 '13 at 21:27
yet you are not sending an email to anybody and calling an established TCP connection "generating traffic on port 25" is a little optimistic as well :-)
â Bananguin
Jan 22 '13 at 13:26
@user1129682 I included the tutorial link for it.
â John Siu
Jan 22 '13 at 17:39
add a comment |Â
Instead of telnet, you can also use netcat.
â jofel
Jan 21 '13 at 9:11
@jofel True, it is almost identical in this usage.
â John Siu
Jan 21 '13 at 21:27
yet you are not sending an email to anybody and calling an established TCP connection "generating traffic on port 25" is a little optimistic as well :-)
â Bananguin
Jan 22 '13 at 13:26
@user1129682 I included the tutorial link for it.
â John Siu
Jan 22 '13 at 17:39
Instead of telnet, you can also use netcat.
â jofel
Jan 21 '13 at 9:11
Instead of telnet, you can also use netcat.
â jofel
Jan 21 '13 at 9:11
@jofel True, it is almost identical in this usage.
â John Siu
Jan 21 '13 at 21:27
@jofel True, it is almost identical in this usage.
â John Siu
Jan 21 '13 at 21:27
yet you are not sending an email to anybody and calling an established TCP connection "generating traffic on port 25" is a little optimistic as well :-)
â Bananguin
Jan 22 '13 at 13:26
yet you are not sending an email to anybody and calling an established TCP connection "generating traffic on port 25" is a little optimistic as well :-)
â Bananguin
Jan 22 '13 at 13:26
@user1129682 I included the tutorial link for it.
â John Siu
Jan 22 '13 at 17:39
@user1129682 I included the tutorial link for it.
â John Siu
Jan 22 '13 at 17:39
add a comment |Â
up vote
0
down vote
# echo "This is message body" | mail -s "This is subject" you@domain.com
Or
# mail -s "My Subject" you@yourdomain.com < msg.txt
Originally I included this in my answer. However, after verifying themail.log
, themail
command seems to call mail queue directly, which bypass TCP/IP.
â John Siu
Jan 24 '13 at 2:20
That's good to know. Hope that helps someone too. Thank you.
â Mardanian
Jan 24 '13 at 15:31
add a comment |Â
up vote
0
down vote
# echo "This is message body" | mail -s "This is subject" you@domain.com
Or
# mail -s "My Subject" you@yourdomain.com < msg.txt
Originally I included this in my answer. However, after verifying themail.log
, themail
command seems to call mail queue directly, which bypass TCP/IP.
â John Siu
Jan 24 '13 at 2:20
That's good to know. Hope that helps someone too. Thank you.
â Mardanian
Jan 24 '13 at 15:31
add a comment |Â
up vote
0
down vote
up vote
0
down vote
# echo "This is message body" | mail -s "This is subject" you@domain.com
Or
# mail -s "My Subject" you@yourdomain.com < msg.txt
# echo "This is message body" | mail -s "This is subject" you@domain.com
Or
# mail -s "My Subject" you@yourdomain.com < msg.txt
answered Jan 22 '13 at 17:49
Mardanian
1613
1613
Originally I included this in my answer. However, after verifying themail.log
, themail
command seems to call mail queue directly, which bypass TCP/IP.
â John Siu
Jan 24 '13 at 2:20
That's good to know. Hope that helps someone too. Thank you.
â Mardanian
Jan 24 '13 at 15:31
add a comment |Â
Originally I included this in my answer. However, after verifying themail.log
, themail
command seems to call mail queue directly, which bypass TCP/IP.
â John Siu
Jan 24 '13 at 2:20
That's good to know. Hope that helps someone too. Thank you.
â Mardanian
Jan 24 '13 at 15:31
Originally I included this in my answer. However, after verifying the
mail.log
, the mail
command seems to call mail queue directly, which bypass TCP/IP.â John Siu
Jan 24 '13 at 2:20
Originally I included this in my answer. However, after verifying the
mail.log
, the mail
command seems to call mail queue directly, which bypass TCP/IP.â John Siu
Jan 24 '13 at 2:20
That's good to know. Hope that helps someone too. Thank you.
â Mardanian
Jan 24 '13 at 15:31
That's good to know. Hope that helps someone too. Thank you.
â Mardanian
Jan 24 '13 at 15:31
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f61952%2fhow-to-send-an-email-to-myself-on-the-same-local-machine-tcp-port-25%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
Do you just want the email, or do you want to test an SMTP server on your machine?
â Keith
Jan 21 '13 at 1:54
You open up your favorite email program, fire up a new message editing window, put your email address in the "to"-field and you're good to go. Assuming your email program is configured correctly that will generate traffic on port 25 at least once on at least one host which goes beyond TCP connection requests. I think you need to put more effort into asking your question because the simple answer is "yes".
â Bananguin
Jan 22 '13 at 13:24