Results 1 to 15 of 15

Thread: SMTP Protocol question

  1. #1
    Senior Member
    Join Date
    Aug 2004
    Location
    W Yorkshire
    Posts
    5,691
    Thanks
    85
    Thanked
    15 times in 13 posts
    • XA04's system
      • Motherboard:
      • MSI X570-A Pro
      • CPU:
      • AMD Ryzen 5 3600
      • Memory:
      • Corsair 2x 8gb DDR 4 3200
      • Storage:
      • 1TB Serpent M.2 SSD & 4TB HDD
      • Graphics card(s):
      • Palit RTX 2060
      • PSU:
      • Antec Truepower 650W
      • Case:
      • Fractcal Meshify C
      • Operating System:
      • Windows 10
      • Monitor(s):
      • iiyama 34" Curved UWQHD
      • Internet:
      • Virgin 100mb Fibre

    SMTP Protocol question

    See the new post below please
    http://forums.hexus.net/1927990-post8.html






    I'm revising for my exams at the moment and have a quick question regarding SMTP...

    Here's the question:
    A student is mystified why they are receiving emails addressed to another recipient, without their address in the “To:” field of the message header. Explain, with reference to the RFC821(SMTP) and RFC822 protocol show how this operates.
    I know that you can connect to an SMTP server and fake who you say you are, but I wouldn't have thought it was possible to fake who it's going to as surely this would just end up going to the wrong person?

    Any ideas?
    Cheers
    Last edited by XA04; 25-05-2010 at 11:40 AM.

  2. #2
    Senior Member
    Join Date
    Jun 2008
    Posts
    1,495
    Thanks
    2
    Thanked
    143 times in 119 posts
    • BobF64's system
      • Motherboard:
      • Asus P8Z77-V Pro
      • CPU:
      • Intel Core i7-3770K
      • Memory:
      • 16GB Corsair XMS3 PC3-12800
      • Storage:
      • Multiple HDD and SSD drives
      • Graphics card(s):
      • ASUS DUAL-GTX1060-06G
      • PSU:
      • 750W Silverstone Strider Gold Evolution
      • Case:
      • Silverstone Fortress FT02
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • HP ZR24w

    Re: SMTP Protocol question

    The simplest answer, assuming nothing is forged, they are being BCC'd.

  3. #3
    Senior Member
    Join Date
    Aug 2004
    Location
    W Yorkshire
    Posts
    5,691
    Thanks
    85
    Thanked
    15 times in 13 posts
    • XA04's system
      • Motherboard:
      • MSI X570-A Pro
      • CPU:
      • AMD Ryzen 5 3600
      • Memory:
      • Corsair 2x 8gb DDR 4 3200
      • Storage:
      • 1TB Serpent M.2 SSD & 4TB HDD
      • Graphics card(s):
      • Palit RTX 2060
      • PSU:
      • Antec Truepower 650W
      • Case:
      • Fractcal Meshify C
      • Operating System:
      • Windows 10
      • Monitor(s):
      • iiyama 34" Curved UWQHD
      • Internet:
      • Virgin 100mb Fibre

    Re: SMTP Protocol question

    Hmm true that could be the answer actually. Feel a bit silly lol. Most of the questions have been about abuse really.. so kind of a trick question! Might just email my lecturer and see what he says.

    Cheers!

    Edit: Even if BCC'd though won't it then show in the To: part!?

  4. #4
    Senior Member
    Join Date
    Jun 2008
    Posts
    1,495
    Thanks
    2
    Thanked
    143 times in 119 posts
    • BobF64's system
      • Motherboard:
      • Asus P8Z77-V Pro
      • CPU:
      • Intel Core i7-3770K
      • Memory:
      • 16GB Corsair XMS3 PC3-12800
      • Storage:
      • Multiple HDD and SSD drives
      • Graphics card(s):
      • ASUS DUAL-GTX1060-06G
      • PSU:
      • 750W Silverstone Strider Gold Evolution
      • Case:
      • Silverstone Fortress FT02
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • HP ZR24w

    Re: SMTP Protocol question

    Dont believe so.

    Ive yet to see any sort of reference to a BCC'd person in any email header, but I could be wrong.

    It certainly wont be in the To field and its called "Blind Carbon Copy" for a reason

  5. #5
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: SMTP Protocol question

    As the qustion referes to the RFC - I think the answer may lie here...


    http://www.faqs.org/rfcs/rfc821.html

    Para 3.6
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  6. #6
    Not a good person scaryjim's Avatar
    Join Date
    Jan 2009
    Location
    Gateshead
    Posts
    15,196
    Thanks
    1,231
    Thanked
    2,291 times in 1,874 posts
    • scaryjim's system
      • Motherboard:
      • Dell Inspiron
      • CPU:
      • Core i5 8250U
      • Memory:
      • 2x 4GB DDR4 2666
      • Storage:
      • 128GB M.2 SSD + 1TB HDD
      • Graphics card(s):
      • Radeon R5 230
      • PSU:
      • Battery/Dell brick
      • Case:
      • Dell Inspiron 5570
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 15" 1080p laptop panel

    Re: SMTP Protocol question

    RFC 2821 Appendix B paragraph 1 has this to say about generating SMTP commands from RFC822 headers: source
    Each recipient address from a TO, CC, or BCC header field SHOULD be copied to a RCPT command (generating multiple message copies if that is required for queuing or delivery). This includes any addresses listed in a RFC 822 "group". Any BCC fields SHOULD then be removed from the headers.
    Interesting to note: the RFC only states that BCC headers SHOULD be removed, so a complying mail transfer agent could actually send the message to the main recipients with full BCC information in the headers, defeating the object of BCC. As always, google is your friend - and while you probably can't memorise entire RFCs for your exams, it's probably worth trying to memorise the most slaient points of each of the main ones...


    GAH! Apologies, I've quoted the above from RFC 2821, which provides consolidation and clarification to 821 without materially changing any of it. Might be worth a few extra marks if you can drop it in though
    Last edited by scaryjim; 22-05-2010 at 11:17 PM.

  7. #7
    Senior Member
    Join Date
    Aug 2004
    Location
    W Yorkshire
    Posts
    5,691
    Thanks
    85
    Thanked
    15 times in 13 posts
    • XA04's system
      • Motherboard:
      • MSI X570-A Pro
      • CPU:
      • AMD Ryzen 5 3600
      • Memory:
      • Corsair 2x 8gb DDR 4 3200
      • Storage:
      • 1TB Serpent M.2 SSD & 4TB HDD
      • Graphics card(s):
      • Palit RTX 2060
      • PSU:
      • Antec Truepower 650W
      • Case:
      • Fractcal Meshify C
      • Operating System:
      • Windows 10
      • Monitor(s):
      • iiyama 34" Curved UWQHD
      • Internet:
      • Virgin 100mb Fibre

    Re: SMTP Protocol question

    That's great thanks everyone

  8. #8
    Senior Member
    Join Date
    Aug 2004
    Location
    W Yorkshire
    Posts
    5,691
    Thanks
    85
    Thanked
    15 times in 13 posts
    • XA04's system
      • Motherboard:
      • MSI X570-A Pro
      • CPU:
      • AMD Ryzen 5 3600
      • Memory:
      • Corsair 2x 8gb DDR 4 3200
      • Storage:
      • 1TB Serpent M.2 SSD & 4TB HDD
      • Graphics card(s):
      • Palit RTX 2060
      • PSU:
      • Antec Truepower 650W
      • Case:
      • Fractcal Meshify C
      • Operating System:
      • Windows 10
      • Monitor(s):
      • iiyama 34" Curved UWQHD
      • Internet:
      • Virgin 100mb Fibre

    Re: SMTP Protocol question

    It says in RFC822 that:
    Code:
         A.3.1.  Minimum required
         
         Date:     26 Aug 76 1429 EDT        Date:     26 Aug 76 1429 EDT
         From:     Jones@Registry.Org   or   From:     Jones@Registry.Org
         Bcc:                                To:       Smith@Registry.Org
         
            Note that the "Bcc" field may be empty, while the  "To"  field
            is required to have at least one address.
    So if the minimum is that there doesn't need to be a To: but an empty Bcc: then surely nobody would receive the email?

  9. #9
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: SMTP Protocol question

    Bcc addresses are generally stripped from the email so they are not visible to recipients, hence blind CC.

    Edit: Sorry that's basically been said above, I skipped to the last post after reading the OP. Try it for yourself, send an email to yourself in the To: field and add another address in the Bcc: field and look at the message source on the received messages - you should see no mention of the Bcc: address provided the email client handles Bcc: properly.
    Last edited by watercooled; 25-05-2010 at 03:48 PM.

  10. #10
    Senior Member
    Join Date
    Aug 2004
    Location
    W Yorkshire
    Posts
    5,691
    Thanks
    85
    Thanked
    15 times in 13 posts
    • XA04's system
      • Motherboard:
      • MSI X570-A Pro
      • CPU:
      • AMD Ryzen 5 3600
      • Memory:
      • Corsair 2x 8gb DDR 4 3200
      • Storage:
      • 1TB Serpent M.2 SSD & 4TB HDD
      • Graphics card(s):
      • Palit RTX 2060
      • PSU:
      • Antec Truepower 650W
      • Case:
      • Fractcal Meshify C
      • Operating System:
      • Windows 10
      • Monitor(s):
      • iiyama 34" Curved UWQHD
      • Internet:
      • Virgin 100mb Fibre

    Re: SMTP Protocol question

    I understand that.. unless I'm missing something. Surely if you connect to an SMTP server and say, this is the date of the message, this is where it's been sent from, and this is who I want to BCC it too (but it's blank) then the message wouldn't arrive would it?

  11. #11
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: SMTP Protocol question

    Bcc: addresses are only stripped off at the recipient email server. Of course that means you can't rely on it for privacy - if the recipient server is misconfigured (is that a word? FF spellchecker doesn't like it) or owned by the recipient then they could see the Bcc: addresses.
    Last edited by watercooled; 25-05-2010 at 04:29 PM.

  12. #12
    Senior Member
    Join Date
    Aug 2004
    Location
    W Yorkshire
    Posts
    5,691
    Thanks
    85
    Thanked
    15 times in 13 posts
    • XA04's system
      • Motherboard:
      • MSI X570-A Pro
      • CPU:
      • AMD Ryzen 5 3600
      • Memory:
      • Corsair 2x 8gb DDR 4 3200
      • Storage:
      • 1TB Serpent M.2 SSD & 4TB HDD
      • Graphics card(s):
      • Palit RTX 2060
      • PSU:
      • Antec Truepower 650W
      • Case:
      • Fractcal Meshify C
      • Operating System:
      • Windows 10
      • Monitor(s):
      • iiyama 34" Curved UWQHD
      • Internet:
      • Virgin 100mb Fibre

    Re: SMTP Protocol question

    I'm probably sounding stupid now. If I connect to an SMTP server and put this in:

    Code:
    Date: 26 Aug 76 1429 EDT
    From: Jones@Registry.Org 
    Bcc:
    Through the necessary commands (using telnet), the email isn't going to reach anyone is it? or if it does, how when you don't specify a recipient?

  13. #13
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: SMTP Protocol question

    You do specify a recipient, you would send this to your smtp server:
    Date: 26 Aug 76 1429 EDT
    From: Jones@Registry.Org
    To: bar@foo.com
    Bcc: foo@bar.com

    It would travel to the recipient server as usual then when it arrived the server would strip the Bcc list before dropping it in the user's mailbox.

  14. #14
    Senior Member
    Join Date
    Aug 2004
    Location
    W Yorkshire
    Posts
    5,691
    Thanks
    85
    Thanked
    15 times in 13 posts
    • XA04's system
      • Motherboard:
      • MSI X570-A Pro
      • CPU:
      • AMD Ryzen 5 3600
      • Memory:
      • Corsair 2x 8gb DDR 4 3200
      • Storage:
      • 1TB Serpent M.2 SSD & 4TB HDD
      • Graphics card(s):
      • Palit RTX 2060
      • PSU:
      • Antec Truepower 650W
      • Case:
      • Fractcal Meshify C
      • Operating System:
      • Windows 10
      • Monitor(s):
      • iiyama 34" Curved UWQHD
      • Internet:
      • Virgin 100mb Fibre

    Re: SMTP Protocol question

    Quote Originally Posted by watercooled View Post
    You do specify a recipient, you would send this to your smtp server:
    Date: 26 Aug 76 1429 EDT
    From: Jones@Registry.Org
    To: bar@foo.com
    Bcc: foo@bar.com

    It would travel to the recipient server as usual then when it arrived the server would strip the Bcc list before dropping it in the user's mailbox.
    Yes but as a minimum you don't need to specify a "To:", you can supply a "Bcc:" that's empty..

  15. #15
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: SMTP Protocol question

    It depends, some service providers will refuse to send messages with an empty To: field.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. The random question thread.
    By matty-hodgson in forum General Discussion
    Replies: 44
    Last Post: 12-04-2010, 01:03 AM
  2. How to ask an anonymous question?
    By Allen in forum General Discussion
    Replies: 26
    Last Post: 03-12-2009, 02:36 PM
  3. Creationist question on GCSE Biology exam
    By JPreston in forum General Discussion
    Replies: 17
    Last Post: 06-07-2009, 08:35 PM
  4. Outlook cannot find Orange SMTP server
    By Brucelles in forum Networking and Broadband
    Replies: 4
    Last Post: 02-07-2009, 10:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •