Re: SMTP external authentication is not worjing

Edinilson - ATINET via xmail <[email protected]> Tue, 5 Mar 2019 14:51:09 +0000 (GMT)
Newsgroups gmane.mail.xmail.general
Message-ID <[email protected]>
--===============1018895607==
Content-Type: multipart/alternative;
	boundary="--=_NextPart_d9508bbcd1a7961901d68c4aa4a10a70"

----=_NextPart_d9508bbcd1a7961901d68c4aa4a10a70
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: Quoted-Printable


Is your ip range allowed in smtprelay.tab?
And about smtp.ipmap.tab ?
Do you have installed a new Xmail Server OR it stops after some time of
use?
Edinilson

---- Original Message ----
From: Spon Spon via xmail 
To: "[email protected]" 
Sent: Ter, Mar 5, 2019, 4:44 AM
Subject: [xmail] SMTP external authentication is not worjing

Hello,
I have a mixed setup with DOVECAT for IMAP access, and XMAIl 1.27 for th=
e
rest.  The relay is cosed until authentication is made In order to have =
a
centralized place for authentication I used in XMAIL external
authentication.  However seems it is not working as I receive 550 Relay
Denied when I try to send an email using this XMAIL server.
The setup is as following:
In smtpextauth.tab I put following line:
"LOGIN" "/config/scripts/checkSmtpAuth.sh" "@@AUTH" "@@USER" "@@PASS"
"@@RFILE"
In server tab I have:"DefaultSmtpPerms" "MRVZ"

In checkSmtpAuth.sh I always exit with 0 for testing.  However I receive=
d
550 Relay denied each time I tried to send an email.  If the script exit=
s
with 1 then the error is different, (Authentication error). 

I tried also populating RFILE with Perms=3DMR but without success. I tri=
ed
also with Perms=3DMRVZ . No change.
Also another issue is the fact that those RFILE files were never get
deleted.  For each email, that file is created and stays there forever
(need external action to delete it)
Is there any other settings that need to be made or is this a bug ?
Using internal authentication (smtpauth.tab or mailuser.tab) emptying
smtpextauth.tab  there is no such error, and everything works as expecte=
d.
Unfortunately there is no debug log in application, so only way to figur=
e
out is DEBUG, and currently it is installed on an embedded router so no =
way
to debug.  
Thanks,Spon


----=_NextPart_d9508bbcd1a7961901d68c4aa4a10a70
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: Quoted-Printable

<html><body><font face=3D"Tahoma" size=3D"2"><div>Is your ip range allow=
ed in smtprelay.tab?</div><div><br></div><div>And about smtp.ipmap.tab ?=
</div><div><br></div><div>Do you have installed a new Xmail Server OR it=
 stops after some time of use?</div><div><br></div><div><br></div><div>E=
dinilson<br></div><br><blockquote style=3D"border-left: solid 2px #00000=
0; margin-left: 5px; padding-left: 5px">---- Original Message ----<br><b=
>From</b>: Spon Spon via xmail &lt;[email protected]&gt;<br><b>To</b=
>: "[email protected]" &lt;[email protected]&gt;<br><b>Sent</b>:=
 Ter, Mar 5, 2019, 4:44 AM<br><b>Subject</b>: [xmail] SMTP external auth=
entication is not worjing<br><br><div style=3D"color:#000; background-co=
lor:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, s=
ans-serif;font-size:16px"><div id=3D"yui_3_16_0_ym19_1_1551766825845_560=
5">Hello,</div><div id=3D"yui_3_16_0_ym19_1_1551766825845_5606"><br></di=
v><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5607">I have a =
mixed setup with DOVECAT for IMAP access, and XMAIl 1.27 for the rest. &=
nbsp;The relay is cosed until authentication is made In order to have a =
centralized place for authentication I used in XMAIL external authentica=
tion. &nbsp;However seems it is not working as I receive 550 Relay Denie=
d when I try to send an email using this XMAIL server.</div><div dir=3D"=
ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5608"><br></div><div dir=3D"l=
tr" id=3D"yui_3_16_0_ym19_1_1551766825845_5609">The setup is as followin=
g:</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5610"><br=
></div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5611">In&n=
bsp;smtpextauth.tab I put following line:</div><div dir=3D"ltr" id=3D"yu=
i_3_16_0_ym19_1_1551766825845_5612"><br></div><div dir=3D"ltr" id=3D"yui=
_3_16_0_ym19_1_1551766825845_5613">"LOGIN"<span style=3D"white-space:pre=
-wrap;" id=3D"yui_3_16_0_ym19_1_1551766825845_5588">=09</span>"/config/s=
cripts/checkSmtpAuth.sh"<span style=3D"white-space:pre-wrap;" id=3D"yui_=
3_16_0_ym19_1_1551766825845_5589">=09</span>"@@AUTH"<span style=3D"white=
-space:pre-wrap;" id=3D"yui_3_16_0_ym19_1_1551766825845_5590">=09</span>=
"@@USER"<span style=3D"white-space:pre-wrap;" id=3D"yui_3_16_0_ym19_1_15=
51766825845_5591">=09</span>"@@PASS"<span style=3D"white-space:pre-wrap;=
" id=3D"yui_3_16_0_ym19_1_1551766825845_5592">=09</span>"@@RFILE"<br></d=
iv><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5613">In serve=
r tab I have:</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_155176682584=
5_5613">"DefaultSmtpPerms"<span style=3D"white-space:pre-wrap;" id=3D"yu=
i_3_16_0_ym19_1_1551766825845_5921">=09</span>"MRVZ"<br></div><div dir=3D=
"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5615"><br></div><div dir=3D"=
ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5616">In checkSmtpAuth.sh I a=
lways exit with 0 for testing. &nbsp;However I received 550 Relay denied=
 each time I tried to send an email. &nbsp;If the script exits with 1 th=
en the error is different, (Authentication error).&nbsp;<br></div><div d=
ir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5616"><br></div><div di=
r=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5616">I tried also popul=
ating RFILE with Perms=3DMR but without success. I tried also with Perms=
=3DMRVZ . No change.</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_15517=
66825845_5616"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_155176=
6825845_5616">Also another issue is the fact that those RFILE files were=
 never get deleted. &nbsp;For each email, that file is created and stays=
 there forever (need external action to delete it)</div><div dir=3D"ltr"=
 id=3D"yui_3_16_0_ym19_1_1551766825845_5616"><br></div><div dir=3D"ltr" =
id=3D"yui_3_16_0_ym19_1_1551766825845_5616">Is there any other settings =
that need to be made or is this a bug ?</div><div dir=3D"ltr" id=3D"yui_=
3_16_0_ym19_1_1551766825845_5616"><br></div><div dir=3D"ltr" id=3D"yui_3=
_16_0_ym19_1_1551766825845_5616">Using internal authentication (smtpauth=
..tab or mailuser.tab) emptying smtpextauth.tab &nbsp;there is no such er=
ror, and everything works as expected.</div><div dir=3D"ltr" id=3D"yui_3=
_16_0_ym19_1_1551766825845_5616"><br></div><div dir=3D"ltr" id=3D"yui_3_=
16_0_ym19_1_1551766825845_5616">Unfortunately there is no debug log in a=
pplication, so only way to figure out is DEBUG, and currently it is inst=
alled on an embedded router so no way to debug. &nbsp;</div><div dir=3D"=
ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5616"><br></div><div dir=3D"l=
tr" id=3D"yui_3_16_0_ym19_1_1551766825845_5616">Thanks,</div><div dir=3D=
"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5616">Spon</div><div dir=3D"=
ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5616"><br></div></div></block=
quote></font></body></html>

----=_NextPart_d9508bbcd1a7961901d68c4aa4a10a70--



--===============1018895607==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail

--===============1018895607==--