[Pymilter] IPv6

Marcel Koopmans marcel.koopmans at elysium-os.nl
Tue Mar 1 06:22:36 EST 2011


Hello Everybody,

I am tying to find an SPF milter that works with sendmail then does actually work with IPv6.

My result so far is that pymilter seems to fail.
I use stock Debian 6.0 on AMD64
 
spfmilter.cfg:

internal_connect = 127.0.0.1,172.20.1.0/24,[2001:610:779::]/48

sendmail config:

INPUT_MAIL_FILTER(`milter', `S=unix:/var/run/spf-milter-python/spfmiltersock, F=T, T=S:240s;R:240s;E:5m')dnl

SPF Record:

"v=spf1 +ip4:84.53.110.135/32 +ip6:2001:610:779::/48 -all"
This should be "v=spf1 +ip4:84.53.110.135/32 +ip6:2001:610:779::A/128 -all" once I can whitelist my internal computers ( [2001:610:779::]/48 )

mail.log:

Mar  1 12:02:37 styx sm-mta[10236]: restarting /usr/sbin/sendmail-mta due to signal
Mar  1 12:02:37 styx sm-mta[12565]: starting daemon (8.14.3): SMTP+queueing at 00:10:00
Mar  1 12:02:52 styx spfmilter: pyspffilter: milter claimed not to reply in state 2 but did anyway 4
Mar  1 12:02:52 styx spfmilter: [1] hello from [IPv6:2001:610:779::223:6cff:fe9a:9cf3]
Mar  1 12:02:52 styx sm-mta[12580]: STARTTLS=server, relay=[IPv6:2001:610:779:0:223:6cff:fe9a:9cf3], version=TLSv1/SSLv3, verify=NOT, cipher=AES128-SHA, bits=128/128
Mar  1 12:02:52 styx spfmilter: [1] hello from [IPv6:2001:610:779::223:6cff:fe9a:9cf3]
Mar  1 12:02:52 styx spfmilter: [1] mail from <marcel.koopmans at elysium-os.nl> ()
Mar  1 12:02:52 styx sm-mta[12580]: p21B2qgi012580: Milter: from=<marcel.koopmans at elysium-os.nl>, reject=451 4.3.0 Filter failure
Mar  1 12:02:52 styx sm-mta[12580]: p21B2qgi012580: from=<marcel.koopmans at elysium-os.nl>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v6, relay=[IPv6:2001:610:779:0:223:6cff:fe9a:9cf3]

Marcel Koopmans

Elysium Open Systems
Wijdstraat 23
3421AJ Oudewater
Tel:		0348-560210
GSM:	06-51174110
email:	marcel.koopmans at elysium-os.nl








More information about the Pymilter mailing list