Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Mar 14 04 1:23 pm
Running latest version of wingate on my w2k pro box. Have added a red hat linux 8.0 server behind my wingate proxy. Can browse internet and download files from linux fine(gateway and dns of linux box = wingate server ip address).
Trying to send email from linux(using sendmail) through my wingate server. Gatekeeper history reports dns lookup failures(DNS: Alookup "YAHOO.COM."). Which is domain of the person I am trying to send the email to from linux.
I have a number of windows pc's that send and receive email through wingate with no problem(using the isp mail servers). Am using wingate mail with no smtp proxy or service running. Wingate mail just relaying. I would like Wingate to treat email from linux/sendmail just like it is treating email from the windows clients, just relaying the message to the internet and nothing else. Have tried defining the SMART HOST in the sendmail.mc and cf files as the wingate server and the email server of the isp, but wingate still attempts to lookup the dns of the email recipients and fails. Have tried manually adding dns name servsers to dns/wins resolver but no luck.
Anyone have any ideas on how to do what I am trying?
tia
bob
Mar 16 04 12:29 pm
Well a few things here. The only reason WinGate would be doing the lookup for yahoo.com would be because thats what sendmail is asking of us. Sendmail being a mail server rather than just a mail clientwill behave differently. Ie your windows clients using say outlook can only send email to one place (in your case the ISP's SMTP server), whereas Sendmail is designed to send to all / any place thus, it will perform the DNS lookup first. I'm not 100% au fait with sendmail, but there might be an option along the lines of 'Deliver through Gateway'. If this is the case then you can set that to your ISP's SMTP server and that should stop the DNS lookup. Alternatively, you could just let sendmail deliver directly (once we've sorted out this DNS issue).
So if you turn on debug logging in the DNS resolver, and then on the linux machine, use Dig or nslookup, set the type to A and then lookup yahoo.com and see if it resolves. If not try another domain, say qbik.com and see if that works. If it fails look in the DNS resolver log in the WinGate\logs directory. If these look ups succeed fro the linux machine in dig or nslookup, then this points to some other issue in sendmail's config.
Regards
Neil
Powered by phpBB © phpBB Group.
phpBB Mobile / SEO by Artodia.