I need a simple perl script that can mimic an SMTP server.
The perl script will run as a daemon (24/7) accepting connections on port 25. When a request comes in, the script will take in the email as any SMTP server, parse out the header and message and save that data to a MySQL database.
Please note, this script will be taking INCOMING request, NOT pulling from outside servers, JUST as an SMTP server would do. Very simple script with many examples online, just need a working program.
No need to worry about what to do with the emails once we get them, we'll take care of that.
working on the full problem at the moment / sorting in the incomming mail and autorespond the mails (keywordanalysis) .. can take out the "core" routine as it is a different script - mhwse