Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 716343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:17:20+00:00 2026-05-14T05:17:20+00:00

I wish to code a little service where I will be able to send

  • 0

I wish to code a little service where I will be able to send an e-mail to a specific address used by my server to send specific commands to my server.

I’ll check against a list of permitted e-mail addresses to make sure no one unauthorized will send a command to the server, but how do I make sure that, say, an e-mail sent by “mrzombie@thezombie.net” really comes from “thezombie.net”?

I thought about checking the header for the original e-mail server’s IP and pinging the domain to make sure it is the same, but would that be reliable?

Example:

Server receives a command from mrzombie@thezombie.net
mrzombie@thezombie.net is authorized, proceed with checks
Server checks “thezombie.net”‘s IP from the header: W.X.Y.Z
Server pings “thezombie.net” for it’s IP: A.B.C.D
The IPs do not correspond, do not process command

Is there any better way to do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:17:20+00:00Added an answer on May 14, 2026 at 5:17 am

    If you can solve this for generic e-mails, you solved the problem of SPAM.

    Given that the mail headers are free form text in which anyone can claim anything, you can’t do any sort of authorization nor authentication based on the mail headers. Your best bet is to authenticate the content, and there are protocols for that like S/MIME or PGP. They rely on cryptography for authentication and your server will be able to verify that the content is signed by a certificate you trust. But you’ll move the burden on the mail sender that will have to send a properly signed message. Most mail readers though support adding digital signatures to content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently trying to debug a piece of simple code and wish to see
I'm having a little bit of trouble with getting an incremented date into an
I have a list of String which I wish to convert to Json. I
I am trying to write a little script myself to compute all of the
Hey all, I'm writing a little 3D engine for android to better learn the
I've got a wierd/annoying little bug which I don't even know how to properly
Two temp tables are created and then loaded...Here's the schema. Create table #SH ([date]
I'm currently working on the user interface of a win forms application. The primary
why (if at all) is this a bad idea ? class Program { static
For some sort of reason, which I can't seem to spot, this fails and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.