Interface with SMTP server that wants password?

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Interface with SMTP server that wants password?

Postby PoorJohn » Dec 10 08 6:38 pm

My little network uses MS Exchange to handle email. When I installed Wingate, I configured SMTP Proxy Server to talk to my ISP. On a direct broadband connection, my ISP doesn't require authentication for SMTP, so no worries.

I'd like to SMTP to my domain host instead. That requires a log-in. How can I do that?
PoorJohn
 
Posts: 22
Joined: Jan 02 08 6:08 pm

Re: Interface with SMTP server that wants password?

Postby adrien » Dec 11 08 3:13 am

You can set username and password per server or destination domain for delivery.

In the email settings under Servers.

So if you've set a server to deliver to for mail, create a server item for it, and specify the username and password (and optionally the method to use).

Then when delivering to this server, it will use those settings.

You can also create a server with the name of the domain, since it checks this before checking the servers it gets from MX lookups.
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Interface with SMTP server that wants password?

Postby PoorJohn » Jan 02 09 9:10 pm

Thanks for the help. It kinda works. See below.

Originally my WinGate email/servers list contained one line, listing my ISP's mail server, no login required, port 25. That worked fine until I added a second ISP and a second WAN connection (my Netgear FVS124G supports two WANs). Then sometimes the outgoing email would go out on the second WAN, and my original ISP would refuse to accept the email since it was addressed to his server but didn't show up on his wire.

Sending outgoing mail to the mail server at my domain seemed to solve that problem. I changed to WinGate email/servers list as you suggested, to remove the ISP and add my own domain, complete with the necessary login. Three cheers! Unfortunately, the same problem came back today, which probably means I "solved" the wrong problem. The bounce message (from MS Exchange 5.5) looks like this, with a couple of edits for privacy:

********************************************************************************************************************************************
Your message did not reach some or all of the intended recipients.

Subject:
Sent: 1/1/09 8:18 PM

The following recipient(s) could not be reached:

gallowaygold@xtra.co.nz on 1/1/09 8:18 PM
Unable to deliver the message due to a communications failure
The MTS-ID of the original message is: c=US;a= ;p=John;l=JOHNS-090102041811Z-52
MSEXCH:IMS:John:HOME:JOHNS 3553 (000B09AA) 553 <John@mydomain.org> is not allowed to use this service
*********************************************************************************************************************************************
Adding to my confusion the problem is intermittent. I suppose my domain host could be having problems, but they've seemed quite bullet-proof over the period I've been with them. Anyone's thoughts would be appreciated.
PoorJohn
 
Posts: 22
Joined: Jan 02 08 6:08 pm

Re: Interface with SMTP server that wants password?

Postby logan » Jan 08 09 4:43 pm

The Windows route table will help you there. You can use it to effectively override the default gateways for a specific IP or range of IP addresses.

  • Start -> Run -> cmd
  • route ADD X.X.X.X MASK 255.255.255.255 Y.Y.Y.Y

    Where:
    X.X.X.X = the IP address of the server you are connecting to (your ISP's mail server)
    Y.Y.Y.Y = the IP address of the gateway that you want connections to X.X.X.X to be made through
logan
Qbik Staff
 
Posts: 671
Joined: Oct 19 06 2:49 pm
Location: Auckland, New Zealand


Return to WinGate

Who is online

Users browsing this forum: Bing [Bot] and 15 guests

cron