I am trying to find information on creating a script to do the following:
1.
user@domain.com sends an email to
list@domain.com (
user@domain.com should be the only allowed sending address)
2.
list@domain.com then runs the script/program to send a copy of the email to everyone that is in the file called list, but only sends them at the rate of 1000 every hour
I have found information on scripts to automate emails, but the subject and body are in the script and they are usually invoked when something is triggered on the system, user logs in, cron job is run etc... but i want it to run only when an email is sent to the specific address, the email that is sent then becomes the message and is distributed to everyone in the list
thanks