1 - If you want mails from your exim inside firewall to be relayed by =
your
xmail server outside firewall, first is you firewall doing nat ?

If not :
simple put your exim ip in xmail smtprelay.tab file

If yes :
simple put you firewall external ip in xmail smtprelay.tab file

Doing these, you don't have to authenticate ...

2 - You will only need to authenticate from your exim if :
- firewall without nat : you don't want your complete exim system to be
relayed (others processes or programs)
- firewall with nat : you don't want any internal computer to be =
relayed
except exim process on the exim server
In these cases, first try option 1 (using smtprelay.tab) to confirm =
that
xmail can relay your exim (no problem with you firewall setup and =
rules),
then remove the ip added in smtprelay.tab, and finally use smtpauth.tab =
file
on xmail and configure exim to use 'LOGIN' authentication when sending =
mails
to xmail (don't ask me, i don't know anything on exim ...)
(don't remember if you need to 'xmcrypt' password in smtpauth.tab file =
....
but seems to be for security reasons ...)

Hope this help ...

Francis

> -----Message d'origine-----
> De : Adrian Hicks [mailto:[EMAIL PROTECTED]
> Envoy=E9 : vendredi 11 juin 2004 05:20
> =C0 : [EMAIL PROTECTED]
> Objet : [xmail] smtp connection problems
>=20
>=20
> Hi.
>=20
> For the last few days I've been trying to get a box inside=20
> our firewall to=20
> use our XMail server (outside the firewall) as a gateway for sending=20
> automated messages from our extranet.  The box inside has=20
> Debian sarge &=20
> exim 3.36-11 installed, & exim is set to use the XMail machine as an=20
> outgoing mail gateway.  The XMail machine is Debian Woody=20
> with  XMail 1.18,=20
> upgraded from 1.17.
>=20
> I set up an ID & pass in SMTPAUTH.TAB (I believe that's the=20
> correct file to=20
> use), and also tested using two mail accounts on the XMail machine.
>=20
> After several failed tests I used telnet to connect & have=20
> had inconsistent=20
> results, sometimes getting an ok, sometimes getting a "relay=20
> denied".  And=20
> I've had some connection attempts ok one day and the next day I get a =

> "relay denied" using exactly the same commands, ID & pass.
>=20
> The accounts I have used are ok for relaying with=20
> authentication, & in the=20
> past I have not had these errors.  Also strange is that I can=20
> send mail=20
> outside  through my MUA using the same auth ID & pass with no=20
> problems.
>=20
> Could someone get back to me re. the transcript of the telnet session =

> (below) & let me know if I've got the sequence/commands right=20
> or wrong, and=20
> any other thoughts are appreciated.
>=20
> Thanks in advance
>=20
> -----
> [EMAIL PROTECTED] adrianh]$ telnet merlin 25
> Trying 202.42.186.82...
> Connected to merlin (202.42.186.82).
> Escape character is '^]'.
> 220 <[EMAIL PROTECTED]> [XMail 1.17=20
> (Linux/Ix86) ESMTP=20
> Server] service ready; Fri, 11 Jun 2004 10:28:06 +0800
> ehlo maverick.sing.auston.com
> 250-sing.auston.com
> 250-VRFY
> 250-ETRN
> 250-8BITMIME
> 250-PIPELINING
> 250-AUTH LOGIN PLAIN CRAM-MD5
> 250 SIZE 10485760
> auth login [EMAIL PROTECTED] ************ (password removed)
> 334 VXNlcm5hbWU6
> helo maverick.sing.auston.com
> 334 UGFzc3dvcmQ6
> mail from: <[EMAIL PROTECTED]>
> 501 Syntax error in parameters or arguments
> mail from: <[EMAIL PROTECTED]>
> 250 OK
> rcpt to: <[EMAIL PROTECTED]>
> 550 Relay denied
> -----
>=20
>=20
> Adrian Hicks
> --=20
> MIS & Facilities Manager
> Auston Int'l Group Ltd, Singapore
> 45 Middle Rd, #01-00 Auston Unicentre
>=20
> Tel: (65) 6339 4800 ext. 229
> Fax: (65) 6339 7600
> E-mail: [EMAIL PROTECTED]
>=20
> -
> 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]
>=20
-
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]

Reply via email to