Hi again,
After some tinkering, I fixed the
ERROR:root:No parser implemented for "Data"
It appears that ppymilter uses milter protocol 2, and main.cf had milter
protocol 6 defined. After adjusting main.cf, this error dissapeared.
The other error has also a fix:
https://code.google.com/p/ppymilt
Ok, fixed that:
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
inet_
Andy Kannberg:
> Hi again,
>
> postconf -n looks like this:
>
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> data_directory = /var/lib/postfix
> debug_peer_level =
Hi again,
postconf -n looks like this:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces
> Change permissions to 700 and ran the script. It gave no errors, which is
> good. However, using ss to check which ports are in use doesn't show port
> 12000(Which I would expect)
lsof -Pni :12000
Christian
--
Bachelor of Science Informatik
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F
Andy Kannberg:
> Change permissions to 700 and ran the script. It gave no errors, which is
> good. However, using ss to check which ports are in use doesn't show port
> 12000(Which I would expect)
Maybe you should be looking for "entextxid".
$ grep 12000 /etc/services
entextxid 12000/tcp
Ok, so far I've figured out this:
I added this to the main.cf :
smtpd_milters = inet:localhost:12000
milter_protocol = 6
I used the example script of ppymilter from the Wiki (
https://code.google.com/p/ppymilter/wiki/PPyMilter)
I only modified it to to use tcp port 12000:
#!/usr/bin/python
Hi,
> I am looking how to use ppymilter in Postfix. Using pymilter is explained in
> the Postfix docs ( http://www.postfix.org/MILTER_README.html#config ) , but I
> can't find how to do the same for ppymilter. Anyone can send me in the right
> direction ?
Is pymilter the C-binding version for
Hi,
I am looking how to use ppymilter in Postfix. Using pymilter is explained
in the Postfix docs ( http://www.postfix.org/MILTER_README.html#config ) ,
but I can't find how to do the same for ppymilter. Anyone can send me in
the right direction ?
cheers,
Andy