EMailrelay 1.8.1 smarthost configuration Windows
SMTP email proxy and relay server
Brought to you by:
graeme_walker
I'm using E-MailRelay successfully (as process or service) with local network outgoing mail server and with GMail smtp server over ssl.
But how can I use emailrelay with smarthost?
In the documentation I can find line like this:
emailrelay --as-client smarthost:smtp --spool-dir /tmp
But how can i configure smarthost details (domain, username and password)?
Where do I specify these parameters?
Does it also support smarthost over ssl and plain text?
Best Regards, VB
The emailrelay server reads all account details from text file(s) that you specify with the --client-auth or --server-auth command-line options. You can find examples in the reference document.
Put the full smarthost domain name into the --as-client option. Eg. "--as-client somesmarthost.example.com:smtp".
For SSL on outgoing (--as-client) connections you should add the "--client-tls" option. The emailrelay server will then use the STARTTLS command to negotiate SSL encryption with the server. In emailrelay V1.9 there is also "--client-tls-connection" which does unconditional SSL encryption, ie. SMTP over SSL.