Re: Installation of Blat
| Newsgroups | gmane.mail.blat |
|---|---|
| Message-ID | <5ECC1F19E90840E5956D6E236FED6621@chip> |
> We have created a Batch File to run Blat in order to mail results for our > POS System. It now runs successful and I am now considering to roll it out > to our 300+ clients. > > What is the best way to store all relevant Parameters (Including SMTP > Account Information (We will use our company's SMTP account for that > purpose and this needs a log-in) in an "Idiot-proof" easy way? > > I keep having trouble with blatinstall.bat and such ... > > Am thinking now to create a .reg File, one for 32 Bit and one for 64 Bit > Systems. > > Or is there a better and more appropriate way? > > Someone to take me by the hand and guide me through a Blatinstall.bat that > has only one group of settings? > > This one does not give me the requested results: > > C:\OurPOS\Blat\blat.exe -install smtp.provider.com [email protected] 5 > 586 - [email protected] smtpw > > Thanks! Outside of anything already stated by others, there is one issue not yet mentioned. Blat does not directly support SSL or TLS for encrypted connections, which is used by port 586 mentioned above. However, this is easily supported by using stunnel from stunnel.org to provide that encryption. This is what I do at home, I use stunnel to provide TLS encryption to AT&T, Hotmail, and Google (gmail). Blat is then told to use IP address 127.0.0.1 for its SMTP server, which uses stunnel to establish the encrypted connection. The job of stunnel is only to provide encryption. As such, Blat is able to then establish a connection to the intended server, and use login credentials. The stunnel configuration file will tell stunnel the names of all servers you intent to use, and which ports to listen on for making connections to each server. There are references to stunnel in the Yahoo message list, including example configuration files. The accept= statements in the list below tells stunnel which ports to listen on, and those dictate which servers will be connected when Blat talks on the listed port numbers. Here is part of my stunnel.conf file that you can use as a basis for your situation: CAfile = cert.pem cert = client.pem client = yes RNDfile = .rnd sslVersion = TLSv1 fips = no [att yahoo smtp] accept = 25 connect = outbound.att.net:465 [att yahoo pop3] accept = 110 connect = inbound.att.net:995 [hotmail smtp] accept = 8002 connect = smtp.live.com:587 protocol = smtp [hotmail pop3] accept = 9002 connect = pop3.live.com:995 [gmail smtp] accept = 27 connect = smtp.gmail.com:587 protocol = smtp -- Chip