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

  • SEARCH
  • Home
  • 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 1017323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:41:10+00:00 2026-05-16T10:41:10+00:00

I’m seeking advice about setting up an email gateway so students can email me

  • 0

I’m seeking advice about setting up an email gateway so students can email me homework and the email will be processed automatically.

For example, if a studenta@univ.edu emails me with a subject of “CS208 hw1”, I would cross check studenta in a list of students taking CS208, then take all the attached files, dump them in that student’s hw1 folder and respond with an email stating what files were received and when. If the student’s email was malformed in some way such as bad subject, or missing files, the service would send an appropriate email.

I have administrative access to an on-campus Linux machine that could be configured as an email server.

Offhand I was thinking of using fetchmail and a cron job to consistently read a designated user’s email and perform the appropriate responses with some sort of script. Does this sound like a good way to go? I would welcome better ideas?

  • 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-16T10:41:11+00:00Added an answer on May 16, 2026 at 10:41 am

    I expect that in practice there will be far, far more exceptions to whatever rules you prescribe than there will be conforming mail which is properly handled. You’ll be buying yourself a headache of manual fixups and “the computer ate my homework” claims.

    Since this is a CS 200 level class, require them to use some version control system and save yourself the hassles of parsing free-format e-mail with the rigid structure that a VCS imposes. Your students will benefit too from the requirement. If my 10-year-old could appreciate the merit of automatic revision control within Google Docs, I’m guessing your students can handle Mercurial or git or even (gasp!) Subversion.

    added in response to comment

    Yes, but with Mercurial (and presumably git) “repository” is a fancy word for “directory” and is not the heavyweight DBMSy thingy that older VCS models may have led you to expect.

    Here is how as a student I would expect to work on a hypothetical assignment:

    studenta@dorm$ hg clone https://Rich.univ.edu/studenta/cs208
    $ cd cs208 ; broswer ./hw1.html
    $ mkdir hw1 ; cd hw1 ; make my work files 
    $ hg add * ; hg commit -m "perfect the first time!" # updates locally only
    $ make lots of bug fixes
    $ hg commit -m "okay really done now"
    $ hg push 
    # sleep, party, go to class with hangover
    $ hg pull
    $ browse hw2.html ; mkdir hw2 
    ...
    

    The assignments in the student’s repository placed there by you was just for the sake of demonstration. Since you “own” the Rich.unix.edu machine, their pushes become authoritative. You’d

    1. Write a (tiny) script to hg init $student/cs208 on Rich.univ.edu for each student in the roster.
    2. Figure whether HTTPS or SSH works best in your environment
    3. Add commentary – if desired – to the student’s files that they’d pick up on their next pull
    4. Have a managed, convenient, logged record of all the interactions.
    5. The students get affirmative feedback at the moment of push that it was accepted

    Finally, should the repository server be down they could

    $ hg export tip | mail -s "server down; assignment done" Rich@univ.edu
    

    And you’d still have a timestamped, digested version of their submission which has a rigid format which you could commit for them, or better still:

    “Dr. Rich, the server was down!!!”
    “But
    you sent me an export via e-mail,
    yes?”
    “Of course, sir.”
    “Well, just
    push when the machine is back up, I
    already have proof that you completed
    it on time.”
    “Oh gee, Dr. Rich, you’re
    swell!”

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

Sidebar

Related Questions

I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
i got an object with contents of html markup in it, for example: string
I need a function that will clean a strings' special characters. I do NOT
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.