Re: GDBM - Querying per domain
Miguel Ângelo Santos Pereira <[email protected]> Mon, 29 Jan 2018 07:25:57 +0000
| Newsgroups | gmane.mail.perdition.user |
|---|---|
| Message-ID | <CANvYdV=3yLOQHE9pPZii2U+t3f0LBWwum2Jb-xz6TJeNuPSxKw@mail.gmail.com> |
--===============2113261986== Content-Type: multipart/alternative; boundary="94eb2c04259041e10c0563e528c4" --94eb2c04259041e10c0563e528c4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Howdy folks, Got this to work properly. I wish there was a function to lookup the mx server and redirect to that one. Would avoid creating a huge list of domains, and automating with bash to create the popmap file. Nevertheless, perdition works great, only issue is SSL/TLS not working properly, but I will get on it ASAP. Cheers! 2018-01-28 17:09 GMT+00:00 Matthias Hunstock < [email protected]>: > Am 27.01.2018 um 22:12 schrieb Miguel =C3=82ngelo Santos Pereira: > > Is this somehow possible? Exporting a domains list and a server is > > alright, however, emails are being created every minute, so we need to > > map the server as per the domain only, not the full username/email. > > > According to the man page, you could use the "query_key" option and give > it a value of \d which corresponds to just the domain. > > Then in your popmap entries should look like: > > > webmasterd.com:one.mxroute.com:110 > ola.com:eagle.mxlogin.com:110 > > > and so on. You can also define multiple query keys so you might have > entries for some specific complete usernames. > > Regards > Matthias > > ______________________________________________ > Perdition-users mailing list > [email protected] > https://lists.vergenet.net/listinfo/perdition-users > --=20 *Com os meus melhores cumprimentos,* *Best Regards,* *Miguel =C3=82ngelo Santos Pereira* --94eb2c04259041e10c0563e528c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Howdy folks,<div><br>Got this to work properly. I wish the= re was a function to lookup the mx server and redirect to that one. Would a= void creating a huge list of domains, and automating with bash to create th= e popmap file.</div><div><br></div><div>Nevertheless, perdition works great= , only issue is SSL/TLS not working properly, but I will get on it ASAP.</d= iv><div><br>Cheers!</div></div><div class=3D"gmail_extra"><br><div class=3D= "gmail_quote">2018-01-28 17:09 GMT+00:00 Matthias Hunstock <span dir=3D"ltr= "><<a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>></span>:<br><blockquote class=3D"gma= il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef= t:1ex"><span class=3D"">Am 27.01.2018 um 22:12 schrieb Miguel =C3=82ngelo S= antos Pereira:<br> > Is this somehow possible? Exporting a domains list and a server is<br> > alright, however, emails are being created every minute, so we need to= <br> > map the server as per the domain only, not the full username/email.<br= > ><br> </span>According to the man page, you could use the "query_key" o= ption and give<br> it a value of \d which corresponds to just the domain.<br> <br> Then in your popmap entries should look like:<br> <br> <br> webmasterd.com:o<a href=3D"http://ne.mxroute.com:110" rel=3D"noreferrer" ta= rget=3D"_blank">ne.mxroute.<wbr>com:110</a><br> ola.com:e<a href=3D"http://agle.mxlogin.com:110" rel=3D"noreferrer" target= =3D"_blank">agle.mxlogin.com:110</a><br> <br> <br> and so on. You can also define multiple query keys so you might have<br> entries for some specific complete usernames.<br> <br> Regards<br> <span class=3D"HOEnZb"><font color=3D"#888888">Matthias<br> </font></span><div class=3D"HOEnZb"><div class=3D"h5"><br> ______________________________<wbr>________________<br> Perdition-users mailing list<br> <a href=3D"mailto:[email protected]">[email protected]= t</a><br> <a href=3D"https://lists.vergenet.net/listinfo/perdition-users" rel=3D"nore= ferrer" target=3D"_blank">https://lists.vergenet.net/<wbr>listinfo/perditio= n-users</a><br> </div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>= <div class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir= =3D"ltr"><div><b>Com os meus melhores cumprimentos,</b></div><div><b>Best R= egards,</b></div><div><b><font color=3D"#000000"><br></font></b></div><b><f= ont color=3D"#000000">Miguel =C3=82ngelo Santos Pereira</font></b><br></div= ></div> </div> --94eb2c04259041e10c0563e528c4-- --===============2113261986== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpQZXJkaXRpb24t dXNlcnMgbWFpbGluZyBsaXN0ClBlcmRpdGlvbi11c2Vyc0B2ZXJnZW5ldC5uZXQKaHR0cHM6Ly9s aXN0cy52ZXJnZW5ldC5uZXQvbGlzdGluZm8vcGVyZGl0aW9uLXVzZXJzCg== --===============2113261986==--