On Mon, 15 Jul 2002, Adrian Hicks wrote:
> > Hi all. > > I have run up against a problem that as yet I can't figure out. > > > I have XMail 1.9 on Linux for the LAN. This is currently sitting behind our > firewall, using a private addressing scheme (192.168 etc.). > > We have a Web host outside, and also have mail servers out there which are > currently in use. > > I have set up aliases on the servers outside so incoming mail is directed to > our internal machine. > > The firewall is the first machine to see incoming smtp connections, & I've > set it up to do a NAT so packets for the mail server are passed on. > > I also set up a domain name at dyndns.org so that the firewall has a domain > name. I did this partly because I wanted to use that domain name in aliases > that forward mail to the internal server, and also because I assume that smtp > servers that do a reverse DNS lookup will need it. > > Incoming mail is ok. > > However outgoing mail is a problem. I haven't yet been able to get outgoing > mail happening elegantly. I've tried basically two things: > > 1 - Passing outgoing mail through our server at the Web host > * Set the helo domain in server.tab to our original domain (auston.com). > * Set DefaultSMTPGateways in server.tab to that of our outside server > > This works ok if the outside server has a mailbox that corresponds with the > user id. However staff numbers are already greater than the number of > permitted mailboxes, & anyway, having 2 sets of mailboxes is a royal pain. > Our Web host says their policy is that there must be an account in order to > relay mail, and they can't set up smtp authentication so our smtp can > authenticate with theirs. > > > 2 - Having outgoing mail go directly to the destination smtp server > * Set the helo domain as the domain I've set up at dyndns.org > (auston.dnsalias.com), actually it's a domain for a static IP. > * Disable DefaultSMTPGateways in server.tab. > > I assume with the above config that XMail will attempt to send to the > destination smtp server. > > The result seems to be inconsistent. In my initial tests a week ago the mail > managed to get through to my outside account at Yahoo, however it took > approximately 20 minutes to get there. And as the sender I received a message > to say that the first attempt to send the message had failed and that XMail > would continue trying. > > Today I have tried the same configuration & mail seems to go out & then > disappear. The only setting that is different is NotifyTryPattern, which I > changed from 1,6,11 to 5,10. > > > Can anyone tell me if having the mail server behind the firewall & using > dyndns.org should work or not? And if so have I got some part of the config > wrong? with solution 2) you're very likely having DNS problems bacause the XMail machines try to talk DNS directly and it is probably not allowed to do so ( or the firewall has problems ). if you want to use 2) you've to set SmartDNSHost ( see doc ) to the IP of a machine that is allowed to send DNS packets outside. Why solution 1) does not work ? are external mail servers XMail servers ? - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
