om the smtp. Thanks,AndyFrom: Ingo Claro [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 18:12 To: vchkpw@inter7.com Subject: Re: [vchkpw] Unwanted Local Delivery to get only the domains that don't matches you should do: host -t MX $i | egrep "mail1.t
06 21:24
To: vchkpw@inter7.com
Subject: Re: [vchkpw] Unwanted Local Delivery
On May 19, 2006, at 11:13 AM, Andy BIERLAIR wrote:
> So you say that there is no option to simply switch off local delivery
> and treat everything as coming from the outside? I guess I have to
> live with that :
On May 19, 2006, at 11:13 AM, Andy BIERLAIR wrote:
So you say that there is no option to simply switch off local delivery
and treat everything as coming from the outside? I guess I have to
live with that :)
How would I do the script based idea below realtime based? I mean,
each time an email
.
Thanks,
Andy
From: Ingo Claro [mailto:[EMAIL PROTECTED]
Sent: Friday, May 19, 2006 18:12
To: vchkpw@inter7.com
Subject: Re: [vchkpw] Unwanted
Local Delivery
to get only the domains that don't matches you should
do:
host -t MX $i | egrep
"mail1.thiscouldbeme
Title: Ingo Claro
to get only the domains that don't matches you should do:
host -t MX $i | egrep
"mail1.thiscouldbeme.com|mail2.thiscouldbemetoo.com" > /dev/null
2>&1 || echo $i
regards,
Ingo
Claro F.
Gerente de Operaciones
for i in `cat /var/qmail/control/{more,}rcpthosts`; do host -t MX $i | egrep "mail1.thiscouldbeme.com|mail2.thiscouldbemetoo.com" 2>&1 || echo $idoneDone- will echo everything that does not include your _expression_ in its MX record. If it has no matches, grep exits 1 and will trigger the echo.
On May 19, 2006, at 12:46 AM, Andy BIERLAIR wrote:
How can I force vpopmail/qmail to deliver it to the right MX instead
to a
local zombie domain?
You can't.
You possibly need to write an auditing program that goes through the
domains in your rcpthosts and morercpthosts and makes a list of do