Article View: alt.privacy.anon-server
Article #304574Re: YAMNclient v0.2.8 is out
From: Zax
Date: Sat, 11 May 2019 13:31
Date: Sat, 11 May 2019 13:31
79 lines
3886 bytes
3886 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sat, 11 May 2019 06:42:20 -0500, inwtx wrote in
Message-Id: <qb6cet$4ks$1@news.mixmin.net>:
> [Mail]
> Username
> Password
>
> but no parameter/switch in mail.go to stop it from doing an AUTH check. I (disclaimer: don't think) can't get YAMNclient to get around this check without delimiting out the AUTH section in mail.go and yamn seems to bomb every time I execute it with YAMNclient. We need another parameter in yamn.cfg to tell mail.go to ignore AUTH.
>
> Here is code I have to delimiter:
>
> // If AUTH is supported and a UserID and Password are configured, try to
> // authenticate to the remote MTA.
>
> //del ok, _ = client.Extension("AUTH")
> //del if ok && cfg.Mail.Username != "" && cfg.Mail.Password != "" {
> //del auth := smtp.PlainAuth(
> //del "",
> //del cfg.Mail.Username,
> //del cfg.Mail.Password,
> //del cfg.Mail.SMTPRelay,
> //del )
> //del if err = client.Auth(auth); err != nil {
> //del Warn.Printf("Auth Error: Server=%s, Error=%s", serverAddr, err)
> //del return
> //del }
> //del }
Can you give me some more details on your scenario? For the AUTH
section to be parsed, it requires AUTH to be supported and Username and
Password to be defined in the config.
> -- and --
>
> // sendmail invokes go's sendmail method
> func sendmail(payload []byte, sendTo []string) (err error) {
> // auth := smtp.PlainAuth(
> //del "",
> //del cfg.Mail.Username,
> //del cfg.Mail.Password,
> //del cfg.Mail.SMTPRelay)
> relay := fmt.Sprintf("%s:%d", cfg.Mail.SMTPRelay, cfg.Mail.SMTPPort)
> //del err = smtp.SendMail(relay, auth, cfg.Remailer.Address, sendTo, payload)
> err = smtp.SendMail(relay, nil, cfg.Remailer.Address, sendTo, payload)
> if err != nil {
> Warn.Println(err)
> return
> }
> return
> }
I suggest setting Sendmail=False in your mail config while we work to
debug your problem. If we can solve it in the SMTPRelay function, maybe
then I can retro-fit it into the Sendmail function.
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEJHudPu4ysYQcZBcigyyPTc2QQmMFAlzWzrAACgkQgyyPTc2Q
QmPyVA/+IDQl19k36Zrw3p95dFL2IYgOUrsxbFAkfewYYzowALjEIznhPFc6vxj8
DVDd9yXmSmuiPvtAih1waktv+rlbAXU79Udb5BGsC7s1qlBZjJiAAvy/Xq0jG4u6
3tzJ/9kLRg9Nei1cHdzCr5MV08mIXacwXPnBpuC9yzgW3w+FZXSz2qoI1kCluTOi
XjVeLOKKEsxGSFeostM7zjZ6xddiy7KYRna53FRX3kF7IRQKljn6d10Md5Nmt7PE
5gwIGrWyEuEwqLCXyYWqfnp/ohpvmWnkxYCpljxXEW2+s85IBLxpr9z821Vx+atc
viJ0L7tl8g4BWEH6aUFo5AE4gugXuMQD6VdFQEWloZIc2TmM2tBpKNivj+yanJd3
n7XhDTOK4OPCzMTvi4R1x1RSef8CmRePLV01VLdXcogQgsEMLSfm8xGNAzNFP/iY
ijkPhlt7tFg5pIGOT8cPLfkNizrbLJJauuVn25xKbUdosQnquxTnVm9k9UwyR6sf
+Pm8+R4nR2zyh7CVaBcWx1aPqrZ1gNBgiAf+7eQB20FcfuoRAmWFAnnEigG1D5IV
ymqKx3Pl2RGpZeMxs5I1vxCXobms3gO4asyCVu3UWlpjFlV21HIcRtGNRdFu2E6k
QYBtXx1/BV44/9P8i8ZrGF7PeLS/GuImXaHKvwirlkymtIdV1BA=
=+0xY
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
ssb rsa4096/832C8F4DCD904263 created: 2019-05-04 expires: 2024-05-02 usage: S
Technical Details
Message-ID:
<slrnqddjli.u39.admin@fleegle.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<slrnqdd5dl.u39.admin@fleegle.mixmin.net> <qb6cet$4ks$1@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnqddjli.u39.admin@fleegle.mixmin.net> Subject: Re: YAMNclient v0.2.8 is out Date: Sat, 11 May 2019 13:31:30 +0000 From: Zax <admin@mixmin.net> References: <slrnqdd5dl.u39.admin@fleegle.mixmin.net> <qb6cet$4ks$1@news.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Sat, 11 May 2019 13:31:30 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="bdf18d9e8138a073bb450e983b794af46e205557"; User-Agent: slrn/pre1.0.4-2 (Linux) Lines: 78