Re: MX/ISP BLOCK
Rejaine Silveira Monteiro <[email protected]> Fri, 8 Feb 2019 14:00:40 -0200
| Newsgroups | gmane.mail.qmail.general |
|---|---|
| Message-ID | <CAMTrDfXL1apZhwd4G1A+unZ+dVrqzHk2N3cN5U2YAqOfXQQYcA@mail.gmail.com> |
well .. the idea of putting the domains in smtproutes like (somedomain.com.br:127.0.0.2) seems to be working. the only problem is that I have to discover wich domains in the queue are using this Isp and then refresh smtproutes manually Em sex, 8 de fev de 2019 às 13:53, Erwin Hoffmann <[email protected]> escreveu: > > Hi, > > > > Am 08.02.2019 um 16:44 schrieb Rejaine Silveira Monteiro <[email protected]>: > > > > > > there are thousands of domains that use this ISP and there is no way to know all domains. I thought about putting the mx ips of that isp in the badrcptto, but it does not seem to be working ... the messages continue to fall in line and stay there, delaying the other deliveries, because they are many! > > > > In case your mail server is running on Linux, I would consider to use iptables to re-write the outgoing IP address to the IP address of the qmail instance Robert and me were talking about. > > The very same idea can actually used on other Unix systems as well (using a host route). > > Hope that helps. > --eh. > > > > > Em sex, 8 de fev de 2019 às 13:31, Erwin Hoffmann <[email protected]> escreveu: > > Hi Rejaine, > > > > > > > Am 08.02.2019 um 16:12 schrieb Rejaine Silveira Monteiro <[email protected]>: > > > > > > Is there any way to temporarily block or ignore all mails sending > > > (qmail-send) to a particular MX (ISP)? There is an internet provider > > > in Brazil that is widely used by thousands of customers (locaweb). > > > This ISP is off the air and hundreds of messages from multiple clients > > > are standing in line. The problem is that this is generating a huge > > > delay in delivering to other customers of other ISPs. > > > > As already pointed out: > > > > 1. Setup a second qmail instance. > > > > 2. Reroute these particular emails (identified by their forwarding path domain name) to this instance. > > > > Lets say: example.com:127.0.0.2 > > > > qmail-smtpd has to run here (listening on IP 127.0.0.2) ; but not qmail-send. > > > > Your original queue will be emptied and happily forward the other mails waiting. > > > > Once the provider responsible for those mails is up again, start qmail-send on your 2nd instance. > > > > Regards. > > --eh. > > > > > > > > -- > > > *Esta mensagem pode conter informações confidenciais ou privilegiadas, > > > sendo seu sigilo protegido por lei. Se você não for o destinatário ou a > > > pessoa autorizada a receber esta mensagem, não pode usar, copiar ou > > > divulgar as informações nela contidas ou tomar qualquer ação baseada nessas > > > informações. Se você recebeu esta mensagem por engano, por favor avise > > > imediatamente ao remetente, respondendo o e-mail e em seguida apague-o. > > > Agradecemos sua cooperação.* > > > > > > > Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id 7E4034BE > > > > > > > > > > > > > > > > > > Esta mensagem pode conter informações confidenciais ou privilegiadas, sendo seu sigilo protegido por lei. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente ao remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperação. > > Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id 7E4034BE > > > > > > > -- *Esta mensagem pode conter informações confidenciais ou privilegiadas, sendo seu sigilo protegido por lei. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente ao remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperação.*