SMTP external authentication is not worjing
Spon Spon via xmail <[email protected]> Tue, 5 Mar 2019 06:41:27 +0000 (UTC)
| Newsgroups | gmane.mail.xmail.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0150727206== Content-Type: multipart/alternative; boundary="----=_Part_5064169_271842110.1551768087998" Content-Length: 5946 ------=_Part_5064169_271842110.1551768087998 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I have a mixed setup with DOVECAT for IMAP access, and XMAIl 1.27 for the r= est. =C2=A0The relay is cosed until authentication is made In order to have= a centralized place for authentication I used in XMAIL external authentica= tion. =C2=A0However seems it is not working as I receive 550 Relay Denied w= hen I try to send an email using this XMAIL server. The setup is as following: In=C2=A0smtpextauth.tab I put following line: "LOGIN" "/config/scripts/checkSmtpAuth.sh" "@@AUTH" "@@USER" "@@PASS" "@@RF= ILE" In server tab I have:"DefaultSmtpPerms" "MRVZ" In checkSmtpAuth.sh I always exit with 0 for testing. =C2=A0However I recei= ved 550 Relay denied each time I tried to send an email. =C2=A0If the scrip= t exits with 1 then the error is different, (Authentication error).=C2=A0 I tried also populating RFILE with Perms=3DMR but without success. I tried = also with Perms=3DMRVZ . No change. Also another issue is the fact that those RFILE files were never get delete= d. =C2=A0For 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 smtpe= xtauth.tab =C2=A0there is no such error, and everything works as expected. Unfortunately there is no debug log in application, so only way to figure o= ut is DEBUG, and currently it is installed on an embedded router so no way = to debug. =C2=A0 Thanks,Spon ------=_Part_5064169_271842110.1551768087998 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div style=3D"color:#000; background-color:#fff; f= ont-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font= -size:16px"><div id=3D"yui_3_16_0_ym19_1_1551766825845_5605">Hello,</div><d= iv id=3D"yui_3_16_0_ym19_1_1551766825845_5606"><br></div><div dir=3D"ltr" i= d=3D"yui_3_16_0_ym19_1_1551766825845_5607">I have a mixed setup with DOVECA= T for IMAP access, and XMAIl 1.27 for the rest. The relay is cosed un= til authentication is made In order to have a centralized place for authent= ication 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.</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_155176682= 5845_5608"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845= _5609">The setup is as following:</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym= 19_1_1551766825845_5610"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1= _1551766825845_5611">In smtpextauth.tab I put following line:</div><di= v dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5612"><br></div><div di= r=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</sp= an>"/config/scripts/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= _1551766825845_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></div>= <div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5613">In server tab = I have:</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5613">"= DefaultSmtpPerms"<span style=3D"white-space:pre-wrap;" id=3D"yui_3_16_0_ym1= 9_1_1551766825845_5921">=09</span>"MRVZ"<br></div><div dir=3D"ltr" id=3D"yu= i_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 always exit with 0 fo= r testing. However I received 550 Relay denied each time I tried to s= end an email. If the script exits with 1 then the error is different,= (Authentication error). <br></div><div dir=3D"ltr" id=3D"yui_3_16_0_y= m19_1_1551766825845_5616"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_= 1_1551766825845_5616">I tried also populating RFILE with Perms=3DMR but wit= hout success. I tried also with Perms=3DMRVZ . No change.</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">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)= </div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1551766825845_5616"><br></di= v><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"lt= r" id=3D"yui_3_16_0_ym19_1_1551766825845_5616"><br></div><div dir=3D"ltr" i= d=3D"yui_3_16_0_ym19_1_1551766825845_5616">Using internal authentication (s= mtpauth.tab or mailuser.tab) emptying smtpextauth.tab there is no suc= h error, 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 applic= ation, so only way to figure out is DEBUG, and currently it is installed on= an embedded router so no way to debug. </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">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></body></html> ------=_Part_5064169_271842110.1551768087998-- --===============0150727206== 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 --===============0150727206==--