Hi people.
This is for those who use the courier-pythonfilter dialback module to
verify the sender.

Two days ago I have activated it and today I got blacklisted into the CBL
DNS blacklist (http://cbl.abuseat.org/)

This is apparently because of the way the dialback module connects to the
DNS MX rr of the sender to verify if it can accept responses.

Dialback module uses the smtp helo() method without parameters, so the
remote smtp server see "HELO localhost.localdomain" in my case.

   154             (code, reply) = smtpi.helo()

To fix the problem it should be ok to use a valid FQDN, something like:

   154             (code, reply) = smtpi.helo("mail.foo.bar")

Should be nice if dialback passes the content of the file courier/etc/me
to the helo() method to try to avoid such problems.


# dialback.py _SNIPPET_

    153         try:
    154             (code, reply) = smtpi.helo()
    155             if code // 100 != 2:
    156                 # Save the error message.  If no other servers are
available,
    157                 # inform the sender, but don't save the sender as
bad.
    158                 filterReply = '421 %s rejected the HELO command' %
MX[1]
    159                 smtpi.close()
    160                 continue
    161         except:

Ciao, Dino Ciuffetti.


____________________________________
REplat offre il nuovo servizio "Ricerca Personale" per le Agenzie Aderenti 
consultabile direttamente dall'area riservata e dal portale, alla voce "Lavora 
con Noi".


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to