Hello all,
So I'm trying to get a new graphics card, and I'm looking to set up
inventory-hunter so it can email me when a retailer gets stock. I've been learning about email, SMTP servers etc., but there is something fundamental that I can't wrap my head around.
The inventory-hunter script can send an email to a configured address, but the readme says that it requires an SMTP server to be running on the local machine, fine. The guide for configuring postfix for this purpose, that the readme references, details how to configure Googles SMTP servers as a relay host. What I don't understand is
why a relay host is needed in this situation. Would it not be the case that without using the relay, the local instance of Postfix would contact the configured DNS and discover the IP address for the target domains MX server and then simply send the packet to that address?
Another question is why does the script need an SMTP server to run on the local machine anyway? If email clients can be configured to forward mail to a remote SMTP server then why can't whatever utility that the script uses to send the email
also be configured to do so?
Any guidance would be much appreciated!
Edit: I'm kind of getting the feeling that the answer is something to do with spam prevention and ISPs, I found the following quote on this Wikipedia page, but it doesn't go into any more detail, I still don't understand...
Bookmarks