Re: reverse hostname (ok) - fw dns query (ko) - unknow

2010-07-14 Thread Amedeo Rinaldo

Il 14/07/2010 04:57, Sahil Tandon ha scritto:

On Wed, 2010-07-14 at 04:50:11 +0200, Amedeo Rinaldo wrote:


..[CUT]..
Is there a simple way to get the reverse hostname back ?


http://www.postfix.org/postconf.5.html#check_reverse_client_hostname_access



..so simple :) Thank you Sahil ..

But.. now i remember.. the reason i 'skipped' that restriction type is 
that i'm testing on debian lenny (so .. postfix 2.5.5-1.1 ) and that 
feature is only available in Postfix 2.6 and later.

It's only 2-3 days i'm testing postfix 2.7.1: it works like a charm :)

Is there a way to get the rDSN also in Postfix  2.6 ?

Have a nice day..

---
Amedeo Rinaldo

*La vita รจ un biscotto ma se piove si scioglie*






Re: reverse hostname (ok) - fw dns query (ko) - unknow

2010-07-14 Thread Noel Jones

On 7/14/2010 10:21 AM, Amedeo Rinaldo wrote:

Il 14/07/2010 04:57, Sahil Tandon ha scritto:

On Wed, 2010-07-14 at 04:50:11 +0200, Amedeo Rinaldo wrote:


..[CUT]..
Is there a simple way to get the reverse hostname back ?


http://www.postfix.org/postconf.5.html#check_reverse_client_hostname_access




..so simple :) Thank you Sahil ..

But.. now i remember.. the reason i 'skipped' that restriction
type is that i'm testing on debian lenny (so .. postfix
2.5.5-1.1 ) and that feature is only available in Postfix 2.6
and later.
It's only 2-3 days i'm testing postfix 2.7.1: it works like a
charm :)

Is there a way to get the rDSN also in Postfix  2.6 ?


The other option is to use a policy service; they have access 
to the unverified rDNS hostname.  You can probably convince 
postfwd to do this for you.

http://www.postfix.org/SMTPD_POLICY_README.html
http://postfwd.org/

Or you can patch the postfix source manually to add the 
feature.  The patch has been posted to this list and should 
work without too much trouble on 2.5.



  -- Noel Jones


Re: reverse hostname (ok) - fw dns query (ko) - unknow

2010-07-13 Thread Sahil Tandon
On Wed, 2010-07-14 at 04:50:11 +0200, Amedeo Rinaldo wrote:

 when a client has a reverse hostname but the corresponding fw dns
 query doesn't exists .. here a sample..
 
 94.96.8.3 - reverse lookup - 94.96.8.3.dynamic.saudi.net.sa.
 94.96.8.3.dynamic.saudi.net.sa. - fw lookup - NXDOMAIN
 
 ..postfix pass to me 'unknown[94.96.8.3]' and i cannot parse the
 existent reverse hostname in the PCREs rules.
 
 Is there a simple way to get the reverse hostname back ?

http://www.postfix.org/postconf.5.html#check_reverse_client_hostname_access

-- 
Sahil Tandon sa...@freebsd.org