These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Need Help With new MTA Shell Calls (Postfix) on the new forum.
We sometimes send email notices for our users by doing an SQL query and then piping the email addresses to a shell script.
Under PLESK/Qmail the cmd looks like this:
"cat $Alert | /var/qmail/bin/qmail-inject RECIPIENT"
where $Alert contains the html email and "Recipient" is replaced on a repeat loop with a real@emailaddress.com
Now, we migrated to the new box under VirtualMin/WebMin and set the MTA to be Postfix...
Can anyone one help me re-write my shell cmd?
In the menu on the left under "Email Messages" you will see "Email Server Owners" which is the same thing.