Hello everybody,

I'm a more or less advanced qmail-user and therefore I'm always
trying new things with qmail. Now that I make use of iptables under
Linux (2.4.9) I thought about doing traffic accounting for qmail on my
RH 7.1 box.

As I first thought about it, it seemed rather simple but as I try to
realize this it gets complicated.

As I want to account incoming as well as outgoing traffic I defined four
rules for iptables:

1.) Incoming packets going to port 25/tcp (ACCEPT)
2.) Incoming packets going to port 110/tcp (ACCEPT)
3.) Outgoing packets going to port 25/tcp (ACCEPT)
4.) Outgoing packets comming from port 25/tcp (ACCEPT)

I know that this does not yet achive what I am trying to do but this is as
far as I have come.

I know that due to TCP mechanism and the local port allocation this might
not be working at all but I thought I ask some of our pro's on the list :-)

Regards,
Lordy

Reply via email to